Skip to main content

giftCardDeactivate Mutation

Deactivate a gift card.

Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_STATUS_CHANGED (async): A gift card was deactivated.
giftCardDeactivate(
id: ID!
): GiftCardDeactivate

Arguments

giftCardDeactivate.id ● ID! non-null scalar miscellaneous

ID of a gift card to deactivate.

Type

GiftCardDeactivate object gift-cards

Deactivate a gift card.

Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

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