Skip to main content

GiftCardDelete

Delete gift card.

Added in Saleor 3.1
Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_DELETED (async): A gift card was deleted.
type GiftCardDelete {
giftCardErrors: [GiftCardError!]! @deprecated
errors: [GiftCardError!]!
giftCard: GiftCard
}

Fields

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

DEPRECATED

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

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

GiftCardDelete.giftCard ● GiftCard object gift-cards

Returned By

giftCardDelete mutation