Updates a Promotion by idAsk AIput https://testapi.imis.com/Asi.Scheduler_SDKDemo/api/Promotion/{PromotionId}Updates an instance of Promotion by idPath ParamsPromotionIdstringrequiredId of Promotion to be UpdatedBody ParamsPromotion to be Updated$typestringDefaults to Asi.Soa.Commerce.DataContracts.PromotionData, Asi.ContractsThe DataType must be "Asi.Soa.Commerce.DataContracts.PromotionData, Asi.Contracts"BeginDatedate-timeGets or sets the begin date.EndDatedate-timeGets or sets the end date.IsImplicitbooleanDefaults to falseGets or sets whether to apply promotion automatically.truefalseItemClassPromotionDetailsarray of objectsItem class promotion detail collection.ItemClassPromotionDetailsADD objectItemPromotionDetailsarray of objectsItem promotion detail collection.ItemPromotionDetailsADD objectMaximumDiscountsAllowedPerItemPromotionint32The maximum number of items that can be discounted within one transationOrderPromotionDetailsobjectSpecial price rule.OrderPromotionDetails objectPromotionCodestringGets or sets the promotion code.PromotionDiscountTypestringenumDefaults to ItemClassDiscountThe discount type for the promotionItemClassDiscountItemDiscountOrderDiscountNoneRequiredPurchaseItemDiscountAllowed:ItemClassDiscountItemDiscountOrderDiscountNoneRequiredPurchaseItemDiscountPromotionIdstringGets or sets the promotion id.PromotionNamestringA user friendly name for the promotion.PurchaseItemDetailsarray of objectsItem promotion detail collection.PurchaseItemDetailsADD objectRequiredPurchaseItemQuantityobjectRepresents a quantity. For instance an line item order quantity.RequiredPurchaseItemQuantity objectResponse 200The request was successful.Updated about 7 years ago