How to stop my code accessing FulfillmentOrderLineItem. lineItem

Topic summary

A developer encountered a deprecation warning when accessing the lineItem field on FulfillmentOrderLineItem while migrating to the new FulfillmentOrders API. The issue centers on associating FulfillmentOrderLineItemID with the corresponding LineItem when custom attributes differ between items with the same SKU.

Core Problem:

  • The developer’s workflow stores LineItemID and FulfillmentOrderLineItemID together to track custom attributes (personalization options) for individual items
  • Without the lineItem connection, they cannot determine which FulfillmentOrderLineItemID corresponds to which personalized item when fulfilling orders

Key Developments:

  • Initially, Shopify staff suggested the deprecation was planned and recommended using product SKU/name instead
  • Multiple users reported needing customAttributes on FulfillmentOrderLineItem to differentiate items with identical SKUs
  • Shopify acknowledged plans to add customAttributes field but provided no ETA

Resolution:
Due to community feedback, the deprecation notice has been removed from the lineItem connection. Developers can continue using this field safely without immediate migration concerns.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Hi Rob, I still don’t understand how to solve this problem.

If Shopify creates a FulfillmentOrderLineItemID for each item in my order but doesn’t supply identifying information (the LineItem ID) - how will I know which FulfillmentOrderLineItemID should be associated with which Line Item when I come to fulfil each Line Item?

Is it possible to somehow look up the FulfillmentOrderLineItemID from the LineItem and do it the other way around?