Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

giftCardUnassignUser Mutation

Remove a customer restriction from a gift card.

Added in Saleor 3.23.

Requires one of the following permissions:MANAGE_GIFT_CARD

Triggers the following webhook events:

  • GIFT_CARD_UPDATED (async): A gift card was updated.

Applied directives

@webhookEventsInfo(asyncEvents: [GIFT_CARD_UPDATED], syncEvents: [])
giftCardUnassignUser(id: ID!): GiftCardUnassignUser

Returns

GiftCardUnassignUser

Show return type
type GiftCardUnassignUser {
  giftCard: GiftCard
  giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [GiftCardError!]!
}

Arguments

id

id · ID!

ID of the gift card.


Schema: Saleor 3.23.43. Download SDL.

Last updated on July 21, 2026

Was this page helpful?