Update Item Inventory
Updates the current inventory levels for a particular SKU item.
Updates may be given in one or two methods, absolutely or incrementally.
- Absolute updates are done by setting `quantity` directly.
- Incremental updates are by specifying the inventory delta in `updateQuantity` which is then added to the `quantity` stored on the server.
Required scope | `ecommerce:write`
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Path parameters
sku_collection_id
Unique identifier for a SKU collection. Use the List Collections API to find this ID.
sku_id
Unique identifier for a SKU
Request
The updated inventory
inventoryType
infinite or finite
Allowed values:
updateQuantity
Adds this quantity to currently store quantity. Can be negative.
quantity
Immediately sets quantity to this value.
Response
Request was successful
id
Unique identifier for a SKU item
quantity
Total quantity of items remaining in inventory (if inventoryType is finite)
inventoryType
infinite or finite
Allowed values: