Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

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

Path Parameters

item_id
string
required

Body

application/json
quantity
integer
required
Required range: x >= 0

Response

InventoryItem

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