NameDescriptionTypeAdditional information
Type

The type of node this element represents. Can be 'AllOf', 'AnyOf', 'NoneOf', 'None', 'Classification', 'CatalogId', 'NonStock', 'BatchTracked', 'GiftCard', 'Regular' 'ContainsCannabis', 'IsGram', 'Supplier', or 'Specification'

string

None.

Conditions

Only populated for 'AllOf', 'AnyOf', or 'NoneOf' node types. A list of ProductConditions. If the 'Type' is 'AllOf', a line item only applies to this promotion if all conditions in this list evaluate to True If the 'Type' is 'AnyOf', a line item only applies to this promotion if any condition in this list evaluates to True If the 'Type' is 'NoneOf', a line item only applies to this promotion of all conditions in this list evaulate to False

Collection of ProductCondition

None.

ParentCategoryOrClassificationId

Only popualted for 'Classification' node types. Represents the ParentCategory, or ClassificationId the line item must belong to in order to apply to this promotion.

integer

None.

Id

Only populated for 'CatalogId' node types. Represents the CatalogId the line item must have in order to apply to this promotion.

globally unique identifier

None.

SupplierId

Only populated for 'Supplier' node types. Represents the SupplierId the line item must belong to in order to apply to this promotion.

integer

None.

StringId

Only populated for 'SpecificationValue' node types. Represents the StringId component of a specification value the line item must have in order to apply to this promotion. Can be used as an alternative to 'FieldId'

string

None.

Value

Only populated for 'SpecificationValue' node types. Represents the Value component of a specification value the line item must have in order to apply to this promotion.

string

None.

FieldId

Only populated for 'SpecificationValue' node types. Represents the FieldId component of a specification value the line item must have in order to apply to this promotion. Can be used as an alternative to 'StringId'

integer

None.