Skip to main content

giftCardUpdate Mutation

Update a gift card.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

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

Arguments

id ● ID!

ID of a gift card to update.

input ● GiftCardUpdateInput!

Fields required to update a gift card.

Type

GiftCardUpdate

Update a gift card.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

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