Generate URL to import a CSV file
Use this endpoint to create a secured S3 URL to import a CSV file, allowing for bulk data updates from the information within the file. For example, if the data in the file is price type, then only the price related data will be updated. Note that an error will be shown if the type of data included in the file doesn’t match with the data type mentioned in the request body. You must upload only one single file, specifically in the CSV format, to the generated URL.
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.
A unique identifier obtained from Copilot for the System app in the fabric ecosystem, essential for OpenID Connect authentication flows.
A unique request ID.
Body
A sample request containing file details be uploaded to the generated URL.
The name of the file to be uploaded.
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
A placeholder for additional information.
Was this page helpful?