<div class="doc-version" data-version="unstable"> <p>An operation to apply to the Cart.</p> <h2 id="input-fields-unstable">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> expand (<a href="/api/functions/reference/cart-transform/graphql/common-objects/expandoperation"><code>ExpandOperation</code></a>) </div> </div> <div> <p>A cart line expand operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> merge (<a href="/api/functions/reference/cart-transform/graphql/common-objects/mergeoperation"><code>MergeOperation</code></a>) </div> </div> <div> <p>A cart line merge operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> update (<a href="/api/functions/reference/cart-transform/graphql/common-objects/updateoperation"><code>UpdateOperation</code></a>) </div> </div> <div> <p>A cart line update operation. Only stores on the Shopify Plus plan can use apps with update operations.</p> </div> </li> </ul> </div> <div class="doc-version doc-version--rc" data-version="2025-07"> <p>An operation to apply to the Cart.</p> <h2 id="input-fields-2025-07">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> expand (<a href="/api/functions/reference/cart-transform/graphql/common-objects/expandoperation"><code>ExpandOperation</code></a>) </div> </div> <div> <p>A cart line expand operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> merge (<a href="/api/functions/reference/cart-transform/graphql/common-objects/mergeoperation"><code>MergeOperation</code></a>) </div> </div> <div> <p>A cart line merge operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> update (<a href="/api/functions/reference/cart-transform/graphql/common-objects/updateoperation"><code>UpdateOperation</code></a>) </div> </div> <div> <p>A cart line update operation. Only stores on the Shopify Plus plan can use apps with update operations.</p> </div> </li> </ul> </div> <div class="doc-version doc-version--latest selected" data-version="2025-04"> <p>An operation to apply to the Cart.</p> <h2 id="input-fields-2025-04">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> expand (<a href="/api/functions/reference/cart-transform/graphql/common-objects/expandoperation"><code>ExpandOperation</code></a>) </div> </div> <div> <p>A cart line expand operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> merge (<a href="/api/functions/reference/cart-transform/graphql/common-objects/mergeoperation"><code>MergeOperation</code></a>) </div> </div> <div> <p>A cart line merge operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> update (<a href="/api/functions/reference/cart-transform/graphql/common-objects/updateoperation"><code>UpdateOperation</code></a>) </div> </div> <div> <p>A cart line update operation. Only stores on the Shopify Plus plan can use apps with update operations.</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2025-01"> <p>An operation to apply to the Cart.</p> <h2 id="input-fields-2025-01">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> expand (<a href="/api/functions/reference/cart-transform/graphql/common-objects/expandoperation"><code>ExpandOperation</code></a>) </div> </div> <div> <p>A cart line expand operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> merge (<a href="/api/functions/reference/cart-transform/graphql/common-objects/mergeoperation"><code>MergeOperation</code></a>) </div> </div> <div> <p>A cart line merge operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> update (<a href="/api/functions/reference/cart-transform/graphql/common-objects/updateoperation"><code>UpdateOperation</code></a>) </div> </div> <div> <p>A cart line update operation. Only stores on the Shopify Plus plan can use apps with update operations.</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-10"> <p>An operation to apply to the Cart.</p> <h2 id="input-fields-2024-10">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> expand (<a href="/api/functions/reference/cart-transform/graphql/common-objects/expandoperation"><code>ExpandOperation</code></a>) </div> </div> <div> <p>A cart line expand operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> merge (<a href="/api/functions/reference/cart-transform/graphql/common-objects/mergeoperation"><code>MergeOperation</code></a>) </div> </div> <div> <p>A cart line merge operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> update (<a href="/api/functions/reference/cart-transform/graphql/common-objects/updateoperation"><code>UpdateOperation</code></a>) </div> </div> <div> <p>A cart line update operation. Only stores on the Shopify Plus plan can use apps with update operations.</p> </div> </li> </ul> </div> <div class="doc-version" data-version="2024-07"> <p>An operation to apply to the Cart.</p> <h2 id="input-fields-2024-07">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> expand (<a href="/api/functions/reference/cart-transform/graphql/common-objects/expandoperation"><code>ExpandOperation</code></a>) </div> </div> <div> <p>A cart line expand operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> merge (<a href="/api/functions/reference/cart-transform/graphql/common-objects/mergeoperation"><code>MergeOperation</code></a>) </div> </div> <div> <p>A cart line merge operation.</p> </div> </li> <li> <div class="field"> <div class="field-name"> update (<a href="/api/functions/reference/cart-transform/graphql/common-objects/updateoperation"><code>UpdateOperation</code></a>) </div> </div> <div> <p>A cart line update operation. Only stores on the Shopify Plus plan can use apps with update operations.</p> </div> </li> </ul> </div>