UpdateInventoryPositionInput
Input parameter for the updateInventoryPosition
mutation. An inventory position ref
is unique within the bounds of the specified catalogue
, which together makes up the unique identifier for the InventoryPosition
record.
During an update mutation, the following fields behave in an "UPSERT" or UPDATE / INSERT manner:
-
attributes
-name
is the unique key for the Attributetype
andvalue
. If an associated Attribute with a matchingname
already exists, then thetype
andvalue
fields will be updated, else it will be inserted. Backward Compatibility Note
With the introduction of Global Inventory, we have introduced new data structures to support this functionality. Existing orchestration enabled clients will have access to their existing product based data via theCOMPATIBILITY:<retailerId>
catalogue.
For more information, please refer to the Backward Compatibility Guide on Lingo
Input Fields
String!
)
The unique reference identifier for the Inventory Position.
Max character limit: 100.
InventoryCatalogueKey!
)
The Inventory Catalogue in which this Position is managed
String
)
The current status of the InventoryPosition
.
By default, the initial value will be CREATED, however no other status values are enforced by the platform.
The status field is also used within ruleset selection during orchestration. For more info, see Orchestration
Max character limit: 50.
String
)
Type of the InventoryPosition
, typically used by the Orchestration Engine to determine the workflow that should be applied. Unless stated otherwise, no values are enforced by the platform.
Max character limit: 50.
[AttributeInput]
)
A list of attributes associated with this Inventory Position. This can be used to extend the existing data structure with additional data for use in orchestration rules, etc.
String
)
A reference identifying a Product. The referenced product may or may not exist within one or more Product Catalogues. This is a loosely coupled association, since Product and Inventory are separate domains.
Int
)
The calculated on hand quantity based on the associated quantities, and rules in the orchestration workflow
String
)
A reference identifying the Location where this inventory exists. This is a loosely coupled association.
[InventoryQuantityKey]
)
A list of Inventory Quantities associated with this Position