Generate URL to bulk upload price details
This endpoint lets you generate a secured S3 URL using which you can upload the CSV file containing price details. Ensure that all the headers and values in the CSV file are double-quoted. After a file is uploaded, it is processed internally to apply bulk changes to price details.
Note: The maximum number of rows with price records to upload per CSV file is 5000.
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
Name of the file to upload
Folder to save the csv files; depending on this will trigger one or other event
price
, price-range
, price-range-sku
Response
URL to upload the CSV. The URL is valid for 5 minutes.
Key ID associated with the file