giftCardBulkCreate Mutation
Creates gift cards.
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: [])
giftCardBulkCreate(input: GiftCardBulkCreateInput!): GiftCardBulkCreate
Returns
Show return type
type GiftCardBulkCreate {
count: Int!
giftCards: [GiftCard!]!
errors: [GiftCardError!]!
}Arguments
input
input · GiftCardBulkCreateInput!
Fields required to create gift cards.
Schema: Saleor 3.23.43. Download SDL.