Skip to main content
POST
Adjust Inventory

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Body

application/json

Schema for creating an inventory adjustment.

variant_id
string<uuid>
required
quantity_change
integer
required

Positive to add, negative to remove

reason
string
required
Pattern: ^(received|sold|damaged|returned|correction)$
note
string | null

Response

Successful Response

Schema for inventory adjustment in responses.

id
string<uuid>
required
variant_id
string<uuid>
required
quantity_change
integer
required
previous_quantity
integer
required
new_quantity
integer
required
reason
string
required
note
string | null
required
adjusted_by
string | null
required
created_at
string<date-time>
required
variant_sku
string | null
product_name
string | null