---
title: New lineItem field on the GiftCard object - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/new-lineitem-field-on-the-giftcard-graphql-object
  md: >-
    https://shopify.dev/changelog/new-lineitem-field-on-the-giftcard-graphql-object.md
metadata:
  effectiveApiVersion: 2026-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2026-04-07T12:30:42-04:00'
  postedAt: '2026-07-01T12:00:00-04:00'
  updatedAt: '2026-06-25T12:56:53-04:00'
  effectiveAt: '2026-04-08T12:00:00-04:00'
---

July 1, 2026

Tags:

* Admin GraphQL API
* 2026-07

# New `lineItem` field on the `GiftCard` object

The GraphQL Admin API's [`GiftCard`](https://shopify.dev/docs/api/admin-graphql/2026-07/objects/GiftCard) object now includes a [`lineItem`](https://shopify.dev/docs/api/admin-graphql/2026-07/objects/GiftCard#field-GiftCard.fields.lineItem) field, representing the `LineItem` from the order that initiated the gift card's creation. The field returns `null` for gift cards that were issued manually instead of through an order.
