promotionBulkDelete Mutation
Deletes promotions.
Triggers the following webhook events:
- PROMOTION_DELETED (async): A promotion was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [PROMOTION_DELETED], syncEvents: [])
promotionBulkDelete(ids: [ID!]!): PromotionBulkDelete
Returns
Show return type
type PromotionBulkDelete {
count: Int!
errors: [DiscountError!]!
}Arguments
ids
ids · [ID!]!
List of promotion IDs to delete.
Schema: Saleor 3.23.43. Download SDL.