Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Merchant API V2 token. Pass as Authorization: Bearer <token>.

Body

application/json
quantity
integer
required
Required range: x >= 0
item_id
string
required
Minimum string length: 1

Response

Updated inventory items

item_id
string
required
object
enum<string>
required
Available options:
inventory_item
item_type
enum<string>
required
Available options:
product,
variant
item_name
string | null
required
product_id
string
required
variant_id
string | null
required
sku
string | null
required
quantity
integer
required
price
integer
required

Integer amount in the smallest unit of the store currency (e.g. cents).

original_price
integer | null
required

Integer amount in the smallest unit of the store currency (e.g. cents).

cost
integer | null
required

Integer amount in the smallest unit of the store currency (e.g. cents).

cost_enabled
boolean
required
updated_at
string<date-time>
required