update_inventory_quantity
Update the available stock quantity for a specific inventory item at a given location. Provide inventory item ID, location ID, and new available quantity to receive the adjusted inventory level.
Instructions
This tool updates the available quantity of an inventory item at a specific location. It accepts inventory item ID, location ID, and the new available quantity, returning the updated inventory level after adjustment.
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": {
"inventory_item_id": "<inventory_item_id>",
"location_id": "<location_id>",
"available": "<available>"
},
"name": "update_inventory_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| available | Yes | The new available quantity for the inventory item at this location | |
| location_id | Yes | The ID of the location (e.g., "gid://shopify/Location/12345") | |
| inventory_item_id | Yes | The ID of the inventory item (e.g., "gid://shopify/InventoryItem/12345") |