Description
Fields
Amount of money in shop's currency
Example: 0
Valid when: amount is a non-negative integer
Category id, used depending on condition type
Example: "ca_EQzGqWoY"
Valid when: category_id matches regexp pattern: ^ca_
condition: ArbitraryObjectType
conditions: [ArbitraryObjectType!]
Customer group id, used depending on condition type
Example: "cg_EQzGqWoY"
Valid when: customer_group_id matches regexp pattern: ^cg_
operator: RuleOperator
Product id, used depending on condition type
Example: "pd_EQzGqWoY"
Valid when: product_id matches regexp pattern: ^pd_
Quantity parameter
Example: 0
Valid when: quantity is a non-negative integer
Shipping provider id, used depending on condition type
Example: "sp_EQzGqWoY"
Valid when: shipping_provider_id matches regexp pattern: ^sp_
type: PromotionConditionType!
Type of the condition
Variant id, used depending on condition type
Example: "va_EQzGqWoY"
Valid when: variant_id matches regexp pattern: ^va_
Used By
Types
Preview (typescript)
Loading module