Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
24
The sales channel ID.
"12"
A unique request ID.
"263e731c-45c8-11ed-b878-0242ac120002"
Body
A sample request containing file details be uploaded to the generated URL.
The name of the file to be uploaded.
"file1.csv"
Type of data in the file. The data provided in the file must match with type for successful processing of the file.
PRICE
, PROMOTION
, COUPON
, COUPON_CODE
, REDEMPTION
, PRICE_RANGE
, PRICELIST
"PRICE"
A placeholder for additional information.
Response
OK
A sample response containing a generated URL and the file name to be processed.
The AWS S3 URL used to download the data, in a CSV format, of a previous import. The URL is valid for five minutes.
"https://example.s3.amazonaws.com/pricelist/123/dev02/123-priceList1.csv?X-Amz-Algorithm...x-amz-meta-stage=dev02"
The name of the error file.
"prices/1646680518524-file1.csv"