adjust_inventory
Change Shopify inventory quantities by a positive or negative delta for a specific inventory item and location, optionally recording a reason to keep stock counts accurate.
Instructions
Adjust inventory quantity by a delta (positive or negative)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inventoryItemId": "<inventoryItemId>",
"locationId": "<locationId>",
"delta": "<delta>"
},
"name": "adjust_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | Yes | Quantity change (positive to add, negative to subtract) | |
| reason | No | Reason for adjustment | |
| locationId | Yes | Location ID | |
| inventoryItemId | Yes | Inventory item ID |