Skip to main content

promotionBulkDelete Mutation

Deletes promotions.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_DELETED (async): A promotion was deleted.
promotionBulkDelete(
ids: [ID!]!
): PromotionBulkDelete
Details
type PromotionBulkDelete {
count: Int!
errors: [DiscountError!]!
}

Arguments​

ids ● [ID!]!​

List of promotion IDs to delete.

Type​

PromotionBulkDelete​

Deletes promotions.

Requires the MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • PROMOTION_DELETED (async): A promotion was deleted.