Updates a Promotion by id

Updates an instance of Promotion by id

Path Params
string
required

Id of Promotion to be Updated

Body Params

Promotion to be Updated

string
Defaults to Asi.Soa.Commerce.DataContracts.PromotionData, Asi.Contracts

The DataType must be "Asi.Soa.Commerce.DataContracts.PromotionData, Asi.Contracts"

date-time

Gets or sets the begin date.

date-time

Gets or sets the end date.

boolean
Defaults to false

Gets or sets whether to apply promotion automatically.

ItemClassPromotionDetails
array of objects

Item class promotion detail collection.

ItemClassPromotionDetails
ItemPromotionDetails
array of objects

Item promotion detail collection.

ItemPromotionDetails
int32

The maximum number of items that can be discounted within one transation

OrderPromotionDetails
object

Special price rule.

string

Gets or sets the promotion code.

string
enum
Defaults to ItemClassDiscount

The discount type for the promotion

Allowed:
string

Gets or sets the promotion id.

string

A user friendly name for the promotion.

PurchaseItemDetails
array of objects

Item promotion detail collection.

PurchaseItemDetails
RequiredPurchaseItemQuantity
object

Represents a quantity. For instance an line item order quantity.

Response
200

The request was successful.

Language
Credentials
OAuth2
Response
Click Try It! to start a request and see the response here!

Contact us
Copyright © Advanced Solutions International, All rights reserved.