Skip to main content

PromotionBulkDelete

Deletes promotions.

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 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