> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/gift-cards/llms.txt)
> Source: https://docs.saleor.io/api-reference/gift-cards/inputs/gift-card-create-input

# GiftCardCreateInput Input Type

No description

```graphql
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
  assignedTo: ID
}
```

<a id="fields"></a>

### Fields

<a id="add-tags"></a>

#### [`addTags`](#add-tags) ● [`[String!]`](/api-reference/miscellaneous/scalars/string.md)

The gift card tags to add.

<a id="expiry-date"></a>

#### [`expiryDate`](#expiry-date) ● [`Date`](/api-reference/miscellaneous/scalars/date.md)

The gift card expiry date.

<a id="metadata"></a>

#### [`metadata`](#metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="private-metadata"></a>

#### [`privateMetadata`](#private-metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

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.

<a id="balance"></a>

#### [`balance`](#balance) ● [`PriceInput!`](/api-reference/miscellaneous/inputs/price-input.md)

Balance of the gift card.

<a id="user-email"></a>

#### [`userEmail`](#user-email) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Email of the customer to whom gift card will be sent.

<a id="channel"></a>

#### [`channel`](#channel) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Slug of a channel from which the email should be sent.

<a id="is-active"></a>

#### [`isActive`](#is-active) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Determine if gift card is active.

<a id="note"></a>

#### [`note`](#note) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The gift card note from the staff member.

<a id="assigned-to"></a>

#### [`assignedTo`](#assigned-to) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

ID of the customer the gift card is restricted to.

Added in Saleor 3.23 Show deprecatedHide deprecated

<a id="start-date"></a>

#### [`startDate`](#start-date) ● [`Date`](/api-reference/miscellaneous/scalars/date.md)

DEPRECATED

No longer supported

Start date of the gift card in ISO 8601 format.

<a id="end-date"></a>

#### [`endDate`](#end-date) ● [`Date`](/api-reference/miscellaneous/scalars/date.md)

DEPRECATED

Use `expiryDate` from `expirySettings` instead.

End date of the gift card in ISO 8601 format.

<a id="code"></a>

#### [`code`](#code) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

DEPRECATED

The code is now auto generated.

Code to use the gift card.

<a id="member-of"></a>

### Member Of

[`giftCardCreate`](/api-reference/gift-cards/mutations/gift-card-create.md) mutation
