Create sku-list
Creates a sku-list with the target products that are exempted from discounts to be applied.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
SkuList name or title
Applicable scope of skulist
PRODUCT_PRICE
, SHIPPING_PRICE
Start date of sku-list. From this date, the products provided in the SKU list will be exempted from being discounted. The value must be in the future.
End date of sku-list. The value must be greater than the start date. From this date the products mentioned in the SKU list will again be applicable for discount to be applied.
Type of skulist
GLOBAL_EXCLUSION
true: sku-list is deleted<br /> false: sku-list is not deleted
Creation date of the record
Last updated date of the record
Response
fabric database objectId of the record
SkuList name or title
Type of skulist
GLOBAL_EXCLUSION
Applicable scope of skulist
PRODUCT_PRICE
, SHIPPING_PRICE
Array of products to be exempted from being discounted
Start date of sku-list. The value must be in the future. It indicates the date from when the discount will not be applicable to the products mentioned in the sku-list.
End date of sku-list. The value must be greater than the start date. It indicates the date from when discount be applicable to the products mentioned in the sku-list.
true: sku-list is deleted<br /> false: sku-list is not deleted
Creation date of the record
Last updated date of the record
Was this page helpful?