Description
Topic: Pricing Rules
Fields
Unique customer group identifier. See also: Unique Identifiers
Example: "cg_EQzGqWoY"
Valid when: customer_group_id matches regexp pattern: ^cg_
date_range: DateRangeCreate
Date range to match against
display_price_difference: Boolean
Whether price difference should be displayed when this pricing rule matches
Name of the pricing rule
Example: "Winter Sale"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
Unique pricing rule identifier. See also: Unique Identifiers
Example: "pu_EQzGqWoY"
Valid when: parent_rule_id matches regexp pattern: ^pu_
Priority of the rule (rule with higher priority is to be evaluated first)
Example: 0
Unique sales channel identifier. See also: Unique Identifiers
Example: "sc_EQzGqWoY"
Valid when: sales_channel_id matches regexp pattern: ^sc_
Used By
Mutations
Preview (typescript)
Loading module