Skip to main content

Field isGiftCard on all line item types

As of Admin GraphQL API version 2024-04, the isGiftCard field that was present on DraftOrderLineItem and CalculatedDraftOrderLineItem is now also present on:

  • ExchangeCheckoutLineItem
  • ExchangeV2LineItem
  • LineItem
  • LineItemMutable

It is now preferable to use this field to check whether a line item is a gift card instead of using the fulfillment service.

Was this section helpful?