promotionRuleDelete Mutation
Deletes a promotion rule.
Triggers the following webhook events:
- PROMOTION_RULE_DELETED (async): A promotion rule was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [PROMOTION_RULE_DELETED], syncEvents: [])
promotionRuleDelete(id: ID!): PromotionRuleDelete
Returns
Show return type
type PromotionRuleDelete {
errors: [PromotionRuleDeleteError!]!
promotionRule: PromotionRule
}Arguments
id
id · ID!
The ID of the promotion to remove.
Schema: Saleor 3.23.43. Download SDL.