PromotionRuleCreate Object
Creates a new promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_CREATED (async): A promotion rule was created.
type PromotionRuleCreate {
errors: [PromotionRuleCreateError!]!
promotionRule: PromotionRule
}
Fields
PromotionRuleCreate.errors
● [PromotionRuleCreateError!]!
non-null object miscellaneous
PromotionRuleCreate.promotionRule
● PromotionRule
object discounts
Returned By
promotionRuleCreate
mutation