Generate S3 bucket URL for item import
Generates S3 bucket URL to upload items using CSV file. Follow these steps for bulk upload using CSV:
1) Download the template using GET /api-product/v1/product/bulk/template/:accountid/:nodeId
2) Upload the url using POST /api-product/v1/upload-url
3) Open the URL from the response of the above endpoint (POST /api-product/v1/upload-url), change the method to PUT, update binary in the requestBody type to view the select file option and upload a CSV from local system
4) You may check the status using this endpoint GET /api-product/v1/product/bulk/file/:fileId/status
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
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
Category ID associated with the file
File name to be uploaded in the generated URL
Was this page helpful?