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.

The order is only edited in my app. I retrieve the order details from Shopify when the order is placed and then fulfil each item of the order in turn as it is shipped.

I just need to know how to associate the FulfillmentOrderLineItemID with the corresponding line item ID if I can no longer retrieve the Line Item as a child of the FulfillmentOrderLineItem