promotionRuleDelete Mutation
Deletes a promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_DELETED (async): A promotion rule was deleted.
promotionRuleDelete(
id: ID!
): PromotionRuleDelete
Arguments
promotionRuleDelete.id
● ID!
non-null scalar miscellaneous
The ID of the promotion to remove.
Type
PromotionRuleDelete
object discounts
Deletes a promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_DELETED (async): A promotion rule was deleted.