promotionDelete Mutation
Deletes a promotion.
Triggers the following webhook events:
- PROMOTION_DELETED (async): A promotion was deleted.
promotionDelete(
externalReference: String
id: ID
): PromotionDelete
Details
type PromotionDelete {
errors: [PromotionDeleteError!]!
promotion: Promotion
}
Arguments
externalReference ● String
External ID of the promotion to remove.
Added in Saleor 3.23id ● ID
The ID of the promotion to remove.
Type
PromotionDelete
Deletes a promotion.
Triggers the following webhook events:
- PROMOTION_DELETED (async): A promotion was deleted.