giftCardCreate Mutation
Creates a new gift card.
Triggers the following webhook events:
- GIFT_CARD_CREATED (async): A gift card was created.
- NOTIFY_USER (async): A notification for created gift card.
Applied directives
@webhookEventsInfo(asyncEvents: [GIFT_CARD_CREATED, NOTIFY_USER], syncEvents: [])
giftCardCreate(input: GiftCardCreateInput!): GiftCardCreate
Returns
Show return type
type GiftCardCreate {
giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [GiftCardError!]!
giftCard: GiftCard
}Arguments
input
input · GiftCardCreateInput!
Fields required to create a gift card.
Schema: Saleor 3.23.43. Download SDL.