POST
/
products
/
bulk_upload
/
csv
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."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
file_id
string
required

The ID of a previously uploaded CSV file via the /files endpoint.

corporation_id
string

The unique identifier for a corporation to associate with these products.

Response

200
application/json
Successful product import job creation
data
object
message
string
Example:

"Successfully started product import job."