Skip to main content

giftCardBulkDelete Mutation

Deletes gift cards.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_DELETED (async): A gift card was deleted.
giftCardBulkDelete(
ids: [ID!]!
): GiftCardBulkDelete
Details
type GiftCardBulkDelete {
count: Int!
errors: [GiftCardError!]!
}

Arguments​

ids ● [ID!]!​

List of gift card IDs to delete.

Type​

GiftCardBulkDelete​

Deletes gift cards.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_DELETED (async): A gift card was deleted.