Move Inventory Between Locations
shopify_move_inventoryMove stock of a variant between locations in one transactional call, decrementing origin and incrementing destination together. Both locations must already stock the variant.
Instructions
Move stock of one variant from one location to another in a single transactional call — the origin is decremented and the destination incremented together.
Both locations must already stock the variant (activate with shopify_set_variant_locations first).
quantityName pairs the ledger states being moved between, e.g. moving 'available' at the origin to 'available' at the destination. For most stock transfers, leave both as 'available'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Exact variant SKU | |
| reason | No | correction | |
| toName | No | available | |
| fromName | No | available | |
| quantity | Yes | Units to move | |
| toLocation | Yes | Destination location GID or name | |
| fromLocation | Yes | Origin location GID or name | |
| inventoryItemId | No | InventoryItem GID — alternative to sku | |
| referenceDocumentUri | No | Traceability URI for this movement |