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
addTags ● [String!]
The gift card tags to add.
expiryDate ● Date
The gift card expiry date.
metadata ● [MetadataInput!]
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.
privateMetadata ● [MetadataInput!]
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.
balance ● PriceInput!
Balance of the gift card.
userEmail ● String
Email of the customer to whom gift card will be sent.
channel ● String
Slug of a channel from which the email should be sent.
isActive ● Boolean!
Determine if gift card is active.
note ● String
The gift card note from the staff member.
Show deprecated
Member Of
giftCardCreate mutation