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
Name of the file to upload
"file1.csv"
Folder to save the csv files; depending on this will trigger one or other event
price: Folder to upload the CSV to apply bulk changes to normal or current offer prices. The CSV to be uploaded must have following columns:
-
SKU ID:
RequiredSKU of the item. -
Cost:
RequiredCost of the item. -
Price:
RequiredBase price of the item. -
Clearance Price:
OptionalSale price of the item. -
Start Date(UTC):
RequiredFrom this start date, the current price will be available. The format must beYYYY-MM-DDThh:mm:ssZ. For example,2021-08-31T17:09:18.407Z. The date has to be greater than the current date. -
Price List Id:
RequiredPrice list ID for the price.
CSV Example:
SKU ID,Cost,Price,Clearance Price,Start Date(UTC),Price List
Id
COFFEE,10,25,15,2021-08-31T17:09:18.407Z,100000The result of the upload will be saved on import history.
price, price-range, price-range-sku "price"
