GiftCardDeactivate
Deactivate a gift card.
Triggers the following webhook events:
- GIFT_CARD_STATUS_CHANGED (async): A gift card was deactivated.
type GiftCardDeactivate {
giftCard: GiftCard
giftCardErrors: [GiftCardError!]! @deprecated
errors: [GiftCardError!]!
}
Fields
GiftCardDeactivate.giftCard
● GiftCard
object gift-cards
Deactivated gift card.
GiftCardDeactivate.giftCardErrors
● [GiftCardError!]!
deprecated non-null object gift-cards
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errors
field instead.
GiftCardDeactivate.errors
● [GiftCardError!]!
non-null object gift-cards
Returned By
giftCardDeactivate
mutation