Skip to main content

giftCardUpdate Mutation

Update a gift card.

Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_UPDATED (async): A gift card was updated.
giftCardUpdate(
id: ID!
input: GiftCardUpdateInput!
): GiftCardUpdate

Arguments

giftCardUpdate.id ● ID! non-null scalar miscellaneous

ID of a gift card to update.

giftCardUpdate.input ● GiftCardUpdateInput! non-null input gift-cards

Fields required to update a gift card.

Type

GiftCardUpdate object gift-cards

Update a gift card.

Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_UPDATED (async): A gift card was updated.