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.

What happens if the order is edited in Shopify? Do you support that, or is your application the source of truth?

If the order cannot be edited by Shopify admin or an app, storing the fulfillment order and fulfillment order line item ids will give you the info you need. An order edit may invalidate these associations. Does your app already re-process an order in reaction to order edits?

I hope that helps and does not actually makes it worse.