You can use the updateInventory
endpoint to modify the inventory of a specific SKU at a specific location. You specify the location and the updated inventory data in the request body. For example:
PUT /ccadmin/v1/inventories/xsku5014 HTTP 1.1
Authorization: Bearer <access_token>
{
"locationId": "Cambridge_MA",
"stockThreshold": 20,
"stockLevel": 200
}