POST
/
products
/
bulk
curl --request POST \
  --url https://base_url/api/v1/products/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'corporation_id=<string>'
{
  "data": {
    "fileInfo": {
      "id": "7cd0746c-ed81-42e9-9912-a8a43f43b2b0",
      "name": "bulkTransactionTestSample - Sheet1.csv",
      "size": 998,
      "created_at": "2024-10-15T08:03:27.061256Z"
    },
    "rowCount": 2442
  },
  "message": "Successfully uploaded products."
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file

The CSV file to upload.

corporation_id
string

The unique identifier for a corporation associated with this file.

Response

200
application/json
Transaction creation response
data
object
message
string
Example:

"Successfully uploaded products."