Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

GiftCardUpdateInput Input Type

input GiftCardUpdateInput {
  addTags: [String!]
  expiryDate: Date
  metadata: [MetadataInput!]
  privateMetadata: [MetadataInput!]
  startDate: Date @deprecated
  endDate: Date @deprecated(reason: "Use `expiryDate` from `expirySettings` instead.")
  removeTags: [String!]
  balanceAmount: PositiveDecimal
}

Fields

addTags

addTags · [String!]

The gift card tags to add.

expiryDate

expiryDate · Date

The gift card expiry date.

metadata

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

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.

startDate

startDate · Date

Start date of the gift card in ISO 8601 format.

endDate

endDate · Date

End date of the gift card in ISO 8601 format.

removeTags

removeTags · [String!]

The gift card tags to remove.

balanceAmount

balanceAmount · PositiveDecimal

The gift card balance amount.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?