Skip to main content
Version: 3.x

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

DEPRECATED

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

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

GiftCardDelete.giftCard ● GiftCard object

Returned by

giftCardDelete mutation


Was this page helpful?