← All Shopify Updates

Shopify Adds Line Item Components Support to Customer Account API in 2026-04

What Changed

Shopify has expanded the Customer Account API with version 2026-04 to include detailed line item component information for draft orders. The DraftOrderLineItem object now features a new components field that returns individual component line items linked to a parent line item. Additionally, a new optional flattenComponents argument has been introduced to the DraftOrder.lineItems connection, which defaults to false for API versions 2026-04 and later, returning only top-level line items with their components accessible via nested fields.

Why This Matters

This update significantly improves how developers can work with complex product structures in draft orders. Previously, accessing component-level details required additional API calls or custom workarounds. Now, developers can retrieve complete line item hierarchies in a single query, enabling more efficient data management for bundled products, customizable items, and composite offerings. This is especially valuable for custom storefront applications and headless commerce implementations that rely on the Customer Account API.

What You Should Do

How GetShopifyToken Helps

GetShopifyToken streamlines the authentication process for Shopify app developers, ensuring you have the proper access tokens to work with the latest API features. Our OAuth solutions make it simple to securely implement these new capabilities in your custom applications.

← More Shopify Updates