giftCardDelete Mutation
Deletes gift card.
Triggers the following webhook events:
- GIFT_CARD_DELETED (async): A gift card was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [GIFT_CARD_DELETED], syncEvents: [])
giftCardDelete(id: ID!): GiftCardDelete
Returns
Show return type
type GiftCardDelete {
giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [GiftCardError!]!
giftCard: GiftCard
}Arguments
id
id · ID!
ID of the gift card to delete.
Schema: Saleor 3.23.43. Download SDL.