MCP Server for Shopify

Build 25.0.9440

InventorySetQuantities

Set quantities of specified name using absolute values.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • InventorySetChanges references the InventorySetChanges temporary table.

InventorySetChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the quantity will be set.
InventoryLevelLocationIdStringSpecifies the location at which the quantity will be set.
CompareQuantityIntThe current quantity to be compared against the persisted quantity.
QuantityIntThe quantity to which the inventory quantity will be set.

Input

Name Type Description
Name String The name of quantities to be changed.

The allowed values are available, on_hand.

Reason String The reason for the quantity changes.

The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage.

ReferenceDocumentUri String A freeform URI that represents why the inventory change happened.
IgnoreCompareQuantity Boolean Skip the compare quantity check in the quantities field.
InventorySetChanges String The values to which each quantities will be set.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
Id String The ID of the group of changes made by the operation.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440