Skip to main content

PromotionRuleDelete Object

Deletes a promotion rule.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_RULE_DELETED (async): A promotion rule was deleted.
type PromotionRuleDelete {
errors: [PromotionRuleDeleteError!]!
promotionRule: PromotionRule
}

Fields

PromotionRuleDelete.errors ● [PromotionRuleDeleteError!]! non-null object miscellaneous

PromotionRuleDelete.promotionRule ● PromotionRule object discounts

Returned By

promotionRuleDelete mutation