---
title: Set LineItem attributes using CartTransform - 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/set-lineitem-attributes-using-carttransform'
  md: 'https://shopify.dev/changelog/set-lineitem-attributes-using-carttransform.md'
metadata:
  effectiveApiVersion: 2024-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2024-02-12T08:12:22-05:00'
  postedAt: '2024-04-01T10:09:00-04:00'
  updatedAt: '2024-03-12T10:35:55-04:00'
  effectiveAt: '2024-04-01T10:09:00-04:00'
---

April 1, 2024

Tags:

* API
* 2024-04

# Set LineItem attributes using CartTransform

As of 2024-04, you can set LineItem attributes on Bundle items using `CartTransform` [`Merge`](https://shopify.dev/docs/api/functions/reference/cart-transform#example-merge-operation) and [`Expand`](https://shopify.dev/docs/api/functions/reference/cart-transform#example-expand-operation) operations.

You can set custom attributes to either the Bundle item or its components using the new field.

Learn more about Bundles on [Shopify.dev](https://shopify.dev/docs/api/functions/reference/cart-transform).
