Creates a Promotion

Creates an instance of Promotion

Body Params

Promotion to be Created

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.

Responses
200

The request was successful.

201

The resource was successfully created.

202

The resource was asynchronously created.

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.