UpdateGroupProductInput
Input parameter for the updateGroupProduct
mutation. A group product ref
is unique within the bounds of the specified catalogue
, which together makes up the unique identifier for the GroupProduct
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. -
prices
-type
andcurrency
are the unique key for the Pricevalue
. If an associated Price with a matchingname
andtype
already exists, then thevalue
field 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 Product.
Max character limit: 100.
ProductCatalogueKey!
)
The Product Catalogue in which this Product is managed
String
)
Type of the GroupProduct
, 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.
String
)
The current status of the GroupProduct
.
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.
[AttributeInput]
)
A list of attributes associated with this Product. This can be used to extend the existing data structure with additional data for use in orchestration rules, etc.
String
)
The name of the Product
String
)
A short description of the Product (max 255 chars)
[CategoryKey]
)
A list of references to the Category
's to which this Product
relates. Product categories must be a part of the same ProductCatalogue
(see catalogue
field). The Category
must already exist.
[PriceInput]
)
A list of Prices for this Product
TaxTypeInput
)
The tax information for this Product
[ProductKey]
)
A list of Products within the group