Shopify: Adjust Inventory logo

Catalog action Integrations shopify

Adjust inventory quantities for an item at a specific location in your Shopify store. Supports increasing or decreasing stock with tracked reasons. Ideal for: inventory sync, stock corrections, receiving shipments, cycle counts. Required scope: write_inventory.

At a Glance

FieldValue
Action IDshopify-adjust-inventory
CategoryIntegrations
Connectorshopify
Requires gasNo
Funds movementNone declared
Tagsshopify, ecommerce, inventory, write

Payload Schema

FieldTypeRequiredDescription
inventoryItemIdstringYesInventory item GID (e.g., gid://shopify/InventoryItem/123)
locationIdstringYesLocation GID where inventory is being adjusted (e.g., gid://shopify/Location/123)
deltanumberYesAmount to adjust inventory by (positive to increase, negative to decrease)
reasonstringNoReason for the inventory adjustment
namestringNoInventory state name (default: available)

Result Schema

FieldTypeRequiredDescription
successbooleanYesWhether the inventory was adjusted successfully
dataobjectNoInventory adjustment result data
exportsobjectNoExported values from the action

Examples

json
{ "type": "shopify-adjust-inventory", "payload": { "inventoryItemId": "example-inventoryItemId", "locationId": "example-locationId", "delta": 1 }, "children": [], "connector": { "type": "shopify", "id": "conn_shopify" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I