POST
/
api-pim
/
item
/
upload-url

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

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

application/json
fileName
string

Name of the file to upload

type

Folder to save the csv files; depending on this will trigger one or other event

Available options:
price,
price-range,
price-range-sku

Response

200 - application/json
url
string

URL to upload the CSV. The URL is valid for 5 minutes.

keyId
string

Key ID associated with the file