POST
{micro_service_base_url}
/
inventory-service-v2
/
companies
/
1000019
/
store
/
449235c1-3d04-4519-998b-40d2a621e5e0
/
inventory
This endpoint updates inventory details for products that already exist in your store. Use this to adjust stock levels, prices, product status, and storage locations.
This endpoint only updates existing products. To add new products, use the Upsert Products endpoints.

Body

inventory_updates
array
required
An array of inventory update objects

Request Example

[
  {
    "external_id": "22000017901",
    "quantity": 50,
    "status": "inactive",
    "price": 99.8,
    "location": "WAREHOUSE-CDT"
  },
  {
    "external_id": "28400324434",
    "quantity": 50,
    "status": "active",
    "price": 9,
    "location": "WAREHOUSE-CDT"
  },
  {
    "external_id": "22000017895",
    "quantity": 1,
    "status": "active",
    "price": 19.12,
    "location": "Jayy-B"
  }
]

Response

This endpoint processes the inventory updates asynchronously. No immediate response body is provided.
The system will process your inventory updates in the background. Changes will be reflected in your store’s inventory once processing is complete.
Setting quantity to 0 will mark the product as out of stock. Use “inactive” status to temporarily disable a product from being sold.