Skip to main content
POST
Create Bulk Operation

Authorizations

X-Authorization
string
header
required

API Scope: "Bulk Operations (write)"

Body

multipart/form-data
file
file
required

The JSONL file containing the data for the bulk operations.

Each line contains an individual operation, formatted as follows:

{"type": "{job type}", "parameters": {}, "payload": {}}

The following job types are supported:

For most job types, id is the only parameter. Product variant jobs require id to be the product variant ID and productId to be the product ID.

Payload details can be found in the documentation for each job, linked above.

Lines must be separated with \n.

There is no limit to the number of lines that can be included in a file, but bulk operation files are limited to 2 MB in size.

Response

Success

bulk_operation
object