Commit full update
POST/platform/v1/:project-id/products/batch/commit
This endpoint starts an update to process the batches of products uploaded using the "Upload batch of products" endpoint. Remember - any products that were previously uploaded but were not included in the most recent batches will be deleted after calling this endpoint.
Request
Responses
- 200
- 400
- 404
OK
{
"status": "success",
"data": {
"message": "Batch update started",
"status": "success",
"task": {
"projectId": 39074,
"projectName": null,
"origin": "LIVE-API",
"taskStatus": "RUNNING",
"name": "Api triggered full update",
"taskIncrementType": "STEP_BASED",
"failure": false,
"requestTime": 1744638748765,
"startTime": 1744638748766,
"finishTime": null,
"progress": 0,
"logCounter": 3,
"id": "67fd131c34ff64223a195b14"
}
}
}
Bad Request
{
"status": "failure",
"message": "The last full update has been rejected because the number of products was significantly lower than before.",
"code": 400
}
{
"status": "failure",
"code": 404,
"message": "Sorry an error occurred. Please check the logs."
}