Adjust Shopify Inventory (by delta)
shopify_adjust_inventoryChange stock by a relative amount at one Shopify location using a SKU or inventory item ID; positive delta adds units, negative removes them.
Instructions
Change stock by a RELATIVE amount at one location — e.g. delta: -3 to remove three units.
Accepts a SKU (preferred) or an explicit inventoryItemId. Location may be a GID or a name. To set an exact number instead of a delta, use shopify_set_inventory.
The variant must already be stocked at the location — activate it first with shopify_set_variant_locations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Exact variant SKU | |
| name | No | Which quantity to adjust | available |
| delta | Yes | Change: positive adds stock, negative removes it | |
| reason | No | correction | |
| location | Yes | Location GID or location name | |
| inventoryItemId | No | InventoryItem GID — alternative to sku |