Update Products API

Update specific fields of existing products without sending the full product payload.

Last updated

On this page

Overview

Use the Update Products API to update specific fields of existing products without sending the full product payload. The request body contains product identifiers along with the fields to change.

This API uses the same endpoint as the Partial Reindexing API, but with the PUT method instead of POST.

Endpoint

MethodPath
PUT/api/v1/open-api/reindex/partial
PUT/api/v2/open-api/reindex/partial

Request body

JSON
{
   "token": "{{website_token}}", //required
   "data": {
      "update": [ //required, array of objects
         {
            "entity_id": "1",
            "stock": 1
         }
      ]
   }
}

Successful response

JSON
{
   "message": [
      {
         "id": "1",
         "sku": "24-MB01",
         "timestamp": "",
         "time": "2021-09-03 16:05:39",
         "status": 200,
         "result": "updated"
      }
   ]
}