Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Inventory → Set Quantities

AI-generated

Summary

Set absolute inventory quantities for Shopify inventory items at specified locations. Choose available or on-hand stock, and optionally supply last-known quantities for compare-and-swap checks.

Inputs

  • authentication — Choose Admin API Credentials (default) or OAuth2 to authenticate with Shopify.
  • inventoryQuantities — Repeated quantity entries, each requiring an inventory item global ID, a location global ID, and a nonnegative target quantity. Optional Compare Quantity supplies the last-known quantity for a compare-and-swap check.
  • inventorySetOptions — Optional settings: inventory state (available or on_hand; default available), change reason (default correction), reference document URI, and Ignore Compare Quantity (default false), declared to disable compare-and-swap checks for API version 2025-10.
  • outputMode — Choose Simplified (default), Raw, or Selected Fields output.
  • selectedFields — Specify fields to retain when Output Mode is Selected Fields.

Output shape

An operation result formatted according to the selected output mode.

The signature-only source does not reveal the mutation response fields, exact item count, or error handling, so the precise return shape cannot be confirmed.

Links

Discussion