PromotionBulkDelete
Deletes promotions.
Added in Saleor 3.17This API is currently in Feature Preview and can be subject to changes at later point.
Triggers the following webhook events:
- PROMOTION_DELETED (async): A promotion was deleted.
type PromotionBulkDelete {
count: Int!
errors: [DiscountError!]!
}
Fields
PromotionBulkDelete.count ● Int! non-null scalar miscellaneous
Returns how many objects were affected.
PromotionBulkDelete.errors ● [DiscountError!]! non-null object discounts
Returned By
promotionBulkDelete mutation