PUT
/v1/products/bulkUpdates multiple products in a single request. Each product update is processed independently - failures on individual products don't affect others. Returns a summary of succeeded/failed updates with details.
Request Body
Fields in the request body
Required
| Name | Type | Description |
|---|---|---|
updates | array<BulkUpdateProductItem> | List of products to update with their changes |
Response Data
Fields returned in the response
Always Present
| Name | Type | Description |
|---|---|---|
errors | List of errors for failed updates | |
failed | integer | Number of failed updates |
results | array<ProductResponse> | List of successfully updated products |
succeeded | integer | Number of successfully updated items |
PUT
/v1/products/bulkRequest
curl https://api.thesweetspot.com/v1/products/bulk \
-X PUT \
-H "Content-Type: application/json" \
-d '{
"updates": [
{}
]
}'Response
{
"errors": [
{
"error": null,
"id": null
}
],
"failed": 0,
"results": [
{}
],
"succeeded": 0
}