GiftCardCreateInput Input Type
No description
input GiftCardCreateInput {
addTags: [String!]
expiryDate: Date
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
startDate: Date @deprecated
endDate: Date @deprecated
balance: PriceInput!
userEmail: String
channel: String
isActive: Boolean!
code: String @deprecated
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.metadata ● [MetadataInput!] list input miscellaneous
Gift Card public metadata.
Added in Saleor 3.21. Can be read by any API client authorized to read the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
GiftCardCreateInput.privateMetadata ● [MetadataInput!] list input miscellaneous
Gift Card private metadata.
Added in Saleor 3.21. Requires permissions to modify and to read the metadata of the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
GiftCardCreateInput.startDate ● Date deprecated scalar miscellaneous
No longer supported
Start date of the gift card in ISO 8601 format.
GiftCardCreateInput.endDate ● Date deprecated scalar miscellaneous
Use expiryDate from expirySettings instead.
End date of the gift card in ISO 8601 format.
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 deprecated scalar miscellaneous
The code is now auto generated.
Code to use the gift card.
GiftCardCreateInput.note ● String scalar miscellaneous
The gift card note from the staff member.
Member Of
giftCardCreate mutation