Skip to main content

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 miscellaneous

The gift card tags to add.

Added in Saleor 3.1

GiftCardCreateInput.expiryDate ● Date scalar miscellaneous

The gift card expiry date.

Added in Saleor 3.1

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.

Added in Saleor 3.1

GiftCardCreateInput.isActive ● Boolean! non-null scalar miscellaneous

Determine if gift card is active.

Added in Saleor 3.1

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.

Added in Saleor 3.1

Member Of

giftCardCreate mutation