Skip to main content
Version: 3.x

GiftCardCreateInput

No description

input GiftCardCreateInput {
addTags: [String!]
expiryDate: Date
startDate: Date
endDate: Date
balance: PriceInput!
userEmail: String
channel: String
isActive: Boolean!
code: String
note: String
}

Fields

GiftCardCreateInput.addTags ● [String!] list scalar

The gift card tags to add.

Added in Saleor 3.1

GiftCardCreateInput.expiryDate ● Date scalar

The gift card expiry date.

Added in Saleor 3.1

GiftCardCreateInput.startDate ● Date scalar

Start date of the gift card in ISO 8601 format.

DEPRECATED: this field will be removed in Saleor 4.0.

GiftCardCreateInput.endDate ● Date scalar

End date of the gift card in ISO 8601 format.

DEPRECATED: this field will be removed in Saleor 4.0. Use expiryDate from expirySettings instead.

GiftCardCreateInput.balance ● PriceInput! non-null input

Balance of the gift card.

GiftCardCreateInput.userEmail ● String scalar

Email of the customer to whom gift card will be sent.

GiftCardCreateInput.channel ● String scalar

Slug of a channel from which the email should be sent.

Added in Saleor 3.1

GiftCardCreateInput.isActive ● Boolean! non-null scalar

Determine if gift card is active.

Added in Saleor 3.1

GiftCardCreateInput.code ● String scalar

Code to use the gift card.

DEPRECATED: this field will be removed in Saleor 4.0. The code is now auto generated.

GiftCardCreateInput.note ● String scalar

The gift card note from the staff member.

Added in Saleor 3.1

Member of

giftCardCreate mutation


Was this page helpful?