Skip to main content

GiftCardUpdate

Update a gift card.

Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_UPDATED (async): A gift card was updated.
type GiftCardUpdate {
giftCardErrors: [GiftCardError!]! @deprecated
errors: [GiftCardError!]!
giftCard: GiftCard
}

Fields

GiftCardUpdate.giftCardErrors ● [GiftCardError!]! deprecated non-null object gift-cards

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

GiftCardUpdate.errors ● [GiftCardError!]! non-null object gift-cards

GiftCardUpdate.giftCard ● GiftCard object gift-cards

Returned By

giftCardUpdate mutation