shopify_set_inventory
Set inventory quantity with compare-and-set protection after reading current value. Confirm exact change for the specified store.
Instructions
Set available inventory using compare-and-set protection. Read inventory first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | ||
| reason | No | correction | |
| confirm | Yes | True only after authorization for this store and exact change. | |
| quantity | Yes | ||
| locationId | Yes | ||
| idempotencyKey | No | ||
| compareQuantity | Yes | ||
| inventoryItemId | Yes |