Update inventory item
orderdesk_update_inventory_itemWRITE: change fields of an inventory item, for example its stock count. Order Desk's PUT replaces the whole record, so this reads the item, applies only the fields you pass (metadata and variation keys are merged) and sends the complete record back. PUT /inventory-items/{inventory_item_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | SKU. | |
| cost | No | ||
| name | No | ||
| price | No | ||
| stock | No | The new units-available count (replaces the old one). | |
| weight | No | ||
| location | No | ||
| metadata | No | Metadata keys to set (others are kept). | |
| variation_list | No | Variation keys to set (others are kept). | |
| manufacturer_sku | No | ||
| inventory_item_id | Yes | Order Desk's internal inventory item id. |