Skip to main content
Version: 3.x

promotionRuleCreate

Creates a new promotion rule.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_RULE_CREATED (async): A promotion rule was created.
promotionRuleCreate(
input: PromotionRuleCreateInput!
): PromotionRuleCreate

Arguments

promotionRuleCreate.input ● PromotionRuleCreateInput! non-null input

Fields required to create a promotion rule.

Type

PromotionRuleCreate object

Creates a new promotion rule.

Added in Saleor 3.17
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_RULE_CREATED (async): A promotion rule was created.

Was this page helpful?