curl --request POST \
--url https://base_url/api/v1/products/bulk_upload/csv \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"file_id": "<string>",
"corporation_id": "<string>"
}'
{
"data": {
"job": {
"id": "<string>",
"status": "PENDING",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"message": "Successfully started product import job."
}
Submit a CSV file of products for processing
curl --request POST \
--url https://base_url/api/v1/products/bulk_upload/csv \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"file_id": "<string>",
"corporation_id": "<string>"
}'
{
"data": {
"job": {
"id": "<string>",
"status": "PENDING",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"message": "Successfully started product import job."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful product import job creation
The response is of type object
.