---
title: GiftCardCreateInput - GraphQL Admin
description: The input fields to issue a gift card.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/GiftCardCreateInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/GiftCardCreateInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Gift​Card​Create​Input

input\_object

The input fields to issue a gift card.

## Fields

* code

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The gift card's code. It must be 8-20 characters long and contain only letters(a-z) and numbers(0-9). It isn't case sensitive. If not provided, then a random code will be generated.

* cross​Currency​Redemption​Strategy

  [Gift​Card​Cross​Currency​Redemption​Strategy](https://shopify.dev/docs/api/admin-graphql/latest/enums/GiftCardCrossCurrencyRedemptionStrategy)

  The strategy used to convert the gift card's balance when it's redeemed in a currency other than the one it was issued in. When not provided, defaults to `MARKET_FX` for gift cards issued in the shop's currency, and `NONE` for gift cards issued in a different currency.

* customer​Id

  [ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  The ID of the customer the gift card is issued to, as opposed to the gift recipient. Requires `write_customers` access\_scope.

* expires​On

  [Date](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Date)

  The date at which the gift card will expire. If not provided, then the gift card will never expire.

* initial​Amount

  [Money​Input](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/MoneyInput)

  The initial amount of the gift card.

* note

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The note associated with the gift card, which isn't visible to the customer.

* recipient​Attributes

  [Gift​Card​Recipient​Input](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/GiftCardRecipientInput)

  The recipient attributes of the gift card.

* template​Suffix

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The suffix of the Liquid template that's used to render the gift card online. For example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`. If not provided, then the default `gift_card.liquid` template is used.

* initial​Value

  [Decimal](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Decimal)

  Deprecated

***

## Mutations using this input

* [gift​Card​Create.input](https://shopify.dev/docs/api/admin-graphql/latest/mutations/giftCardCreate#arguments-input)

  ARGUMENT

***

## Map

### Mutations using this input

* [gift​Card​Create.input](https://shopify.dev/docs/api/admin-graphql/latest/mutations/giftCardCreate#arguments-input)
