To send product updates, use the /{catalog_id}/items_batch
endpoint.
To create, update, or delete products in your catalog, make an HTTP POST
call to:
https://graph.facebook.com/<API_VERSION>/<CATALOG_ID>/items_batch?requests=<REQUESTS>
Parameter | Type | Description |
---|---|---|
| boolean | Optional:
set this to When set to |
| enum | The type of items in the request. Values: |
| object | A JSON object containing all requests. |
| object | A JSON object containing fields and values for a product.
Note: See the Supported Fields that can be passed. |
| string |
|
For more details, see the API reference.
requests
param can contain up to 5,000 items.1
with message "Please reduce the amount of data you're asking for, then retry your request"
indicates that the size of the data (in bytes) received in API request is too large. To fix this issue, please reduce the number of items in the batch and try again. This will ensure that the request is within the acceptable size limits and can be processed successfully.See the supported fields for the /{catalog_id}/items_batch
endpoint:
/{catalog_id}/check_batch_request_status
/{catalog_id}/localized_items_batch