Skip to main content
POST
/
v1
/
products
/
{id}
/
adjust-inventory
Adjust inventory quantity for a product at a specific slot
curl --request POST \
  --url http://localhost:3000/v1/products/{id}/adjust-inventory \
  --header 'Content-Type: application/json' \
  --data '
{
  "inventory_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "quantity": 1
}
'
{
  "success": true,
  "action": "created",
  "inventory_item_id": "<string>",
  "previous_quantity": 123,
  "new_quantity": 123
}

Path Parameters

id
string
required

Product UUID or taxonomy ID

Body

application/json
inventory_group_id
string<uuid>
required
quantity
integer
required
Required range: x >= 0

Response

Inventory adjusted

success
boolean
required
action
enum<string>
required
Available options:
created,
adjusted
inventory_item_id
string
required
previous_quantity
number
required
new_quantity
number
required