requests param can contain up to 5,000 items.
| Parameter | Description |
|---|---|
item_typestring |
The type of items in the request. Needs to be one of the values listed here. Note that the information specified in this field is NOT a product category (a concept used for item_type=PRODUCT_ITEM).
required |
requestsJSON object |
A JSON array of up to 5000 records, each containing 3 fields:
required |
Struct {
handles: List [string],
validation_status: List [ Struct {
errors: List [ Struct {
message: string,
}],
retailer_id: string,
warnings: List [ Struct {
message: string,
}],
}],
}
| Error Code | Description |
|---|---|
80014 | There have been too many calls for the batch uploads to this catalog account. Wait a bit and try again. For more info, please refer to /docs/graph-api/overview/rate-limiting#catalog. |
200 | Permissions error |
100 | Invalid parameter |
| Field | Description |
|---|---|
handles | An array of strings, containing either 0 or 1 value. An empty array means that nothing has been ingested. This value can be passed to the /check_batch_request_status endpoint to get the status of the request’s processing. |
validation_status | An array of ValidationStatus objects (see below) |
ValidationStatus object has the following fields:| Field | Description |
|---|---|
retailer_id | Row identifier from one of the records in the ‘requests’ parameter |
errors | An array of Error objects (see below) |
warnings | An array of Error objects (see below) |
Error object has the following structure| Field | Description |
|---|---|
message | A human-readable string providing an explanation of what is the issue with provided catalog item data. |
A call that updates the Polish version of the title for the item with id=batch_api_product_123
|
|---|
Request |
↳ |
Response |
↳ |
/{catalog_id}/items_batch/{catalog_id}/check_batch_request_status