← Latest Shopify changes

Line item component information now available for draft orders on the Customer Account API

APINewCustomer Account API2026-04

Shopify developer change

MerchantDiff detected this entry in Shopify's official developer changelog on April 01, 2026.

This Shopify update is categorized as API, New, Customer Account API, 2026-04.

What changed

As of Customer Account API version 2026-04, the DraftOrderLineItem object includes a new components field. This field returns the individual component line items associated with a parent line item. Additionally, a new optional argument, flattenComponents, has been introduced to the DraftOrder.lineItems connection. For API versions 2026-04 and later, flattenComponents defaults to false, meaning only top-level line items are returned as nodes, with their components accessible via the DraftOrderLineItem.components field. If set to true, both parent and component line items are returned as top-level nodes, aligning with the behavior of earlier API versions.

Who is affected

Developers building customer account experiences or extensions should review this change.

What action may be needed

Review whether the new capability is relevant to your app. If you plan to use it, test the affected API or workflow before adopting it in production.

Referenced API version: 2026-04

Use the official Shopify entry below as the source of truth for technical implementation details, affected APIs, migration instructions and deadlines.

Want the actionable version?

MerchantDiff monitors Shopify API changes, deprecations, deadlines and ecosystem updates, then turns them into developer-focused release intelligence: what changed, who is affected and what action may be needed.

Get MerchantDiff →