Get specific gift card was generated for that order

Topic summary

A developer is seeking methods to identify gift cards generated from specific orders using Shopify’s GraphQL API (2025-01 version).

Core Issue:

  • Need to determine how many gift cards are created from an order when the receipt array is unavailable in fulfillment data
  • Looking for GraphQL equivalent to REST API’s fulfillment array, which previously contained this gift card information

Current Status:

  • Question remains unanswered
  • Another user has expressed interest in finding the same solution
  • No workarounds or official approaches have been shared yet
Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

Hi Team,

Could you please provide a workaround solution for determining how many gift cards are generated from an order if the receipt array is not available in the fulfillment?

Additionally, if I add a gift card product and an order generates a gift card, how can I use GraphQL (Shopify 2025-01) to identify the specific gift card that was generated for that order?

In the REST API, this information is available in the fulfillment array. Is there an equivalent approach in GraphQL for the latest version?

Hi, have you managed to find a solution?