Skip to main content

GiftCardCreateInput Input Type

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 miscellaneous

The gift card tags to add.

GiftCardCreateInput.expiryDate ● Date scalar miscellaneous

The gift card expiry date.

GiftCardCreateInput.startDate ● Date scalar miscellaneous

Start date of the gift card in ISO 8601 format.

DEPRECATED: this field will be removed in Saleor 4.0.

GiftCardCreateInput.endDate ● Date scalar miscellaneous

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 miscellaneous

Balance of the gift card.

GiftCardCreateInput.userEmail ● String scalar miscellaneous

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

GiftCardCreateInput.channel ● String scalar miscellaneous

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

GiftCardCreateInput.isActive ● Boolean! non-null scalar miscellaneous

Determine if gift card is active.

GiftCardCreateInput.code ● String scalar miscellaneous

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 miscellaneous

The gift card note from the staff member.

Member Of

giftCardCreate mutation