Skip to main content

GiftCardActivate Object

Activate a gift card.

Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_STATUS_CHANGED (async): A gift card was activated.
type GiftCardActivate {
giftCard: GiftCard
giftCardErrors: [GiftCardError!]! @deprecated
errors: [GiftCardError!]!
}

Fields

GiftCardActivate.giftCard ● GiftCard object gift-cards

Activated gift card.

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

DEPRECATED

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

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

Returned By

giftCardActivate mutation