PromotionRuleDelete
Deletes a promotion rule.
Added in Saleor 3.17This API is currently in Feature Preview and can be subject to changes at later point.
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
PromotionRuleDelete.promotionRule
● PromotionRule
object
Returned by
promotionRuleDelete
mutation