Skip to main content

giftCardBulkDeactivate Mutation

Deactivate gift cards.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_STATUS_CHANGED (async): A gift card was deactivated.
giftCardBulkDeactivate(
ids: [ID!]!
): GiftCardBulkDeactivate
Details
type GiftCardBulkDeactivate {
count: Int!
errors: [GiftCardError!]!
}

Arguments​

ids ● [ID!]!​

List of gift card IDs to deactivate.

Type​

GiftCardBulkDeactivate​

Deactivate gift cards.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_STATUS_CHANGED (async): A gift card was deactivated.