Skip to main content

PromotionDelete

Deletes a promotion.

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_DELETED (async): A promotion was deleted.
type PromotionDelete {
errors: [PromotionDeleteError!]!
promotion: Promotion
}

Fields

PromotionDelete.errors ● [PromotionDeleteError!]! non-null object miscellaneous

PromotionDelete.promotion ● Promotion object discounts

Returned By

promotionDelete mutation