Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Requires read_gift_cards access scope.

Returns a gift card resource by ID.

ID!required

The ID of the GiftCard to return.


Was this section helpful?

Represents an issued gift card.

balance
non-null

The gift card's remaining balance.

createdAt
non-null

The date and time at which the gift card was created.

customer

The customer who will receive the gift card.

enabled
non-null

Whether the gift card is enabled.

expiresOn

The date at which the gift card will expire.

id
non-null

A globally-unique ID.

initialValue
non-null

The initial value of the gift card.

lastCharacters
non-null

The final four characters of the gift card code.

maskedCode
non-null

The gift card code. Everything but the final four characters is masked.

note

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

order

The order associated with the gift card. This value is null if the gift card was issued manually.

disabledAt
Deprecated

The date and time at which the gift card was disabled. Use deactivatedAt instead.


Was this section helpful?