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.

SecurityAuthorizationToken
Request
header Parameters
required
object

Valid JSON object that must contain account, stage, date, and channel attributes. eg - {"stage":"prod","account":"5f328bf0b","date":"2020-12-12T08:00:00.000Z","channel":12}

Authorization
required
string

Authorization token or access token for the user, provided by fabric. It can be obtained after logging into fabric's copilot account.

Example: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body schema: application/json
fileName
string

Name of the file to upload

price (string) or price-range (string) or price-range-sku (string)

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

Enum: "price" "price-range" "price-range-sku"
Responses
200

OK

400

Bad Request

500

Internal Server Error

post/api-pim/item/upload-url
Request samples
application/json
{
  • "fileName": "file1.csv",
  • "type": "price"
}
Response samples