promotionRuleCreate Mutation
Creates a new promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_CREATED (async): A promotion rule was created.
promotionRuleCreate(
input: PromotionRuleCreateInput!
): PromotionRuleCreate
Show return type
Arguments
input ● PromotionRuleCreateInput!
Fields required to create a promotion rule.
Type
PromotionRuleCreate
Creates a new promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_CREATED (async): A promotion rule was created.