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.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Body
SkuList name or title
"GlobalExc_1"
Applicable scope of skulist
Product_Price ensures that the item SKU is
PRODUCT_PRICE
, SHIPPING_PRICE
Details of the products that are not considered to be discounted
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.
"2022-05-04T09:23:51.459Z"
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.
"2099-12-31T00:00:00.000Z"
Type of skulist
GLOBAL_EXCLUSION
"GLOBAL_EXCLUSION"
true: sku-list is deleted<br /> false: sku-list is not deleted
false
Creation date of the record
"2020-12-14T12:15:43.646Z"
Last updated date of the record
"2021-12-14T12:15:43.646Z"
Response
fabric database objectId of the record
"614b58924e92f6861ac9d43b"
SkuList name or title
"GlobalExc_1"
Type of skulist
GLOBAL_EXCLUSION
"GLOBAL_EXCLUSION"
Applicable scope of skulist
PRODUCT_PRICE
, SHIPPING_PRICE
Array of products to be exempted from being discounted
Details of the products that are not considered to be 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.
"2022-05-04T09:23:51.459Z"
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.
"2099-12-31T00:00:00.000Z"
true: sku-list is deleted<br /> false: sku-list is not deleted
false
Creation date of the record
"2020-12-14T12:15:43.646Z"
Last updated date of the record
"2021-12-14T12:15:43.646Z"
Was this page helpful?