Skip to main content
Version: 3.x

promotionRuleDelete

Deletes a 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_DELETED (async): A promotion rule was deleted.
promotionRuleDelete(
id: ID!
): PromotionRuleDelete

Arguments

promotionRuleDelete.id ● ID! non-null scalar

The ID of the promotion to remove.

Type

PromotionRuleDelete object

Deletes a 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_DELETED (async): A promotion rule was deleted.

Was this page helpful?