CData Python Connector for Shopify

Build 25.0.9454

InventoryAdjustQuantities

Applies relative adjustments to inventory quantities at one or more locations.

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.

  • InventoryAdjustChanges references the InventoryAdjustChanges temporary table.

InventoryAdjustChanges Temporary Table Columns

Column NameTypeDescription
InventoryItemIdStringSpecifies the inventory item to which the change will be applied.
InventoryLevelLocationIdStringSpecifies the location at which the change will be applied.
LedgerDocumentUriStringA freeform URI that represents what changed the inventory quantities.
DeltaIntThe amount by which the inventory quantity will be changed.

Input

Name Type Description
Name String The name identifying the inventory quantity or item being adjusted.

The allowed values are available, damaged, quality_control, reserved, safety_stock.

Reason String The explanation or justification for performing the inventory adjustment, such as correction, damage, or reconciliation.

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 reference URI linking to the document or record that initiated the inventory adjustment, such as an order or return.
InventoryAdjustChanges String A structured list of quantity changes to apply across specific items and locations.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the inventory adjustment completed successfully without errors.
Details String Provides additional information or messages describing the outcome of the adjustment operation.
Id String The unique identifier assigned to the group of inventory changes processed in this operation.

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