GiftCardUpdateInput Input Type
No description
input GiftCardUpdateInput {
addTags: [String!]
expiryDate: Date
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
startDate: Date @deprecated
endDate: Date @deprecated
removeTags: [String!]
balanceAmount: PositiveDecimal
}
Fields
GiftCardUpdateInput.addTags ● [String!] list scalar miscellaneous
The gift card tags to add.
GiftCardUpdateInput.expiryDate ● Date scalar miscellaneous
The gift card expiry date.
GiftCardUpdateInput.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.
GiftCardUpdateInput.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.
GiftCardUpdateInput.startDate ● Date deprecated scalar miscellaneous
No longer supported
Start date of the gift card in ISO 8601 format.
GiftCardUpdateInput.endDate ● Date deprecated scalar miscellaneous
Use expiryDate from expirySettings instead.
End date of the gift card in ISO 8601 format.
GiftCardUpdateInput.removeTags ● [String!] list scalar miscellaneous
The gift card tags to remove.
GiftCardUpdateInput.balanceAmount ● PositiveDecimal scalar miscellaneous
The gift card balance amount.
Member Of
giftCardUpdate mutation