Skip to main content

Batching requests

Both the product API and the item API have a batch version that you can use to update multiple products or items at once.

warning

If a single object fails, the entire batch fails. For example, in one of your items, you didn't add a required field or your value doesn't match the field type (such as passing a string instead of an integer).

Routes

  • Product: /v2/data_ingestion/batch/catalog/product/submission

  • Item: /v2/data_ingestion/batch/catalog/item/submission

Example

{
"batch": [
{
"lookup_code": "1234567890",
"store_identifier": "1234",
"available": true,
"price": 5.99
},
{
"lookup_code": "0987654321",
"store_identifier": "4321",
"available": false
}
]
}