---
title: >-
  draftOrderLineItemInput now accepts bundleComponents and the CartTransform
  function runs on all draft orders - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/draftorderlineiteminput-now-accepts-bundlecomponents-and-the-carttransform-function-runs-on-all-draft-orders
  md: >-
    https://shopify.dev/changelog/draftorderlineiteminput-now-accepts-bundlecomponents-and-the-carttransform-function-runs-on-all-draft-orders.md
metadata:
  effectiveApiVersion: 2024-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-05-08T09:27:51-04:00'
  postedAt: '2024-06-14T09:30:00-04:00'
  updatedAt: '2024-06-14T09:19:38-04:00'
  effectiveAt: '2024-06-14T09:30:00-04:00'
---

June 14, 2024

Tags:

* Admin GraphQL API
* 2024-07

# draftOrderLineItemInput now accepts bundleComponents and the CartTransform function runs on all draft orders

As of version 2024-07 of the GraphQL Admin API, draftOrderLineItemInput now accepts bundleComponents. Apps can view a bundle item's components on a draft using the bundleComponents field and can add a bundle item to a draft order by including this field in the draftOrderLineItemInput.

Additionally, the [CartTransform function](https://shopify.dev/docs/api/functions/reference/cart-transform) will automatically run on all draft orders.

Learn more about bundleComponents on [shopify.dev](https://shopify.dev/docs/api/admin-graphql/2024-07/input-objects/DraftOrderInput#field-draftorderinput-bundlecomponents).
