Skip to main content

PromotionBulkDelete Object

Deletes promotions.

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