Skip to main content

PromotionRuleCreate Object

Creates a new promotion rule.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_RULE_CREATED (async): A promotion rule was created.
type PromotionRuleCreate {
errors: [PromotionRuleCreateError!]!
promotionRule: PromotionRule
}

Fields​

errors ● [PromotionRuleCreateError!]!​

promotionRule ● PromotionRule​

Returned By​

promotionRuleCreate mutation