Commit e9f40f9d644 for woocommerce

commit e9f40f9d64498a732565533039eeb151ad1c9879
Author: Mario Santos <34552881+SantosGuillamot@users.noreply.github.com>
Date:   Wed Dec 2 15:42:40 2026 +0100

    Align the cart actions with the proposal (#69038)

    * Rename the cart store's refreshCartItems action to refreshCart and drop the Product Button forwarder

    * Test the refreshCart load, sync, retry, skip and discard behavior

    * Add the updateCartItem action to the woocommerce cart store

    * Move the Mini-Cart quantity controls to updateCartItem

    * Make addCartItem and batchAddCartItems add-only with quantity as the delta

    * Move the cart adders to the quantity delta input

    * Call addCartItem with quantity in the cart store e2e specs

    * Remove type from the optimistic cart line type

    * Update the cart store README for addCartItem and updateCartItem

    * Add a changelog entry for the cart actions alignment

    * Trim the cart store and Product Button tests to the ones the change needs

    * Describe the cart actions' return types as they are now

    * Remove the store registration test and the Product Button store test

    * Add the amount to add as a number in addCartItem and batchAddCartItems

    * Recognise variation lines through isCartItem in the cart readers

    * Document that the cart add actions accept a numeric-string quantity

    * Move trunk's new isCartUpdating test to the aligned cart actions

    The isCartUpdating test from #69792 drives a keyed addCartItem call with
    a type field. Call updateCartItem with the key and quantity instead, as
    the other keyed callers now do.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    * Move trunk's new cart store tests to the aligned cart actions

    Tests trunk added after this branch was cut still called addCartItem with
    quantityToAdd, type, and a key. Call addCartItem with quantity and the
    keyed quantity update through updateCartItem instead.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    * Drop a stale Mini-Cart reference and attach the refreshCart docblock

    The Saved for Later comment pointed at a raw_attribute swap that the
    Mini-Cart's changeQuantity no longer does. The refreshCart docblock sat
    above the existing Todo comment instead of above the member.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    * Test that the Mini-Cart refreshes the cart through refreshCart

    The Mini-Cart's document directives name the woocommerce store action
    as a string, so nothing else ties them to the renamed action.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    * Address review feedback on the cart actions

    - Name updateCartItem in the DOM events doc for quantity updates.
    - Drop the claim that add quantities can arrive as numeric strings: no
      WooCommerce caller sends one. Number() stays as a safety net, and the
      two tests that treated strings as expected input are removed.
    - Report the updated key in the sync event even when no rendered line
      has it.
    - Say in the refreshCart docblocks that a retry is dropped while a cart
      change is being sent.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    * Explain why updateCartItem posts the whole rendered line

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    * Run the Mini-Cart refreshCart directive test in a separate process

    Earlier tests in the full suite define WOOCOMMERCE_CART or
    WOOCOMMERCE_CHECKOUT, which can't be undefined. is_cart() then stays
    true and the block renders its hidden cart-page markup, which has no
    directives.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    * Resolve an outcome and take showCartUpdatesNotices in updateCartItem

    updateCartItem resolves { success: true } once its update is accepted and
    { success: false, error } once it is rejected, as addCartItem does, and
    never rejects on a request failure. Its showCartUpdatesNotices option turns
    off the notices built from the response, leaving the rejection notice, the
    events and the announcement as they are.

    * Test that updates sent together resolve their own outcomes

    * Test numeric-string amounts and variation re-adds in the cart store

    * Document the updateCartItem outcome and notices option

    * Describe the add path of the saved-for-later and wishlist e2e test by its quantity delta

    * Run the Mini-Cart refreshCart directive test in the shared process

    The test setup stubs is_cart() and is_checkout() to false, so cart and
    checkout constants defined by earlier tests no longer affect it.

    * Rename the cart item outcome types to CartItemOutcome and CartItemError

    addCartItem and updateCartItem both resolve them, so their names no longer
    say "add". The store module exports only the new names.

    * Give the variation lines of the cart store test their raw_attribute

    * Describe cart notice suppression by the actions that add, not by keys

    Every add now posts without a key, so the notice helper and the cart store
    tests name addCartItem, batchAddCartItems and updateCartItem instead of
    keyless adds and keyed updates.

    * Check that an accepted update keeps the quantity the server set

    * Document that the add actions add a numeric-string quantity as a number

    * Shorten the cart action docblocks and describe refreshCart once

    ---------

    Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

diff --git a/docs/block-development/extensible-blocks/cart-and-checkout-blocks/dom-events.md b/docs/block-development/extensible-blocks/cart-and-checkout-blocks/dom-events.md
index 575cebd7bab..a64ed004caa 100644
--- a/docs/block-development/extensible-blocks/cart-and-checkout-blocks/dom-events.md
+++ b/docs/block-development/extensible-blocks/cart-and-checkout-blocks/dom-events.md
@@ -46,7 +46,7 @@ new CustomEvent( 'wc-blocks_added_to_cart', {

 The jQuery bridges use the same event name and target with `detail: {}` and `cancelable: false`; only the Mini-Cart registration sets `bubbles: true`.

-For the iAPI path, a mutation cycle can contain work from unrelated callers. One successful add-origin mutation causes the single cycle event even when a sibling mutation from another caller fails. The failed caller still receives a failed `addCartItem` outcome. A successful keyed quantity update made through `addCartItem` also has add origin, so this event does not prove that a new cart line was created.
+For the iAPI path, a mutation cycle can contain work from unrelated callers. One successful add-origin mutation causes the single cycle event even when a sibling mutation from another caller fails. The failed caller still receives a failed `addCartItem` or `updateCartItem` outcome. A successful quantity update made through `updateCartItem` also has add origin, so this event does not prove that a new cart line was created.

 `preserveCartData` tells listeners whether to retain current cart data. When it is `false`, listeners can invalidate and refetch cart data. Producers that have already updated the store set it to `true` to avoid an unnecessary refetch.

diff --git a/plugins/woocommerce/changelog/wooplug-7779-02-align-cart-actions b/plugins/woocommerce/changelog/wooplug-7779-02-align-cart-actions
new file mode 100644
index 00000000000..c9138fddc14
--- /dev/null
+++ b/plugins/woocommerce/changelog/wooplug-7779-02-align-cart-actions
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Align the private Interactivity API cart store's actions with the unified store proposal; no behavior change.
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/stores/README.md b/plugins/woocommerce/client/blocks/assets/js/base/stores/README.md
index 5a8d8d031eb..91d7d244d08 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/stores/README.md
+++ b/plugins/woocommerce/client/blocks/assets/js/base/stores/README.md
@@ -5,7 +5,7 @@ This folder contains the Interactivity API (iAPI) stores that WooCommerce blocks
 Stores in this folder:

 -   [`woocommerce/products`](#woocommerceproducts-store) — server-populated cache of product and variation data in Store API format.
--   [`woocommerce`](#woocommerce-store) — loaded from the `@woocommerce/stores/woocommerce` script module; the product and variation data of `woocommerce/products`, read-only, and cart state and actions (with mutation batching for performance). `addCartItem` resolves with a structured per-call outcome (`AddCartItemOutcome`) instead of `void`, and the store's cross-cutting side effects (sync event, legacy event, screen-reader announcement) fire exactly once per batch cycle, not once per request — see below.
+-   [`woocommerce`](#woocommerce-store) — loaded from the `@woocommerce/stores/woocommerce` script module; the product and variation data of `woocommerce/products`, read-only, and cart state and actions (with mutation batching for performance). `addCartItem` and `updateCartItem` resolve with a structured per-call outcome (`CartItemOutcome`), and the store's cross-cutting side effects (sync event, legacy event, screen-reader announcement) fire exactly once per batch cycle, not once per request — see below.

 ---

@@ -237,7 +237,7 @@ For variable products, `findProduct` returns `null` when no variation matches th

 ## `woocommerce` store

-The `woocommerce` Interactivity API store (`base/stores/woocommerce/`) is served as the script module `@woocommerce/stores/woocommerce`, and blocks load it from that id. It holds cart state and actions, with mutation batching for performance, and exposes the product data of `woocommerce/products`. This section covers that product data, the `addCartItem` outcome contract, and the once-per-cycle cross-cutting side effects below — it is not a write-up of the store's full state shape, its other actions, or the rest of the mutation batcher's internals.
+The `woocommerce` Interactivity API store (`base/stores/woocommerce/`) is served as the script module `@woocommerce/stores/woocommerce`, and blocks load it from that id. It holds cart state and actions, with mutation batching for performance, and exposes the product data of `woocommerce/products`. This section covers that product data, the `addCartItem` and `updateCartItem` outcome contract, and the once-per-cycle cross-cutting side effects below — it is not a write-up of the store's full state shape, its other actions, or the rest of the mutation batcher's internals.

 ### Product data

@@ -277,12 +277,12 @@ For now the `woocommerce` store reads this data from `woocommerce/products` inst
 -   On the server, `products` and `productVariations` aren't arrays, so read them by ID only. `is_array()` is false for them, `foreach` finds no entries, and array functions such as `array_key_exists()` don't accept them (a `TypeError` on PHP 8). They exist only once a loader has loaded data in the request.
 -   In the serialized interactivity data, `woocommerce` carries them as empty objects. The client reads the data once the `@woocommerce/stores/woocommerce` module loads, so a block that binds it must load that module.

-### The `addCartItem` outcome contract
+### The `addCartItem` and `updateCartItem` outcome contract

-`addCartItem` returns `Promise< AddCartItemOutcome >` — a structured per-call outcome — instead of `Promise< void >`:
+`addCartItem` and `updateCartItem` return `Promise< CartItemOutcome >`, a structured per-call outcome:

 ```ts
-export type AddCartItemError = {
+export type CartItemError = {
 	/** Server error code for a per-item rejection (e.g. `woocommerce_rest_product_out_of_stock`),
 	 *  or the batcher's `unknown_error` fallback. Absent on whole-batch/transport failures. */
 	code?: string;
@@ -290,26 +290,26 @@ export type AddCartItemError = {
 	message: string;
 };

-export type AddCartItemOutcome =
+export type CartItemOutcome =
 	| { success: true }
-	| { success: false; error: AddCartItemError };
+	| { success: false; error: CartItemError };
 ```

 Both types are exported from the `woocommerce` store's module, `@woocommerce/stores/woocommerce`, and reach consumers through a type-only import:

 ```ts
-import type { AddCartItemOutcome } from '@woocommerce/stores/woocommerce';
+import type { CartItemOutcome } from '@woocommerce/stores/woocommerce';
 ```

-**`addCartItem` stays fire-and-forget.** It never rejects because of a request or server failure — every request path, whether the Store API accepts or rejects it, resolves with an outcome instead of throwing. The action still throws synchronously for its two programmer-error guards (both `quantity` and `quantityToAdd` supplied together, or a keyless call — no `key` — that passes an absolute `quantity` instead of a `quantityToAdd` delta) — those are argument-validation bugs, unrelated to the request outcome below.
+**Both actions are fire-and-forget.** Neither rejects because of a request or server failure — every request path, whether the Store API accepts or rejects it, resolves with an outcome instead of throwing. `updateCartItem` rejects only when called without a `key`, before sending anything.

 Read the outcome from a consuming generator:

 ```ts
 const outcome = ( yield cartActions.addCartItem( {
 	id,
-	quantityToAdd,
-} ) ) as AddCartItemOutcome;
+	quantity,
+} ) ) as CartItemOutcome;

 if ( ! outcome.success ) {
 	// outcome.error.code   — may be absent (e.g. transport/whole-batch failures)
@@ -318,13 +318,15 @@ if ( ! outcome.success ) {
 }
 ```

-**`success: true` means the Store API accepted the request — nothing more needs checking.** That includes a brand-new standalone cart line (e.g. a bundle/booking/add-on "meta" line) as much as an incremented existing line, and a silently server-normalized quantity (capped to a maximum, bumped to a minimum/multiple, or forced to one for a sold-individually product) as much as an exact one. A caller never needs to inspect or diff cart lines to interpret the outcome.
+**`success: true` means the Store API accepted the request — nothing more needs checking.** That includes a brand-new standalone cart line (e.g. a bundle/booking/add-on "meta" line) as much as an incremented existing line, and a silently server-normalized quantity (capped to a maximum, bumped to a minimum/multiple, or forced to one for a sold-individually product) as much as an exact one. The same holds for an update the server applies at a different quantity than the one requested. A caller never needs to inspect or diff cart lines to interpret the outcome.

-**Attribution is per-call, never per-batch.** When several `addCartItem` calls are dispatched within the same tick and coalesced into one `wc/store/v1/batch` request, or issued one after another in a loop, each call's outcome reflects only that call's own product result — never a shared or last-write-wins value from a sibling call, even when calls in the same batch land different outcomes (one product accepted, another rejected).
+**Attribution is per-call, never per-batch.** When several `addCartItem` or `updateCartItem` calls are dispatched within the same tick and coalesced into one `wc/store/v1/batch` request, or issued one after another in a loop, each call's outcome reflects only that call's own request — never a shared or last-write-wins value from a sibling call, even when calls in the same batch land different outcomes (one accepted, another rejected).

-**Both call shapes share the same request path.** A keyless call (no `key`, posts to `add-item`) and a keyed call (`key` supplied, posts to `update-item`) both resolve through the same single request and outcome capture — there is no separate contract for either shape.
+**`addCartItem` only adds.** It takes an `AddCartItemPayload` — `{ id, quantity?, variation? }` — and always posts to `add-item`, where `quantity` is the amount to add (1 when omitted), never the line's new total. A numeric string such as `"2"` in `quantity` is added as the number it holds: the line shown rises by 2 and the request posts the number 2. `batchAddCartItems` takes the same payload for each item and reads its `quantity` the same way. To set a cart line's quantity, call `updateCartItem( { key, quantity }, options? )`, which posts to `update-item`.

-**`removeCartItem` and `batchAddCartItems` do not share this contract.** Both remain typed `Promise<void>` and swallow their own errors the way `addCartItem` used to. Don't assume parity when touching either of them — extending this contract to other cart actions is a separate decision, not something the store does today.
+**Both actions take `{ showCartUpdatesNotices }`**, which defaults to `true`. Set to `false`, an accepted request shows no notice for lines the server changed or removed and no notice for the response's `cart.errors`, and the notices already shown stay. A rejected request shows its error notice either way.
+
+**`removeCartItem` and `batchAddCartItems` do not share this contract.** Both are typed `Promise<void>` and swallow their own request errors: a failed request shows an error notice and the call still resolves. Don't assume parity when touching either of them.

 For a worked example, see `onClickMoveToCart` in `saved-for-later/frontend.ts` and `onClickAddToCart` in `wishlist/frontend.ts` — both read the outcome and gate a destructive list-removal on `outcome.success`.

@@ -338,7 +340,7 @@ The store emits three cart-wide side effects whenever a mutation succeeds:

 These fire **exactly once per mutation batch cycle, not once per request**. When the mutation batcher (`woocommerce/cart/mutation-batcher.ts`) coalesces several concurrent mutations — e.g. N concurrent `addCartItem` calls issued in the same tick — into one processing cycle and one `/wc/store/v1/batch` request, each of the three effects fires only once for that cycle, not once per coalesced request. Before this mechanism existed, each of the three effects was wired per request rather than per cycle, so N coalesced mutations produced N sync events (N redundant resync GETs), N legacy events, and N announcements; a single successful mutation still produces exactly one of each, unchanged.

-**Mechanism.** Every action that calls `sendCartRequest` attaches a per-request `meta: { quantityChanges, origin }` (type `CartMutationMeta`) describing that one mutation: `quantityChanges` is its contribution to the sync event's payload (`productsPendingAdd` / `cartItemsPendingQuantity` / `cartItemsPendingDelete`), and `origin` is `'add'` (set by `addCartItem` and `batchAddCartItems`, regardless of whether the mutation hit `add-item` or `update-item`) or `'remove'` (set by `removeCartItem`). The batcher carries `meta` through unchanged and, once a cycle settles — synchronously, after the cycle's server state is committed (or rolled back) and before the queue's `isProcessing` state clears — invokes the mutation queue's `onCycleSettled` config callback exactly once, with one `{ success, meta }` entry per request in the cycle. The `onCycleSettled` callback built into the queue passed to `createMutationQueue` inside `sendCartRequest` is the single place in `woocommerce/cart/actions.ts` that emits the three effects; no action emits them itself.
+**Mechanism.** Every action that calls `sendCartRequest` attaches a per-request `meta: { quantityChanges, origin }` (type `CartMutationMeta`) describing that one mutation: `quantityChanges` is its contribution to the sync event's payload (`productsPendingAdd` / `cartItemsPendingQuantity` / `cartItemsPendingDelete`), and `origin` is `'add'` (set by `addCartItem` and `batchAddCartItems`, which post to `add-item`, and by `updateCartItem`, which posts to `update-item`) or `'remove'` (set by `removeCartItem`). The batcher carries `meta` through unchanged and, once a cycle settles — synchronously, after the cycle's server state is committed (or rolled back) and before the queue's `isProcessing` state clears — invokes the mutation queue's `onCycleSettled` config callback exactly once, with one `{ success, meta }` entry per request in the cycle. The `onCycleSettled` callback built into the queue passed to `createMutationQueue` inside `sendCartRequest` is the single place in `woocommerce/cart/actions.ts` that emits the three effects; no action emits them itself.

 **Gates.** The callback applies three rules to the cycle's successful entries (`entry.success && entry.meta`):

@@ -350,4 +352,4 @@ Per-item error notices and each action's own info-notice update (including its `

 **`batchAddCartItems`.** A single `batchAddCartItems` call is just a cycle whose requests all originate from one call, so it goes through the exact same `onCycleSettled` mechanism as `addCartItem`/`removeCartItem`: each item submits its own `meta` (all `origin: 'add'`), and the call still produces one sync event, one legacy event, and one announcement when at least one item succeeds. Its merged sync `quantityChanges` is the union of only the *successful* items' entries — a failed item contributes nothing, since it made no server change.

-**Stays internal.** This is purely store-side wiring: no new option, export, or event was added for consumers to orchestrate or suppress these effects. `addCartItem` and `batchAddCartItems` still expose only their existing `showCartUpdatesNotices` option, which does not touch these three effects, and the `woocommerce` store remains private — see the note at the top of this file.
+**Stays internal.** This is purely store-side wiring: no new option, export, or event was added for consumers to orchestrate or suppress these effects. `addCartItem`, `updateCartItem` and `batchAddCartItems` expose only their `showCartUpdatesNotices` option, which does not touch these three effects, and the `woocommerce` store remains private — see the note at the top of this file.
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/actions.ts b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/actions.ts
index 7394e17321f..0cdc5987d27 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/actions.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/actions.ts
@@ -21,16 +21,16 @@ import {
 	type MutationResult,
 } from './mutation-batcher';
 import {
-	computeKeylessAddSuppressKeys,
+	computeAddSuppressKeys,
 	generateErrorNotice,
 	getInfoNoticesFromCartUpdates,
 } from './notices';
 import { isCartItem, lineMatchesProduct } from './utils';
 import type { SelectedAttributes, WooCommerceConfig } from '../types';
 import type {
-	AddCartItemOutcome,
+	CartItemOutcome,
+	AddCartItemPayload,
 	CartUpdateOptions,
-	ClientCartItem,
 	OptimisticCartItem,
 	Store,
 } from './types';
@@ -51,11 +51,10 @@ type CartMutationMeta = {
 	/** The quantity changes this single mutation contributes, if it succeeds. */
 	quantityChanges: QuantityChanges;
 	/**
-	 * Whether this mutation was issued by an add-style action (`addCartItem`
-	 * or `batchAddCartItems`, regardless of whether it hit the `add-item` or
-	 * `update-item` endpoint) or by `removeCartItem`. Only `'add'`-origin
-	 * successes trigger the legacy added-to-cart event and the screen-reader
-	 * announcement.
+	 * Whether this mutation was issued by an add-style action (`addCartItem`,
+	 * `updateCartItem` or `batchAddCartItems`) or by `removeCartItem`. Only
+	 * `'add'`-origin successes trigger the legacy added-to-cart event and the
+	 * screen-reader announcement.
 	 */
 	origin: 'add' | 'remove';
 };
@@ -73,6 +72,28 @@ function generateError( error: ApiErrorResponse ): Error {
 	} );
 }

+/**
+ * Builds the failure outcome of a rejected cart request.
+ *
+ * @param error The rejection of the request.
+ * @return `{ success: false, error }`, with the rejection's `code` when it has
+ *         one and a non-empty `message`.
+ */
+function getFailureOutcome( error: unknown ): CartItemOutcome {
+	return {
+		success: false,
+		error: {
+			...( ( error as ApiErrorResponse )?.code && {
+				code: ( error as ApiErrorResponse ).code,
+			} ),
+			message:
+				( error instanceof Error && error.message ) ||
+				String( error ) ||
+				'Request failed',
+		},
+	};
+}
+
 /**
  * Computes the canonical product token for accumulating per-product totals
  * across a batch.
@@ -184,7 +205,7 @@ let a11yPromise: Promise< typeof import( '@wordpress/a11y' ) > | null = null;
  * Kicks off (once) the dynamic import of `@wordpress/a11y` and stashes its
  * `speak` export into {@link speakFn} on resolution.
  *
- * Called at the start of `addCartItem` and `batchAddCartItems` so the module
+ * Called at the start of `addCartItem`, `updateCartItem` and `batchAddCartItems` so the module
  * is already loading — often already resolved — by the time the mutation
  * cycle settles and needs to announce. A rejected import (e.g. a chunk-load
  * failure) is swallowed: it degrades the eventual announcement to a no-op
@@ -323,15 +344,18 @@ const { actions } = store< Store >(
 				key,
 				variation,
 			}: {
-				id: ClientCartItem[ 'id' ];
-				key?: ClientCartItem[ 'key' ];
-				variation?: ClientCartItem[ 'variation' ];
+				id: number;
+				key?: string | undefined;
+				variation?: SelectedAttributes[] | undefined;
 			} ) {
 				return state.cart.items.find( ( cartItem ) => {
 					if ( key ) {
 						return key === cartItem.key;
 					}
-					if ( cartItem.type === 'variation' ) {
+					if (
+						isCartItem( cartItem ) &&
+						cartItem.type === 'variation'
+					) {
 						if (
 							id !== cartItem.id ||
 							! cartItem.variation ||
@@ -395,185 +419,205 @@ const { actions } = store< Store >(
 				}
 			},

-			*addCartItem(
-				{ id, key, quantity, quantityToAdd, variation }: ClientCartItem,
+			/**
+			 * Sets the quantity of the cart line with the given key by posting
+			 * `update-item`. The line shown changes at once unless it is sold
+			 * individually. Never rejects on a request failure: an error notice
+			 * shows and the outcome carries it.
+			 *
+			 * @param  args                           The update.
+			 * @param  args.key                       The key of the line to update. Required.
+			 * @param  args.quantity                  The new absolute quantity of the line.
+			 * @param  options                        The call options.
+			 * @param  options.showCartUpdatesNotices Whether to show the notices for
+			 *                                        the cart update. Defaults to true.
+			 * @return `{ success: true }` once the update is accepted, or
+			 *         `{ success: false, error }` when it is rejected.
+			 * @throws {Error} When `key` is missing, before any request or change.
+			 */
+			*updateCartItem(
+				{
+					key,
+					quantity,
+				}: {
+					key: string;
+					quantity: number;
+				},
 				{ showCartUpdatesNotices = true }: CartUpdateOptions = {}
-			): AsyncAction< AddCartItemOutcome > {
-				if ( quantity !== undefined && quantityToAdd !== undefined ) {
-					throw new Error(
-						'addCartItem: pass either quantity or quantityToAdd, not both.'
-					);
+			): AsyncAction< CartItemOutcome > {
+				if ( ! key ) {
+					throw new Error( 'updateCartItem: a key is required.' );
 				}

-				// Keyless-requires-delta invariant. A keyless add always issues
-				// `add-item`, whose quantity is a delta added to the existing
-				// line; rapid-click compounding relies on that — each click sends
-				// its own delta and the server sums them (N -> N+1 -> N+2). An
-				// absolute `quantity` on a keyless add would be misread as a delta
-				// and corrupt that compounding, so keyless callers must pass
-				// `quantityToAdd`. An absolute `quantity` is legitimate only when
-				// paired with an explicit `key`: that is the keyed-stepper path
-				// (mini-cart / cart-block quantity controls), which targets one
-				// known line via `update-item` and sets its quantity outright.
-				// Those keyed callers are intentionally exempt from this guard.
-				if (
-					key === undefined &&
-					quantity !== undefined &&
-					quantityToAdd === undefined
-				) {
-					throw new Error(
-						'addCartItem: a keyless add must pass quantityToAdd (a delta), not an absolute quantity.'
-					);
+				preloadA11y();
+
+				const existingItem = state.cart.items.find(
+					( item ) => item.key === key
+				);
+
+				// Sends the whole rendered line, as before, in case a REST
+				// request filter reads more than `key` and `quantity`. The
+				// endpoint itself only reads those two. A key with no rendered
+				// line is posted bare.
+				const body = existingItem
+					? { ...existingItem, quantity }
+					: { key, quantity };
+
+				// Capture cart state after optimistic updates for notice comparison.
+				let cartAfterOptimistic: typeof state.cart | null = null;
+
+				// As in `addCartItem`, captured as soon as the request settles,
+				// so a later throw while showing notices cannot downgrade it.
+				let outcome: CartItemOutcome | undefined;
+
+				try {
+					const result = ( yield sendCartRequest( state, {
+						path: '/wc/store/v1/cart/update-item',
+						method: 'POST',
+						body,
+						applyOptimistic: () => {
+							const isSoldIndividually =
+								!! existingItem &&
+								isCartItem( existingItem ) &&
+								existingItem.sold_individually;
+							if ( existingItem && ! isSoldIndividually ) {
+								existingItem.quantity = quantity;
+							}
+							cartAfterOptimistic = JSON.parse(
+								JSON.stringify( state.cart )
+							);
+						},
+						meta: {
+							quantityChanges: {
+								cartItemsPendingQuantity: [ key ],
+							},
+							origin: 'add',
+						},
+					} ) ) as TypeYield< typeof sendCartRequest >;
+
+					outcome = { success: true };
+
+					const cart = result.data as Cart;
+					if (
+						showCartUpdatesNotices &&
+						cart &&
+						cartAfterOptimistic
+					) {
+						const infoNotices = getInfoNoticesFromCartUpdates(
+							cartAfterOptimistic,
+							cart
+						);
+						const errorNotices =
+							cart.errors.map( generateErrorNotice );
+						yield actions.updateNotices(
+							[ ...infoNotices, ...errorNotices ],
+							true
+						);
+					}
+				} catch ( error ) {
+					void actions.showNoticeError( error as Error );
+					outcome ??= getFailureOutcome( error );
 				}

+				return outcome as CartItemOutcome;
+			},
+
+			/**
+			 * Adds `quantity` units of a product to the cart by posting `add-item`
+			 * with that amount, whatever line already holds the product. The
+			 * matching line shown rises by it at once, so rapid calls compound.
+			 * Never rejects on a request failure: the outcome carries it.
+			 *
+			 * @param payload                        The product to add.
+			 * @param payload.id                     The product or variation id.
+			 * @param payload.quantity               The amount to add. Defaults to 1.
+			 * @param payload.variation              The selected attributes of a variation.
+			 * @param options                        The call options.
+			 * @param options.showCartUpdatesNotices Whether to show the notices for
+			 *                                       the cart update. Defaults to true.
+			 * @return `{ success: true }` once the request is accepted, or
+			 *         `{ success: false, error }` when it is rejected.
+			 */
+			*addCartItem(
+				{ id, quantity, variation }: AddCartItemPayload,
+				{ showCartUpdatesNotices = true }: CartUpdateOptions = {}
+			): AsyncAction< CartItemOutcome > {
 				preloadA11y();

 				// Find existing item
-				const existingItem = state.findItemInCart( {
-					id,
-					key,
-					variation,
-				} );
-
-				// Determine the target quantity.
-				// If quantityToAdd is provided, calculate target based on current
-				// cart state (which includes optimistic updates from previous clicks).
-				// This ensures rapid clicks compound correctly.
-				let targetQuantity: number;
-				if ( typeof quantityToAdd === 'number' ) {
-					const currentQuantity = existingItem?.quantity ?? 0;
-					targetQuantity = currentQuantity + quantityToAdd;
-				} else if ( typeof quantity === 'number' ) {
-					targetQuantity = quantity;
-				} else {
-					// Neither provided - default to 1
-					targetQuantity = 1;
-				}
+				const existingItem = state.findItemInCart( { id, variation } );

-				// Endpoint selection is a pure function of the caller-supplied
-				// `key`, never of a line matched by id/variation. A keyless add
-				// always issues `add-item` with a delta, even when an existing
-				// line (including a server-keyed one) matches by product id, so
-				// the server owns cart-line identity for adds. Only an explicit
-				// caller `key` targets a specific line via `update-item`.
-				const isUpdate = !! key;
-				const endpoint = isUpdate ? 'update-item' : 'add-item';
+				// The amount posted is always the caller's delta, never a
+				// function of the matched line. The rendered quantity is the
+				// current one (which includes optimistic updates from previous
+				// clicks) plus that delta, so rapid clicks compound.
+				const delta = Number( quantity ?? 1 );
+				const targetQuantity = ( existingItem?.quantity ?? 0 ) + delta;

 				// Track what changes we're making for notice comparison.
-				const quantityChanges: QuantityChanges = isUpdate
-					? {
-							cartItemsPendingQuantity: existingItem?.key
-								? [ existingItem.key ]
-								: [],
-						}
-					: { productsPendingAdd: [ id ] };
-
-				// Prepare the item to send.
-				let itemToSend: OptimisticCartItem;
-				if ( isUpdate && existingItem ) {
-					// Caller-keyed update: target the exact line by key and send
-					// the absolute target quantity to the update-item endpoint.
-					itemToSend = { ...existingItem, quantity: targetQuantity };
-				} else {
-					// Keyless add: build a fresh payload for the add-item
-					// endpoint and never copy the matched line's key. The amount
-					// sent is always a delta — add-item adds to the existing
-					// quantity rather than setting it — so a match (by
-					// id/variation, possibly carrying a server key) only tells us
-					// how much delta is already accounted for in the running
-					// optimistic total; with no match we post the full target
-					// quantity. The matched line is never sent as an absolute
-					// quantity: the posted amount is a function of the delta,
-					// not of the match.
-					const quantityToSend = existingItem
-						? targetQuantity - existingItem.quantity
-						: targetQuantity;
-
-					itemToSend = {
-						id,
-						quantity: quantityToSend,
-						...( variation && { variation } ),
-					} as OptimisticCartItem;
-				}
+				const quantityChanges: QuantityChanges = {
+					productsPendingAdd: [ id ],
+				};
+
+				// A fresh payload for the add-item endpoint. It never copies the
+				// matched line's key, so the server owns cart-line identity.
+				const itemToSend = {
+					id,
+					quantity: delta,
+					...( variation && { variation } ),
+				} as OptimisticCartItem;

 				// Capture cart state after optimistic updates for notice comparison.
 				let cartAfterOptimistic: typeof state.cart | null = null;

-				// Per-product capture for the keyless-add exactness test.
-				// On the keyless path (!isUpdate), capture by value — before the
-				// optimistic bump mutates `existingItem.quantity` in place — the
-				// set of pre-existing matching line keys and their summed quantity.
-				// This is the single error-prone hotspot: `existingItem` is a live
-				// reference into `state.cart.items`; reading `.quantity` after the
-				// bump yields the post-bump value and silently corrupts the math.
-				// Stays empty on the keyed `update-item` path so the "your change
-				// was undone" notice keeps firing for steppers.
-				type ProductCapture = {
-					id: number;
-					variation?:
-						CartVariationItem[] | SelectedAttributes[] | undefined;
-					preAddTotal: number;
-					deltaTotal: number;
-					preExistingKeys: string[];
-				};
-				const productCaptures: ProductCapture[] = [];
-				if ( ! isUpdate ) {
-					// Sum all pre-add quantities across every cart line matching
-					// this product (id + variation). A single product can occupy
-					// multiple lines (e.g. a meta line ordered before a standalone
-					// line). The per-product total lets us verify exactness even
-					// when the server grows a different line than the one the
-					// client bumped optimistically.
-					const preExistingKeys: string[] = [];
-					let preAddTotal = 0;
-					for ( const cartLine of state.cart.items ) {
-						if ( lineMatchesProduct( cartLine, id, variation ) ) {
-							preAddTotal += cartLine.quantity;
-							if ( cartLine.key ) {
-								preExistingKeys.push( cartLine.key );
-							}
+				// Per-product capture for the exact-add test. Sum, by value and
+				// before the optimistic bump mutates `existingItem.quantity` in
+				// place, the quantity and keys of every pre-existing line matching
+				// this product (id + variation). A product can occupy several lines
+				// (e.g. a meta line ordered before a standalone line), and the
+				// per-product total verifies exactness even when the server grows
+				// a different line than the one bumped optimistically.
+				const preExistingKeys: string[] = [];
+				let preAddTotal = 0;
+				for ( const cartLine of state.cart.items ) {
+					if ( lineMatchesProduct( cartLine, id, variation ) ) {
+						preAddTotal += cartLine.quantity;
+						if ( cartLine.key ) {
+							preExistingKeys.push( cartLine.key );
 						}
 					}
-					// `itemToSend.quantity` is the posted delta (quantityToSend
-					// computed above). It is already computed before this capture
-					// block and does not depend on the optimistic state, so it is
-					// safe to read here.
-					productCaptures.push( {
+				}
+				const productCaptures = [
+					{
 						id,
 						variation,
 						preAddTotal,
-						deltaTotal: itemToSend.quantity,
+						deltaTotal: delta,
 						preExistingKeys,
-					} );
-				}
+					},
+				];

 				// Captured at the request-settlement boundary (the line right
 				// after the request-sending yield resolves/throws) and never
 				// overwritten afterwards. A throw from later post-success
 				// processing (notices) must not downgrade an already-captured
 				// success.
-				let outcome: AddCartItemOutcome | undefined;
+				let outcome: CartItemOutcome | undefined;

 				try {
 					const result = ( yield sendCartRequest( state, {
-						path: `/wc/store/v1/cart/${ endpoint }`,
+						path: '/wc/store/v1/cart/add-item',
 						method: 'POST',
 						body: itemToSend,
 						applyOptimistic: () => {
 							if ( existingItem ) {
-								// This in-place bump is render-only. It
-								// makes the common re-add flicker-free, but it must
-								// never feed back into endpoint selection or the
-								// posted amount — those are already fixed above as a
-								// pure function of key-presence and the delta. On a
-								// keyless add the match may bump a server-keyed line's
-								// rendered quantity (the accepted, self-correcting
-								// meta-only blip the server reconciles away); it must
-								// not flip the add into `update-item` or supply an
-								// absolute quantity. A future edit that lets this
-								// match drive the endpoint or the posted amount
-								// resurrects the original "cannot update bundle item"
-								// / wrong-line bug.
+								// This in-place bump is render-only. It makes
+								// the common re-add flicker-free, but it must
+								// never feed back into the posted amount, which
+								// is already fixed above as the delta. It may
+								// bump a server-keyed line's rendered quantity
+								// (the accepted, self-correcting meta-only blip
+								// the server reconciles away).
 								const isSoldIndividually =
 									isCartItem( existingItem ) &&
 									existingItem.sold_individually;
@@ -598,7 +642,7 @@ const { actions } = store< Store >(
 					// downgrade it to a failure.
 					outcome = { success: true };

-					// Success - handle side effects that don't trigger refreshCartItems
+					// Success - handle side effects that don't trigger refreshCart
 					const cart = result.data as Cart;

 					// Show notices if enabled
@@ -611,7 +655,7 @@ const { actions } = store< Store >(
 						// check whether the server total matches the pre-add total
 						// plus the posted delta. If so, the add was exact and the
 						// pre-existing line keys are suppressed in the notice diff.
-						const suppressKeys = computeKeylessAddSuppressKeys(
+						const suppressKeys = computeAddSuppressKeys(
 							productCaptures,
 							cart
 						);
@@ -634,40 +678,41 @@ const { actions } = store< Store >(
 					// Only record a failure outcome if the request-settlement
 					// boundary above did not already capture a success — a throw
 					// after a successful request must not overwrite it.
-					outcome ??= {
-						success: false,
-						error: {
-							...( ( error as ApiErrorResponse )?.code && {
-								code: ( error as ApiErrorResponse ).code,
-							} ),
-							message:
-								( error instanceof Error && error.message ) ||
-								String( error ) ||
-								'Request failed',
-						},
-					};
+					outcome ??= getFailureOutcome( error );
 				}

-				return outcome as AddCartItemOutcome;
+				return outcome as CartItemOutcome;
 			},

+			/**
+			 * Adds several products to the cart in one cycle.
+			 *
+			 * Each item posts `add-item` with `{ id, quantity, variation? }`,
+			 * where `quantity` is the amount to add (1 when omitted), with the
+			 * same optimistic update and notices as `addCartItem`. A request
+			 * failure shows an error notice and never rejects.
+			 *
+			 * @param items                          The products to add.
+			 * @param options                        The call options.
+			 * @param options.showCartUpdatesNotices Whether to show the notices for
+			 *                                       the cart update. Defaults to true.
+			 */
 			*batchAddCartItems(
-				items: ClientCartItem[],
+				items: AddCartItemPayload[],
 				{ showCartUpdatesNotices = true }: CartUpdateOptions = {}
 			): AsyncAction< void > {
 				preloadA11y();

 				try {
-					// Per-product capture for the keyless-add exactness test,
-					// accumulated across all keyless batch items. The map key is a
-					// canonical product token (productToken(id, variation)) so that
-					// multiple batch items for the same product accumulate into one
-					// entry. The capture runs synchronously in the .map() below,
-					// before applyOptimistic runs (applyOptimistic is gated behind
+					// Per-product capture for the exact-add test, accumulated
+					// across all batch items. The map key is a canonical product
+					// token (productToken(id, variation)) so that multiple batch
+					// items for the same product accumulate into one entry. The
+					// capture runs synchronously in the .map() below, before
+					// applyOptimistic runs (applyOptimistic is gated behind
 					// `await isNonceReady` inside sendCartRequest, so every
 					// existingItem.quantity read during the .map() sees the same
-					// pre-add cart). Keyed `update-item` items never contribute to
-					// this map, so the "your change was undone" notice keeps firing.
+					// pre-add cart).
 					type BatchProductCapture = {
 						id: number;
 						variation?:
@@ -685,139 +730,79 @@ const { actions } = store< Store >(
 					const promises = items.map( ( item ) => {
 						const existingItem = state.findItemInCart( {
 							id: item.id,
-							key: item.key,
 							variation: item.variation,
 						} );

-						let quantity: number;
-						if ( typeof item.quantityToAdd === 'number' ) {
-							const currentQuantity = existingItem?.quantity ?? 0;
-							quantity = currentQuantity + item.quantityToAdd;
-						} else {
-							quantity = item.quantity ?? 1;
-						}
-						// Endpoint selection is a pure function of the
-						// caller-supplied `key`, never of a line matched by
-						// id/variation. This mirrors the single-item
-						// `addCartItem` path: a keyless batch item always
-						// issues `add-item` with a delta, even when an existing
-						// line (including a server-keyed one) matches by product
-						// id, so the server owns cart-line identity for adds.
-						// Only an explicit caller `key` targets a specific line
-						// via `update-item`.
-						const isUpdate = !! item.key;
-						const endpoint = isUpdate ? 'update-item' : 'add-item';
-
-						let itemToSend: OptimisticCartItem;
-						let itemMeta: CartMutationMeta;
-						if ( isUpdate && existingItem ) {
-							// Caller-keyed update: target the exact line by key
-							// and send the absolute target quantity to the
-							// update-item endpoint.
-							itemToSend = {
-								key: existingItem.key,
-								id: existingItem.id,
-								quantity,
-							} as OptimisticCartItem;
-							itemMeta = {
-								quantityChanges: {
-									cartItemsPendingQuantity: [
-										existingItem.key as string,
-									],
-								},
-								origin: 'add',
-							};
+						// As in `addCartItem`, the amount posted is the item's
+						// delta, never a function of the matched line.
+						const delta = Number( item.quantity ?? 1 );
+						const targetQuantity =
+							( existingItem?.quantity ?? 0 ) + delta;
+
+						// A fresh payload for the add-item endpoint that never
+						// copies the matched line's key.
+						const itemToSend = {
+							id: item.id,
+							quantity: delta,
+							...( item.variation && {
+								variation: item.variation,
+							} ),
+						} as OptimisticCartItem;
+						const itemMeta: CartMutationMeta = {
+							quantityChanges: {
+								productsPendingAdd: [ item.id ],
+							},
+							origin: 'add',
+						};
+
+						// Accumulate the per-product capture for the exactness
+						// test. On the first encounter of each product token,
+						// sum all pre-add quantities across every matching line
+						// and collect their keys — both captured as primitives
+						// here, before applyOptimistic mutates the cart. On
+						// subsequent encounters of the same product, add only
+						// the posted delta to the running deltaTotal.
+						const token = productToken( item.id, item.variation );
+						const capture = batchProductCaptures.get( token );
+						if ( capture ) {
+							capture.deltaTotal += delta;
 						} else {
-							// Keyless add: build a fresh payload for the add-item
-							// endpoint and never copy the matched line's key. As in
-							// addCartItem, the amount sent is always a delta —
-							// add-item adds to the existing quantity rather than
-							// setting it — so a match (by id/variation, possibly
-							// carrying a server key) only tells us how much delta is
-							// already accounted for; with no match we post the full
-							// target quantity. The matched line is never sent as an
-							// absolute quantity.
-							const quantityToSend = existingItem
-								? quantity - existingItem.quantity
-								: quantity;
-							itemToSend = {
-								id: item.id,
-								quantity: quantityToSend,
-								...( item.variation && {
-									variation: item.variation,
-								} ),
-							} as OptimisticCartItem;
-							itemMeta = {
-								quantityChanges: {
-									productsPendingAdd: [ item.id ],
-								},
-								origin: 'add',
-							};
-
-							// Accumulate the per-product capture for the exactness
-							// test. On the first encounter of each product token,
-							// sum all pre-add quantities across every matching line
-							// and collect their keys — both captured as primitives
-							// here, before applyOptimistic mutates the cart. On
-							// subsequent encounters of the same product, add only
-							// the posted delta to the running deltaTotal.
-							const token = productToken(
-								item.id,
-								item.variation
-							);
-							if ( ! batchProductCaptures.has( token ) ) {
-								const preExistingKeys: string[] = [];
-								let preAddTotal = 0;
-								for ( const cartLine of state.cart.items ) {
-									if (
-										lineMatchesProduct(
-											cartLine,
-											item.id,
-											item.variation
-										)
-									) {
-										preAddTotal += cartLine.quantity;
-										if ( cartLine.key ) {
-											preExistingKeys.push(
-												cartLine.key
-											);
-										}
+							const preExistingKeys: string[] = [];
+							let preAddTotal = 0;
+							for ( const cartLine of state.cart.items ) {
+								if (
+									lineMatchesProduct(
+										cartLine,
+										item.id,
+										item.variation
+									)
+								) {
+									preAddTotal += cartLine.quantity;
+									if ( cartLine.key ) {
+										preExistingKeys.push( cartLine.key );
 									}
 								}
-								batchProductCaptures.set( token, {
-									id: item.id,
-									variation: item.variation,
-									preAddTotal,
-									deltaTotal: quantityToSend,
-									preExistingKeys,
-								} );
-							} else {
-								// Same product seen again in this batch — add delta.
-								const capture =
-									batchProductCaptures.get( token );
-								if ( capture ) {
-									capture.deltaTotal += quantityToSend;
-								}
 							}
+							batchProductCaptures.set( token, {
+								id: item.id,
+								variation: item.variation,
+								preAddTotal,
+								deltaTotal: delta,
+								preExistingKeys,
+							} );
 						}

 						return sendCartRequest( state, {
-							path: `/wc/store/v1/cart/${ endpoint }`,
+							path: '/wc/store/v1/cart/add-item',
 							method: 'POST',
 							body: itemToSend,
 							applyOptimistic: () => {
 								if ( existingItem ) {
-									// As in addCartItem, this in-place
-									// bump is render-only and must never feed back into
-									// endpoint selection or the posted amount, which are
-									// already fixed above as a pure function of
-									// key-presence and the delta. Bumping a server-keyed
-									// line's rendered quantity on a keyless add is the
-									// accepted meta-only blip the server reconciles; it
-									// must not flip the add into `update-item` or post an
-									// absolute quantity. Letting this match drive the
-									// endpoint or amount reintroduces the bug.
-									existingItem.quantity = quantity;
+									// As in addCartItem, this in-place bump is
+									// render-only and must never feed back into the
+									// posted amount, which is already fixed above as
+									// the delta.
+									existingItem.quantity = targetQuantity;
 								} else {
 									state.cart.items.push( itemToSend );
 								}
@@ -854,7 +839,7 @@ const { actions } = store< Store >(
 							// per-product captures. For each product, if the server
 							// total equals preAddTotal + sum of posted deltas, the
 							// add was exact and the pre-existing keys are suppressed.
-							const suppressKeys = computeKeylessAddSuppressKeys(
+							const suppressKeys = computeAddSuppressKeys(
 								[ ...batchProductCaptures.values() ],
 								cart
 							);
@@ -889,7 +874,13 @@ const { actions } = store< Store >(
 				}
 			},

-			*refreshCartItems(): AsyncAction< void > {
+			/**
+			 * Replaces `state.cart` with the Store API cart and adopts its nonce.
+			 * Skips the request without `restUrl`, while a cart change is being
+			 * sent, or while another refresh is pending. A failed request is
+			 * retried after 3 s, doubling each time, unless a change is being sent.
+			 */
+			*refreshCart(): AsyncAction< void > {
 				// Skip when the server did not provide the interactivity
 				// state this store needs, e.g. when a block imports this
 				// store without loading the shared cart state. Release
@@ -953,7 +944,7 @@ const { actions } = store< Store >(
 					refreshTimeout = 3000;
 				} catch ( error ) {
 					// Tries again after the timeout.
-					setTimeout( actions.refreshCartItems, refreshTimeout );
+					setTimeout( actions.refreshCart, refreshTimeout );

 					// Increases the timeout exponentially.
 					refreshTimeout *= 2;
@@ -973,7 +964,7 @@ const { actions } = store< Store >(
 );

 // Trigger initial cart refresh.
-void actions.refreshCartItems();
+void actions.refreshCart();

 window.addEventListener(
 	'wc-blocks_store_sync_required',
@@ -983,7 +974,7 @@ window.addEventListener(
 			id: number;
 		} >;
 		if ( customEvent.detail.type === 'from_@wordpress/data' ) {
-			void actions.refreshCartItems();
+			void actions.refreshCart();
 		}
 	}
 );
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/notices.ts b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/notices.ts
index d2def66a60a..413da3f2524 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/notices.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/notices.ts
@@ -36,7 +36,8 @@ const generateInfoNotice = ( message: string ): Notice => ( {

 /**
  * Builds a `Set` of pre-existing cart-line keys to suppress from the
- * "quantity changed" auto-update notice after a successful keyless add.
+ * "quantity changed" auto-update notice after `addCartItem` or
+ * `batchAddCartItems` succeeds.
  *
  * For each product entry in `products`, computes:
  *   - `serverTotal` = sum of the committed server cart's lines matching that
@@ -51,15 +52,15 @@ const generateInfoNotice = ( message: string ): Notice => ( {
  * When the totals diverge, the product's keys are left out of the set and
  * the diff fires normally, reporting the server's actual quantity.
  *
- * Only keyless adds should call this helper. Keyed `update-item` changes
- * must never populate `products`; leaving their line keys out of the
- * suppression set ensures the "your change was undone" notice keeps firing.
+ * Only the add actions call this helper. `updateCartItem` changes never
+ * populate `products`; leaving their line keys out of the suppression set
+ * ensures the "your change was undone" notice keeps firing.
  *
  * @param products   Per-product capture records, one per added product.
  * @param serverCart The committed server cart to sum against.
  * @return The flat set of pre-existing line keys to suppress.
  */
-export function computeKeylessAddSuppressKeys(
+export function computeAddSuppressKeys(
 	products: Array< {
 		/** The product id used for matching. */
 		id: number;
@@ -103,16 +104,16 @@ export function computeKeylessAddSuppressKeys(
  * Auto-update notices fire for server lines whose quantity differs from the
  * post-optimistic snapshot, with one suppression rule: any line whose key
  * appears in `suppressKeys` is skipped unconditionally. The action populates
- * `suppressKeys` with the pre-existing keys of products whose keyless add was
- * exact (server total == pre-add total + posted delta), so a successful keyless
- * add never emits a spurious "quantity changed" notice regardless of which
- * server line received the delta. Genuine server changes (cap, clamp, concurrent
+ * `suppressKeys` with the pre-existing keys of products whose add was exact
+ * (server total == pre-add total + posted delta), so a successful add never
+ * emits a spurious "quantity changed" notice regardless of which server line
+ * received the delta. Genuine server changes (cap, clamp, concurrent
  * mutation) still notify because they make the per-product totals diverge and
  * the keys are left out of the set.
  *
- * Keyed `update-item` changes and `removeCartItem` never populate
- * `suppressKeys` (the parameter defaults to an empty set), so their notice
- * behavior is byte-for-byte unchanged.
+ * `updateCartItem` and `removeCartItem` never populate `suppressKeys` (the
+ * parameter defaults to an empty set), so every quantity the server set
+ * differently from theirs is notified.
  *
  * @param oldCart      The post-optimistic cart snapshot used as the diff baseline.
  * @param newCart      The committed server cart to diff against.
@@ -146,8 +147,8 @@ export const getInfoNoticesFromCartUpdates = (
 	// Lines whose key appears in suppressKeys are skipped: the action proved that
 	// the product's add was exact (server total == expected total), so any
 	// quantity difference on those lines is an intentional add result, not a
-	// server-initiated change. Keyed update-item lines and removeCartItem lines
-	// are never in suppressKeys, so their notice behavior is unchanged.
+	// server-initiated change. Lines changed by updateCartItem or removeCartItem
+	// are never in suppressKeys.
 	const autoUpdatedToNotify = newItems.filter( ( item ) => {
 		if ( ! isCartItem( item ) ) {
 			return false;
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/test/cart.ts b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/test/cart.ts
index 9ed72d69cfc..39821b384c1 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/test/cart.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/test/cart.ts
@@ -9,7 +9,7 @@ import { speak } from '@wordpress/a11y';
 /**
  * Internal dependencies
  */
-import type { Store, OptimisticCartItem, AddCartItemOutcome } from '../types';
+import type { Store, OptimisticCartItem, CartItemOutcome } from '../types';
 import { triggerAddedToCartEvent } from '../legacy-events';

 type MockStore = { state: Store[ 'state' ]; actions: Store[ 'actions' ] };
@@ -169,7 +169,7 @@ function mockBatchFetch(): CapturedRequest[] {
  *
  * The module is re-required in isolation so each test starts from a clean
  * mutation queue and a fresh module-level nonce-ready promise. The initial
- * `refreshCartItems()` is then driven to completion so that the singleton
+ * `refreshCart()` is then driven to completion so that the singleton
  * nonce-ready promise resolves and queued mutations are allowed to flush; tests
  * seed `state.cart` afterwards via {@link seedCart}.
  *
@@ -179,7 +179,7 @@ async function loadCartStore(): Promise< Store[ 'actions' ] > {
 	jest.isolateModules( () => require( '../../index' ) );
 	const actions = mockRegisteredStore?.actions as Store[ 'actions' ];
 	// Drive the refresh so the module-level nonce-ready promise resolves.
-	await runAction( actions.refreshCartItems() );
+	await runAction( actions.refreshCart() );
 	return actions;
 }

@@ -215,7 +215,7 @@ function makeServerCart( items: CartItem[] ): Cart {
  * server cart instead of echoing the post-optimistic cart.
  *
  * This lets a test reproduce a server response that diverges from the
- * optimistic state — e.g. a keyless add that the server resolves as a brand new
+ * optimistic state — e.g. an add that the server resolves as a brand new
  * standalone line while leaving a matched keyed meta line at its pre-add
  * quantity. Each successful batch response carries `serverCart` as its body, so
  * it becomes the action's `result.data` used for the notice diff.
@@ -593,7 +593,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 		delete ( mockState as Partial< Store[ 'state' ] > ).cart;
 	} );

-	it( 'refreshCartItems passes cache: no-store to fetch to prevent browser caching', () => {
+	it( 'refreshCart passes cache: no-store to fetch to prevent browser caching', () => {
 		const mockFetch = jest
 			.fn()
 			.mockResolvedValue(
@@ -605,7 +605,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {

 		jest.isolateModules( () => require( '../../index' ) );

-		const iterator = mockRegisteredStore?.actions.refreshCartItems();
+		const iterator = mockRegisteredStore?.actions.refreshCart();

 		// Async actions are typed as void for consumers, but are actually generators internally.
 		( iterator as unknown as Iterator< void > ).next();
@@ -619,7 +619,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 		);
 	} );

-	describe( 'refreshCartItems without restUrl in the interactivity state', () => {
+	describe( 'refreshCart without restUrl in the interactivity state', () => {
 		const originalRestUrl = mockState.restUrl;

 		afterEach( () => {
@@ -632,7 +632,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			global.fetch = mockFetch;

 			jest.isolateModules( () => require( '../../index' ) );
-			await runAction( mockRegisteredStore?.actions.refreshCartItems() );
+			await runAction( mockRegisteredStore?.actions.refreshCart() );

 			expect( mockFetch ).not.toHaveBeenCalled();
 		} );
@@ -645,15 +645,14 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {

 			jest.isolateModules( () => require( '../../index' ) );
 			const actions = mockRegisteredStore?.actions as Store[ 'actions' ];
-			await runAction( actions.refreshCartItems() );
+			await runAction( actions.refreshCart() );
 			seedCart( [] );

 			const outcome = await Promise.race( [
 				runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				).then( () => 'settled' ),
 				new Promise( ( resolve ) =>
@@ -666,7 +665,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 	} );

 	describe( 'addCartItem endpoint selection', () => {
-		it( 'issues add-item (never update-item) for a keyless add that matches a keyed line by product id', async () => {
+		it( 'issues add-item (never update-item) for an add that matches a keyed line by product id', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -674,8 +673,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -684,7 +682,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( captured[ 0 ].path ).not.toContain( 'update-item' );
 		} );

-		it( 'posts the requested delta (not the matched line absolute quantity) for a keyless add against a keyed line', async () => {
+		it( 'posts the requested delta (not the matched line absolute quantity) for an add against a keyed line', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -692,8 +690,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -701,27 +698,25 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( captured[ 0 ].body.quantity ).not.toBe( 4 );
 		} );

-		it( 'accumulates the running optimistic delta across rapid keyless adds', async () => {
+		it( 'accumulates the running optimistic delta across rapid adds', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );

-			// Two rapid keyless adds queued before the batch flushes. Each must
+			// Two rapid adds queued before the batch flushes. Each must
 			// post its own delta (1) computed against the running optimistic
 			// quantity, never an absolute quantity off the matched line.
 			await Promise.all( [
 				runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 			] );
@@ -734,7 +729,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( captured[ 1 ].body.quantity ).toBe( 1 );
 		} );

-		it( 'never includes the matched line key in the request body for a keyless add', async () => {
+		it( 'never includes the matched line key in the request body for an add', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [
@@ -744,15 +739,14 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

 			expect( captured[ 0 ].body.key ).toBeUndefined();
 		} );

-		it( 'issues update-item with the absolute quantity for an explicit key (key-first path unchanged)', async () => {
+		it( 'issues update-item with the absolute quantity for an updateCartItem key', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [
@@ -760,11 +754,9 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			] );

 			await runAction(
-				actions.addCartItem( {
-					id: 42,
+				actions.updateCartItem( {
 					key: 'server-key-abc',
 					quantity: 5,
-					type: 'simple',
 				} )
 			);

@@ -775,7 +767,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( captured[ 0 ].body.key ).toBe( 'server-key-abc' );
 		} );

-		it( 'optimistically bumps a matched keyed line in place on a keyless re-add (no duplicate line)', async () => {
+		it( 'optimistically bumps a matched keyed line in place on a re-add (no duplicate line)', async () => {
 			mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -783,8 +775,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -792,7 +783,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( mockState.cart.items[ 0 ].quantity ).toBe( 4 );
 		} );

-		it( 'optimistically pushes a new line when no line matches a keyless add', async () => {
+		it( 'optimistically pushes a new line when no line matches an add', async () => {
 			mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -800,8 +791,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 99,
-					quantityToAdd: 2,
-					type: 'simple',
+					quantity: 2,
 				} )
 			);

@@ -813,7 +803,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( added?.quantity ).toBe( 2 );
 		} );

-		it( 'ignores the matched line item_data when deciding the endpoint and body for a keyless add', async () => {
+		it( 'ignores the matched line item_data when deciding the endpoint and body for an add', async () => {
 			const captured = mockBatchFetch();

 			// Same product id and quantity, only item_data differs. The
@@ -830,8 +820,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				withEmptyItemData.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -846,8 +835,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				withRichItemData.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -877,11 +865,9 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			] );

 			await runAction(
-				actions.addCartItem( {
-					id: 42,
+				actions.updateCartItem( {
 					key: 'server-key-abc',
 					quantity: 5,
-					type: 'simple',
 				} )
 			);

@@ -890,76 +876,434 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 		} );
 	} );

-	describe( 'addCartItem keyless-requires-delta invariant guard', () => {
-		it( 'throws when called keyless with an absolute quantity (no quantityToAdd)', async () => {
-			mockBatchFetch();
+	describe( 'addCartItem add-only contract', () => {
+		it( 'posts exactly { id, quantity }', async () => {
+			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
-			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );

-			await expect(
-				runAction(
-					actions.addCartItem( {
-						id: 42,
-						quantity: 5,
-						type: 'simple',
-					} )
-				)
-			).rejects.toThrow();
+			await runAction( actions.addCartItem( { id: 42, quantity: 3 } ) );
+
+			expect( captured ).toHaveLength( 1 );
+			expect( captured[ 0 ].path ).toBe( '/wc/store/v1/cart/add-item' );
+			expect( captured[ 0 ].body ).toEqual( { id: 42, quantity: 3 } );
 		} );

-		it( 'does not throw and proceeds on the add-item path for a keyless quantityToAdd delta', async () => {
+		it( 'posts exactly { id, quantity, variation } when a variation is given', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
-			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
+			seedCart( [] );
+			const variation = [ { attribute: 'Color', value: 'Red' } ];

-			await expect(
-				runAction(
-					actions.addCartItem( {
-						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
-					} )
-				)
-			).resolves.toEqual( { success: true } );
+			await runAction(
+				actions.addCartItem( { id: 55, quantity: 2, variation } )
+			);

 			expect( captured ).toHaveLength( 1 );
-			expect( captured[ 0 ].path ).toBe( '/wc/store/v1/cart/add-item' );
+			expect( captured[ 0 ].body ).toEqual( {
+				id: 55,
+				quantity: 2,
+				variation,
+			} );
 		} );

-		it( 'does not throw for an explicit key with an absolute quantity (key-first stepper path unaffected)', async () => {
-			mockBatchFetch();
+		it( 'posts quantity 1 and adds one line of 1 when quantity is omitted', async () => {
+			const captured = mockBatchFetch();
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );
+
+			await runAction( actions.addCartItem( { id: 77 } ) );
+
+			expect( captured[ 0 ].body ).toEqual( { id: 77, quantity: 1 } );
+			expect( mockState.cart.items ).toHaveLength( 2 );
+			expect(
+				mockState.cart.items.find( ( item ) => item.id === 77 )
+					?.quantity
+			).toBe( 1 );
+		} );
+	} );
+
+	describe( 'numeric-string amounts to add', () => {
+		/**
+		 * Installs {@link mockBatchFetch} and records, for each batch request,
+		 * the quantity of line `K` the store shows while the request is in
+		 * flight.
+		 *
+		 * @return The captured requests and the recorded quantities.
+		 */
+		function mockBatchFetchRecordingLineK(): {
+			captured: CapturedRequest[];
+			shownWhileSending: unknown[];
+		} {
+			const captured = mockBatchFetch();
+			const batchFetch = global.fetch;
+			const shownWhileSending: unknown[] = [];
+			global.fetch = jest.fn(
+				async ( ...args: Parameters< typeof fetch > ) => {
+					if ( args[ 1 ]?.body ) {
+						shownWhileSending.push(
+							mockState.cart.items.find(
+								( item ) => item.key === 'K'
+							)?.quantity
+						);
+					}
+					return batchFetch( ...args );
+				}
+			) as typeof fetch;
+			return { captured, shownWhileSending };
+		}
+
+		it( 'addCartItem raises the line by the number and posts the number', async () => {
+			const { captured, shownWhileSending } =
+				mockBatchFetchRecordingLineK();
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 1 } ) ] );
+
+			await runAction(
+				actions.addCartItem( {
+					id: 42,
+					quantity: '2' as unknown as number,
+				} )
+			);
+
+			expect( shownWhileSending ).toEqual( [ 3 ] );
+			expect( captured[ 0 ].body.quantity ).toBe( 2 );
+		} );
+
+		it( 'batchAddCartItems raises the line by the number and posts the number', async () => {
+			const { captured, shownWhileSending } =
+				mockBatchFetchRecordingLineK();
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 1 } ) ] );
+
+			await runAction(
+				actions.batchAddCartItems( [
+					{ id: 42, quantity: '2' as unknown as number },
+				] )
+			);
+
+			expect( shownWhileSending ).toEqual( [ 3 ] );
+			expect( captured[ 0 ].body.quantity ).toBe( 2 );
+		} );
+	} );
+
+	describe( 'variation lines', () => {
+		it( 'raises only the line of the variation with the same attributes before the server replies', async () => {
+			const captured = mockBatchFetch();
+			const batchFetch = global.fetch;
+			const shownWhileSending: Record< string, number >[] = [];
+			global.fetch = jest.fn(
+				async ( ...args: Parameters< typeof fetch > ) => {
+					if ( args[ 1 ]?.body ) {
+						shownWhileSending.push(
+							Object.fromEntries(
+								mockState.cart.items.map( ( item ) => [
+									item.key,
+									item.quantity,
+								] )
+							)
+						);
+					}
+					return batchFetch( ...args );
+				}
+			) as typeof fetch;
 			const actions = await loadCartStore();
+			const variationLine = ( key: string, value: string ) =>
+				makeKeyedLine( {
+					key,
+					id: 55,
+					type: 'variation',
+					quantity: 1,
+					variation: [
+						{
+							attribute: 'Color',
+							raw_attribute: 'attribute_color',
+							value,
+						},
+					],
+				} );
 			seedCart( [
-				makeKeyedLine( { id: 42, quantity: 3, key: 'server-key-abc' } ),
+				variationLine( 'R', 'Red' ),
+				variationLine( 'B', 'Blue' ),
 			] );

-			await expect(
+			await runAction(
+				actions.addCartItem( {
+					id: 55,
+					quantity: 2,
+					variation: [ { attribute: 'Color', value: 'Blue' } ],
+				} )
+			);
+
+			expect( captured ).toHaveLength( 1 );
+			expect( shownWhileSending ).toEqual( [ { R: 1, B: 3 } ] );
+		} );
+	} );
+
+	describe( 'updateCartItem', () => {
+		it( 'posts the rendered line with the new quantity as the update-item body', async () => {
+			const captured = mockBatchFetch();
+			const actions = await loadCartStore();
+			const line = makeKeyedLine( { key: 'K', id: 42, quantity: 2 } );
+			seedCart( [ line ] );
+
+			await runAction(
+				actions.updateCartItem( { key: 'K', quantity: 3 } )
+			);
+
+			expect( captured ).toHaveLength( 1 );
+			expect( captured[ 0 ].body ).toEqual( { ...line, quantity: 3 } );
+		} );
+
+		it( 'resolves { success: true } and keeps the server quantity when the Store API accepts the update', async () => {
+			mockBatchFetchReturning(
+				makeServerCart( [
+					makeKeyedLine( { key: 'K', id: 42, quantity: 3 } ),
+				] )
+			);
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );
+
+			// The server sets 3 for the 5 requested, so the line shows its quantity.
+			const outcome = await runAction(
+				actions.updateCartItem( { key: 'K', quantity: 5 } )
+			);
+
+			expect( outcome ).toEqual( { success: true } );
+			expect( mockState.cart.items[ 0 ].quantity ).toBe( 3 );
+		} );
+
+		it( 'resolves { success: false, error } with the server code and message, shows an error notice and restores the line when the Store API rejects the update', async () => {
+			mockBatchFetchFailing( {
+				failForPath: '/wc/store/v1/cart/update-item',
+				status: 409,
+				code: 'woocommerce_rest_cart_invalid_key',
+				message: 'Cart item no longer exists or is invalid.',
+			} );
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );
+			const errors = spyOnShowNoticeError();
+
+			const outcome = await runAction(
+				actions.updateCartItem( { key: 'K', quantity: 3 } )
+			);
+
+			expect( outcome ).toEqual( {
+				success: false,
+				error: {
+					code: 'woocommerce_rest_cart_invalid_key',
+					message: 'Cart item no longer exists or is invalid.',
+				},
+			} );
+			expect( errors ).toHaveLength( 1 );
+			expect( errors[ 0 ].message ).toBe(
+				'Cart item no longer exists or is invalid.'
+			);
+			expect( mockState.cart.items[ 0 ].quantity ).toBe( 2 );
+			expect( triggerAddedToCartEvent ).not.toHaveBeenCalled();
+		} );
+
+		it( 'resolves { success: false, error } with a message and no code, shows an error notice and restores the line when the whole request fails', async () => {
+			mockBatchFetchWholeBatchFailure();
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );
+			const errors = spyOnShowNoticeError();
+
+			const outcome = await runAction(
+				actions.updateCartItem( { key: 'K', quantity: 3 } )
+			);
+
+			// `toEqual` fails on any defined `code`, so this also proves it is absent.
+			expect( outcome ).toEqual( {
+				success: false,
+				error: { message: expect.stringMatching( /\S/ ) },
+			} );
+			expect( errors ).toHaveLength( 1 );
+			expect( mockState.cart.items[ 0 ].quantity ).toBe( 2 );
+		} );
+
+		it( 'resolves each of two updates sent together with its own outcome', async () => {
+			mockBatchFetchFailingProduct( {
+				failForId: 99,
+				status: 409,
+				code: 'woocommerce_rest_cart_invalid_key',
+				message: 'Cart item no longer exists or is invalid.',
+			} );
+			const actions = await loadCartStore();
+			seedCart( [
+				makeKeyedLine( { key: 'A', id: 42, quantity: 1 } ),
+				makeKeyedLine( { key: 'B', id: 99, quantity: 1 } ),
+			] );
+			spyOnShowNoticeError();
+
+			const [ acceptedOutcome, rejectedOutcome ] = await Promise.all( [
 				runAction(
-					actions.addCartItem( {
-						id: 42,
-						key: 'server-key-abc',
-						quantity: 5,
-						type: 'simple',
-					} )
-				)
-			).resolves.toEqual( { success: true } );
+					actions.updateCartItem( { key: 'A', quantity: 2 } )
+				),
+				runAction(
+					actions.updateCartItem( { key: 'B', quantity: 2 } )
+				),
+			] );
+
+			const batchRequests = (
+				global.fetch as jest.Mock
+			 ).mock.calls.filter( ( [ , init ] ) => init?.body );
+			expect( batchRequests ).toHaveLength( 1 );
+			expect( acceptedOutcome ).toEqual( { success: true } );
+			expect( rejectedOutcome ).toEqual( {
+				success: false,
+				error: {
+					code: 'woocommerce_rest_cart_invalid_key',
+					message: 'Cart item no longer exists or is invalid.',
+				},
+			} );
 		} );

-		it( 'still throws when both quantity and quantityToAdd are passed together', async () => {
-			mockBatchFetch();
+		it( 'rejects without a request or a change to state.cart when no key is given', async () => {
+			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
-			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
+			const line = makeKeyedLine( { key: 'K', id: 42, quantity: 2 } );
+			seedCart( [ line ] );
+			const cartBefore = JSON.parse( JSON.stringify( mockState.cart ) );
+			const fetchCallsBefore = ( global.fetch as jest.Mock ).mock.calls
+				.length;

 			await expect(
 				runAction(
-					actions.addCartItem( {
-						id: 42,
-						quantity: 5,
-						quantityToAdd: 1,
-						type: 'simple',
-					} )
+					actions.updateCartItem( {
+						quantity: 3,
+					} as unknown as Parameters<
+						Store[ 'actions' ][ 'updateCartItem' ]
+					>[ 0 ] )
 				)
 			).rejects.toThrow();
+			await flushMicrotasks();
+
+			expect( captured ).toHaveLength( 0 );
+			expect( ( global.fetch as jest.Mock ).mock.calls.length ).toBe(
+				fetchCallsBefore
+			);
+			expect( mockState.cart ).toEqual( cartBefore );
+		} );
+	} );
+
+	describe( 'updateCartItem showCartUpdatesNotices', () => {
+		/**
+		 * Installs a batch response that sets the line to 3 instead of the 5
+		 * requested and reports one `cart.errors` entry, and returns the
+		 * seeded store's actions.
+		 *
+		 * @return The cart store actions.
+		 */
+		async function loadWithCappedUpdate(): Promise< Store[ 'actions' ] > {
+			mockBatchFetchReturning( {
+				items: [ makeKeyedLine( { key: 'K', id: 42, quantity: 3 } ) ],
+				totals: {},
+				errors: [
+					{
+						code: 'woocommerce_rest_cart_coupon_error',
+						message: 'The coupon has expired.',
+					},
+				],
+			} as unknown as Cart );
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );
+			return actions;
+		}
+
+		it( 'shows no info or cart.errors notice and leaves the shown notices in place when off', async () => {
+			const actions = await loadWithCappedUpdate();
+			const notices = spyOnUpdateNotices();
+
+			const outcome = await runAction(
+				actions.updateCartItem(
+					{ key: 'K', quantity: 5 },
+					{ showCartUpdatesNotices: false }
+				)
+			);
+
+			expect( outcome ).toEqual( { success: true } );
+			expect( actions.updateNotices ).not.toHaveBeenCalled();
+			expect( notices ).toHaveLength( 0 );
+		} );
+
+		it( 'replaces the shown notices with the quantity-changed and cart.errors notices by default', async () => {
+			const actions = await loadWithCappedUpdate();
+			const notices = spyOnUpdateNotices();
+
+			await runAction(
+				actions.updateCartItem( { key: 'K', quantity: 5 } )
+			);
+
+			expect( actions.updateNotices ).toHaveBeenCalledTimes( 1 );
+			expect( actions.updateNotices ).toHaveBeenCalledWith(
+				expect.any( Array ),
+				true
+			);
+			expect( notices ).toEqual( [
+				expect.objectContaining( {
+					notice: 'The quantity of "Test Product" was changed to 3.',
+					type: 'notice',
+				} ),
+				expect.objectContaining( {
+					notice: 'The coupon has expired.',
+					type: 'error',
+				} ),
+			] );
+		} );
+
+		it( 'still shows the rejection error notice when off', async () => {
+			mockBatchFetchFailing( {
+				failForPath: '/wc/store/v1/cart/update-item',
+				status: 400,
+				message: 'You cannot add that amount to the cart.',
+			} );
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );
+			const errors = spyOnShowNoticeError();
+
+			await runAction(
+				actions.updateCartItem(
+					{ key: 'K', quantity: 3 },
+					{ showCartUpdatesNotices: false }
+				)
+			);
+
+			expect( errors ).toHaveLength( 1 );
+			expect( errors[ 0 ].message ).toBe(
+				'You cannot add that amount to the cart.'
+			);
+		} );
+
+		it( 'still fires the added-to-cart event, the sync event and the announcement when off', async () => {
+			( getConfig as jest.Mock ).mockReturnValue( {
+				messages: { addedToCartText: 'Added to your cart.' },
+			} );
+			mockBatchFetch();
+			const actions = await loadCartStore();
+			seedCart( [ makeKeyedLine( { key: 'K', id: 42, quantity: 2 } ) ] );
+			spyOnUpdateNotices();
+			const { events, cleanup } = captureSyncEvents();
+
+			await runAction(
+				actions.updateCartItem(
+					{ key: 'K', quantity: 3 },
+					{ showCartUpdatesNotices: false }
+				)
+			);
+			await flushMicrotasks();
+
+			expect( triggerAddedToCartEvent ).toHaveBeenCalledTimes( 1 );
+			expect( events ).toHaveLength( 1 );
+			expect( events[ 0 ].quantityChanges ).toEqual( {
+				cartItemsPendingQuantity: [ 'K' ],
+			} );
+			expect( speak ).toHaveBeenCalledWith(
+				'Added to your cart.',
+				'polite'
+			);
+
+			cleanup();
 		} );
 	} );

@@ -972,8 +1316,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const outcome = await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -994,8 +1337,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const outcome = await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1017,10 +1359,9 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const outcome = ( await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
-			) ) as AddCartItemOutcome;
+			) ) as CartItemOutcome;

 			if ( outcome.success ) {
 				throw new Error(
@@ -1046,15 +1387,13 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 99,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 			] );
@@ -1084,8 +1423,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const outcome = await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1109,8 +1447,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const outcome = await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1119,7 +1456,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 	} );

 	describe( 'batchAddCartItems endpoint selection', () => {
-		it( 'issues add-item (never update-item) for a keyless batch item that matches a keyed line by product id', async () => {
+		it( 'issues add-item (never update-item) for a batch item that matches a keyed line by product id', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -1128,8 +1465,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				actions.batchAddCartItems( [
 					{
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					},
 				] )
 			);
@@ -1139,7 +1475,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( captured[ 0 ].path ).not.toContain( 'update-item' );
 		} );

-		it( 'posts the requested delta (not the matched line absolute quantity) for a keyless batch item against a keyed line', async () => {
+		it( 'posts the requested delta (not the matched line absolute quantity) for a batch item against a keyed line', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -1148,8 +1484,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				actions.batchAddCartItems( [
 					{
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					},
 				] )
 			);
@@ -1158,7 +1493,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( captured[ 0 ].body.quantity ).not.toBe( 4 );
 		} );

-		it( 'never includes the matched line key in the request body for a keyless batch item', async () => {
+		it( 'never includes the matched line key in the request body for a batch item', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [
@@ -1169,8 +1504,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				actions.batchAddCartItems( [
 					{
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					},
 				] )
 			);
@@ -1178,33 +1512,36 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( captured[ 0 ].body.key ).toBeUndefined();
 		} );

-		it( 'issues update-item with the absolute quantity for a batch item that supplies an explicit key', async () => {
+		it( 'posts each item as exactly { id, quantity } or { id, quantity, variation }, with quantity 1 when omitted', async () => {
 			const captured = mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [
 				makeKeyedLine( { id: 42, quantity: 3, key: 'server-key-abc' } ),
 			] );
+			const variation = [ { attribute: 'Color', value: 'Red' } ];

 			await runAction(
 				actions.batchAddCartItems( [
-					{
-						id: 42,
-						key: 'server-key-abc',
-						quantity: 5,
-						type: 'simple',
-					},
+					{ id: 42, quantity: 2 },
+					{ id: 55, quantity: 1, variation },
+					{ id: 66 },
 				] )
 			);

-			expect( captured[ 0 ].path ).toBe(
-				'/wc/store/v1/cart/update-item'
-			);
-			expect( captured[ 0 ].body.quantity ).toBe( 5 );
-			expect( captured[ 0 ].body.key ).toBe( 'server-key-abc' );
+			expect( captured.map( ( request ) => request.path ) ).toEqual( [
+				'/wc/store/v1/cart/add-item',
+				'/wc/store/v1/cart/add-item',
+				'/wc/store/v1/cart/add-item',
+			] );
+			expect( captured.map( ( request ) => request.body ) ).toEqual( [
+				{ id: 42, quantity: 2 },
+				{ id: 55, quantity: 1, variation },
+				{ id: 66, quantity: 1 },
+			] );
 		} );

-		it( 'derives the keyless add-item delta identically to the single-item addCartItem path', async () => {
-			// Same seeded keyed line and same keyless request through both
+		it( 'derives the add-item delta identically to the single-item addCartItem path', async () => {
+			// Same seeded keyed line and same request through both
 			// paths must produce the same endpoint and posted quantity.
 			const singleCaptured = mockBatchFetch();
 			const singleActions = await loadCartStore();
@@ -1212,8 +1549,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				singleActions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1224,8 +1560,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				batchActions.batchAddCartItems( [
 					{
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					},
 				] )
 			);
@@ -1241,7 +1576,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			);
 		} );

-		it( 'optimistically bumps a matched keyed line in place on a keyless batch re-add (no duplicate line)', async () => {
+		it( 'optimistically bumps a matched keyed line in place on a batch re-add (no duplicate line)', async () => {
 			mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -1250,8 +1585,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				actions.batchAddCartItems( [
 					{
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					},
 				] )
 			);
@@ -1260,7 +1594,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			expect( mockState.cart.items[ 0 ].quantity ).toBe( 4 );
 		} );

-		it( 'optimistically pushes a new line when no line matches a keyless batch item', async () => {
+		it( 'optimistically pushes a new line when no line matches a batch item', async () => {
 			mockBatchFetch();
 			const actions = await loadCartStore();
 			seedCart( [ makeKeyedLine( { id: 42, quantity: 3 } ) ] );
@@ -1269,8 +1603,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				actions.batchAddCartItems( [
 					{
 						id: 99,
-						quantityToAdd: 2,
-						type: 'simple',
+						quantity: 2,
 					},
 				] )
 			);
@@ -1284,15 +1617,15 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 		} );
 	} );

-	describe( 'notice-diff suppression for keyless meta-only adds', () => {
+	describe( 'notice-diff suppression for meta-only adds', () => {
 		// The quantity-changed info notice template the auto-UPDATE branch emits.
 		const QUANTITY_CHANGED = 'was changed to';

-		it( 'emits no quantity-changed notice for a keyless add resolved server-side as a new standalone line', async () => {
+		it( 'emits no quantity-changed notice for an add resolved server-side as a new standalone line', async () => {
 			// The product is present only as a single keyed meta line at qty 3.
-			// A keyless add optimistically bumps that line to 4, but the server
+			// An add optimistically bumps that line to 4, but the server
 			// keeps the meta line at 3 and adds a separate standalone line. The
-			// keyless-scoped baseline (3) must be compared against the server
+			// pre-add baseline (3) must be compared against the server
 			// quantity (3) so no spurious "quantity changed" notice fires.
 			mockBatchFetchReturning(
 				makeServerCart( [
@@ -1317,8 +1650,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1329,7 +1661,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {

 		it( 'emits no quantity-changed notice when only the first of two meta lines for the same product is bumped optimistically', async () => {
 			// The product is present as two distinct keyed meta lines (qty 3 and
-			// qty 2). A keyless add matches and optimistically bumps only the
+			// qty 2). An add matches and optimistically bumps only the
 			// first line (server-key-1) to 4. The server keeps both meta lines at
 			// their pre-add quantities and adds a separate standalone line. The
 			// bumped line's pre-optimistic baseline (3) must be diffed against the
@@ -1364,8 +1696,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1374,9 +1705,9 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( false );
 		} );

-		it( 'still emits the quantity-changed notice for a keyed mini-cart stepper change returned at its pre-stepper quantity', async () => {
-			// A keyed update (explicit key + absolute quantity) is never recorded
-			// in the keyless baseline set, so the override does not apply. The
+		it( 'still emits the quantity-changed notice for an updateCartItem change returned at its pre-stepper quantity', async () => {
+			// An update (explicit key + absolute quantity) is never recorded
+			// in the suppression set, so the override does not apply. The
 			// server returning the line at its pre-stepper quantity (3) must still
 			// diff against the post-optimistic snapshot (5) and notify.
 			mockBatchFetchReturning(
@@ -1395,11 +1726,9 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const notices = spyOnUpdateNotices();

 			await runAction(
-				actions.addCartItem( {
-					id: 42,
+				actions.updateCartItem( {
 					key: 'server-key-abc',
 					quantity: 5,
-					type: 'simple',
 				} )
 			);

@@ -1408,7 +1737,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( true );
 		} );

-		it( 'still emits the quantity-changed notice when a keyless-add-bumped line diverges from its captured baseline', async () => {
+		it( 'still emits the quantity-changed notice when an add-bumped line diverges from its captured baseline', async () => {
 			// A genuine concurrent server change: the matched keyed line is
 			// reported at quantity 7, which differs from its pre-optimistic
 			// baseline of 3. The notice must still fire for that line.
@@ -1430,8 +1759,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1444,7 +1772,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( true );
 		} );

-		it( 'suppresses the notice for a keyless batch add resolved server-side as a new standalone line', async () => {
+		it( 'suppresses the notice for a batch add resolved server-side as a new standalone line', async () => {
 			// Same meta-only scenario through the batch path: the matched keyed
 			// line is bumped optimistically to 4, the server keeps it at 3 and
 			// adds a standalone line. The batch must capture the baseline (3) and
@@ -1473,8 +1801,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				actions.batchAddCartItems( [
 					{
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					},
 				] )
 			);
@@ -1484,8 +1811,8 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( false );
 		} );

-		it( 'suppresses the quantity-changed notice for a keyless re-add when the server returns the line at pre-add + delta', async () => {
-			// Pre-add: matched line at qty 3. Keyless add delta: +1.
+		it( 'suppresses the quantity-changed notice for a re-add when the server returns the line at pre-add + delta', async () => {
+			// Pre-add: matched line at qty 3. Add delta: +1.
 			// Expected total: 3 + 1 = 4. Server returns the line at 4.
 			// Since serverTotal (4) === expectedTotal (4), the add was exact →
 			// no "quantity changed" notice must fire.
@@ -1512,8 +1839,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1524,7 +1850,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( false );
 		} );

-		it( 'suppresses the quantity-changed notice for a keyless batch re-add when the server total matches pre-add + sum of deltas', async () => {
+		it( 'suppresses the quantity-changed notice for a batch re-add when the server total matches pre-add + sum of deltas', async () => {
 			// Pre-add: matched line at qty 3. Batch deltas: +1 and +1.
 			// A real /batch endpoint compounds server-side: each add-item
 			// sub-request runs sequentially against one WC_Cart session, so the
@@ -1548,8 +1874,8 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {

 			await runAction(
 				actions.batchAddCartItems( [
-					{ id: 42, quantityToAdd: 1, type: 'simple' },
-					{ id: 42, quantityToAdd: 1, type: 'simple' },
+					{ id: 42, quantity: 1 },
+					{ id: 42, quantity: 1 },
 				] )
 			);

@@ -1560,7 +1886,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( false );
 		} );

-		it( 'still emits the quantity-changed notice for a keyless batch re-add when the server total diverges from expected', async () => {
+		it( 'still emits the quantity-changed notice for a batch re-add when the server total diverges from expected', async () => {
 			// Same setup: pre-add qty 3, batch (+1,+1), expectedTotal = 5.
 			// Server returns 6 (a genuine concurrent change or cap artefact).
 			// Since serverTotal (6) !== expectedTotal (5), do not suppress →
@@ -1582,8 +1908,8 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {

 			await runAction(
 				actions.batchAddCartItems( [
-					{ id: 42, quantityToAdd: 1, type: 'simple' },
-					{ id: 42, quantityToAdd: 1, type: 'simple' },
+					{ id: 42, quantity: 1 },
+					{ id: 42, quantity: 1 },
 				] )
 			);

@@ -1596,7 +1922,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( true );
 		} );

-		it( 'suppresses the notice for a keyless add when the client bumps a meta line but the server grows the standalone line', async () => {
+		it( 'suppresses the notice for an add when the client bumps a meta line but the server grows the standalone line', async () => {
 			// Product 42 occupies two lines: a meta-differentiated line ordered
 			// first (server-key-meta, qty 1) and a plain standalone line second
 			// (server-key-standalone, qty 1). findItemInCart matches the meta line
@@ -1639,8 +1965,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1650,7 +1975,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( false );
 		} );

-		it( 'suppresses the notice for a keyless batch add when the client bumps a meta line but the server grows the standalone line, through the batch path', async () => {
+		it( 'suppresses the notice for a batch add when the client bumps a meta line but the server grows the standalone line, through the batch path', async () => {
 			// Same meta-line/standalone-line scenario through the batch path.
 			// Product 42 occupies two
 			// lines: meta first (qty 1) then standalone (qty 1). The batch item
@@ -1689,9 +2014,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const notices = spyOnUpdateNotices();

 			await runAction(
-				actions.batchAddCartItems( [
-					{ id: 42, quantityToAdd: 1, type: 'simple' },
-				] )
+				actions.batchAddCartItems( [ { id: 42, quantity: 1 } ] )
 			);

 			// Server total (1+2=3) === expected total (1+1+1=3) → suppress.
@@ -1700,9 +2023,9 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			).toBe( false );
 		} );

-		it( 'suppresses the quantity-changed notice for a keyless variation re-add when the server returns the line at pre-add + delta', async () => {
+		it( 'suppresses the quantity-changed notice for a variation re-add when the server returns the line at pre-add + delta', async () => {
 			// A variation line (type: variation, id: 42, variation: [Color:Red])
-			// is matched by id+variation. Keyless add delta: +1. Pre-add qty: 2.
+			// is matched by id+variation. Add delta: +1. Pre-add qty: 2.
 			// Expected total: 2+1=3. Server returns the variation line at 3.
 			// Since serverTotal (3) === expectedTotal (3) → suppress.
 			const colorRedVariation = [
@@ -1738,8 +2061,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'variation',
+					quantity: 1,
 					variation: colorRedVariation,
 				} )
 			);
@@ -1798,7 +2120,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 		const QUANTITY_CHANGED = 'was changed to';

 		it( 'routes an HTTP 400 add-item failure to an error notice and never to an auto-update notice', async () => {
-			// A plain keyless re-add the server caps (e.g. out of stock) returns a
+			// A plain re-add the server caps (e.g. out of stock) returns a
 			// non-2xx batch entry. That rejects the mutation, so the action takes
 			// the throw/catch path: the failure must surface as an error notice
 			// via showNoticeError, not as an auto-update "quantity changed" notice
@@ -1817,8 +2139,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1856,8 +2177,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);

@@ -1879,8 +2199,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 1,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);
 			await flushMicrotasks();
@@ -1913,22 +2232,19 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				runAction(
 					actions.addCartItem( {
 						id: 1,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 2,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 3,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 			] );
@@ -1955,15 +2271,13 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 99,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 			] );
@@ -2000,8 +2314,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 42,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);
 			await flushMicrotasks();
@@ -2014,7 +2327,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			cleanup();
 		} );

-		it( 'unions and deduplicates only successful quantityChanges across add, keyed-update, and remove mutations in the same cycle', async () => {
+		it( 'unions and deduplicates only successful quantityChanges across add, update, and remove mutations in the same cycle', async () => {
 			( getConfig as jest.Mock ).mockReturnValue( {} );
 			mockBatchFetchFailingProduct( { failForId: 100 } );
 			const actions = await loadCartStore();
@@ -2037,38 +2350,31 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				runAction(
 					actions.addCartItem( {
 						id: 99,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 99,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 100,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
-					actions.addCartItem( {
-						id: 42,
+					actions.updateCartItem( {
 						key: 'server-key-abc',
 						quantity: 5,
-						type: 'simple',
 					} )
 				),
 				runAction(
-					actions.addCartItem( {
-						id: 42,
+					actions.updateCartItem( {
 						key: 'server-key-abc',
 						quantity: 6,
-						type: 'simple',
 					} )
 				),
 				runAction( actions.removeCartItem( 'server-key-gone' ) ),
@@ -2079,7 +2385,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				{ success: true },
 				{ success: true },
 			] );
-			expect( ( outcomes[ 2 ] as AddCartItemOutcome ).success ).toBe(
+			expect( ( outcomes[ 2 ] as CartItemOutcome ).success ).toBe(
 				false
 			);
 			expect( events ).toHaveLength( 1 );
@@ -2101,11 +2407,9 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const { events, cleanup } = captureSyncEvents();

 			await runAction(
-				actions.addCartItem( {
-					id: 42,
+				actions.updateCartItem( {
 					key: 'quantity-key',
 					quantity: 4,
-					type: 'simple',
 				} )
 			);

@@ -2136,16 +2440,14 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				runAction(
 					actions.addCartItem( {
 						id: 501,
-						quantityToAdd: 1,
-						type: 'variation',
+						quantity: 1,
 						variation: selection,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 77,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 			] );
@@ -2202,8 +2504,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				await runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				);
 				const orderImmediatelyAfterSettlement = [
@@ -2259,15 +2560,13 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction(
 					actions.addCartItem( {
 						id: 42,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 			] );
@@ -2328,8 +2627,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 				runAction(
 					actions.addCartItem( {
 						id: 99,
-						quantityToAdd: 1,
-						type: 'simple',
+						quantity: 1,
 					} )
 				),
 				runAction( actions.removeCartItem( 'server-key-gone' ) ),
@@ -2359,8 +2657,8 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {

 			await runAction(
 				actions.batchAddCartItems( [
-					{ id: 42, quantityToAdd: 1, type: 'simple' },
-					{ id: 99, quantityToAdd: 1, type: 'simple' },
+					{ id: 42, quantity: 1 },
+					{ id: 99, quantity: 1 },
 				] )
 			);
 			await flushMicrotasks();
@@ -2400,8 +2698,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 1,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);
 			await flushMicrotasks();
@@ -2412,8 +2709,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 2,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);
 			await flushMicrotasks();
@@ -2438,8 +2734,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			await runAction(
 				actions.addCartItem( {
 					id: 1,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);
 			await flushMicrotasks();
@@ -2453,8 +2748,7 @@ describe( 'WooCommerce Cart Interactivity API Store', () => {
 			const outcome = await runAction(
 				actions.addCartItem( {
 					id: 2,
-					quantityToAdd: 1,
-					type: 'simple',
+					quantity: 1,
 				} )
 			);
 			await flushMicrotasks();
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/types.ts b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/types.ts
index e13d55656df..e6db34248d7 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/types.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/types.ts
@@ -20,26 +20,26 @@ export type OptimisticCartItem = {
 	id: number;
 	quantity: number;
 	variation?: CartVariationItem[];
-	type: string;
 };

-export type ClientCartItem = Omit<
-	OptimisticCartItem,
-	'variation' | 'quantity'
-> & {
-	variation?: SelectedAttributes[];
-	/** The target quantity (absolute). Either this or quantityToAdd must be provided. */
+/**
+ * The product `addCartItem` and `batchAddCartItems` add to the cart.
+ */
+export type AddCartItemPayload = {
+	/** The product or variation id. */
+	id: number;
+	/** The amount to add to the cart. Defaults to 1 when omitted. */
 	quantity?: number;
-	/** Optional: add this delta to current quantity instead of setting absolute quantity */
-	quantityToAdd?: number;
+	/** The selected attributes, when the product is a variation. */
+	variation?: SelectedAttributes[];
 };

 export type CartUpdateOptions = { showCartUpdatesNotices?: boolean };

 /**
- * The failure detail carried by a rejected `AddCartItemOutcome`.
+ * The failure detail carried by a rejected `CartItemOutcome`.
  */
-export type AddCartItemError = {
+export type CartItemError = {
 	/**
 	 * Server error code for a per-item rejection (e.g.
 	 * `woocommerce_rest_product_out_of_stock`), or the batcher's
@@ -51,13 +51,13 @@ export type AddCartItemError = {
 };

 /**
- * The per-call outcome `addCartItem` resolves with, captured at the moment
- * its own request settles (accepted or rejected). A later throw in
- * post-success processing (notices) never downgrades an already-captured
- * success into a failure.
+ * The per-call outcome `addCartItem` and `updateCartItem` resolve with,
+ * captured at the moment their own request settles (accepted or rejected). A
+ * later throw in post-success processing (notices) never downgrades an
+ * already-captured success into a failure.
  */
-export type AddCartItemOutcome =
-	{ success: true } | { success: false; error: AddCartItemError };
+export type CartItemOutcome =
+	{ success: true } | { success: false; error: CartItemError };

 export type Store = {
 	state: {
@@ -69,9 +69,9 @@ export type Store = {
 		// Whether a cart update request is in progress.
 		isCartUpdating?: boolean;
 		findItemInCart: ( args: {
-			id: ClientCartItem[ 'id' ];
-			key?: ClientCartItem[ 'key' ];
-			variation?: ClientCartItem[ 'variation' ];
+			id: number;
+			key?: string | undefined;
+			variation?: SelectedAttributes[] | undefined;
 		} ) => CartItem | OptimisticCartItem | undefined;
 		cart: Omit< Cart, 'items' > & {
 			items: ( OptimisticCartItem | CartItem )[];
@@ -80,16 +80,36 @@ export type Store = {
 	};
 	actions: {
 		removeCartItem: ( key: string ) => Promise< void >;
+		/**
+		 * Sets the quantity of the cart line with the given key. Resolves the
+		 * outcome and never rejects on a request failure. Rejects when `key`
+		 * is missing.
+		 */
+		updateCartItem: (
+			args: {
+				key: string;
+				quantity: number;
+			},
+			options?: CartUpdateOptions
+		) => Promise< CartItemOutcome >;
+		/**
+		 * Adds `quantity` units (1 when omitted) of a product to the cart.
+		 * Resolves the outcome and never rejects on a request failure.
+		 */
 		addCartItem: (
-			args: ClientCartItem,
+			args: AddCartItemPayload,
 			options?: CartUpdateOptions
-		) => Promise< AddCartItemOutcome >;
+		) => Promise< CartItemOutcome >;
+		/**
+		 * Adds several products to the cart in one cycle, each by its
+		 * `quantity` (1 when omitted).
+		 */
 		batchAddCartItems: (
-			items: ClientCartItem[],
+			items: AddCartItemPayload[],
 			options?: CartUpdateOptions
 		) => Promise< void >;
 		// Todo: Check why if I switch to an async function here the types of the store stop working.
-		refreshCartItems: () => Promise< void >;
+		refreshCart: () => Promise< void >;
 		waitForIdle: () => Promise< void >;
 		showNoticeError: ( error: Error | ApiErrorResponse ) => Promise< void >;
 		updateNotices: (
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/utils.ts b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/utils.ts
index d726c2b339d..2220c406cc5 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/utils.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/cart/utils.ts
@@ -10,7 +10,13 @@ import type { SelectedAttributes } from '../types';
 import type { OptimisticCartItem } from './types';
 import { doesCartItemMatchAttributes } from '../../../utils/variations/does-cart-item-match-attributes';

-// Guard to distinguish between optimistic and cart items.
+/**
+ * Tells a Store API cart line apart from an optimistic one. Every Store API
+ * line carries a `name`; an optimistic line does not.
+ *
+ * @param item The cart line to test.
+ * @return `true` when the line is a Store API cart line.
+ */
 export function isCartItem(
 	item: OptimisticCartItem | CartItem
 ): item is CartItem {
@@ -34,7 +40,7 @@ export function lineMatchesProduct(
 	id: number,
 	variation?: CartVariationItem[] | SelectedAttributes[]
 ): boolean {
-	if ( item.type === 'variation' ) {
+	if ( isCartItem( item ) && item.type === 'variation' ) {
 		if (
 			id !== item.id ||
 			! item.variation ||
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/index.ts b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/index.ts
index 591e537c4ad..7fe899c1ee9 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/index.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/base/stores/woocommerce/index.ts
@@ -15,8 +15,8 @@ export type { WooCommerceConfig, SelectedAttributes } from './types';
 export type { ProductDataState } from './products';
 export type {
 	OptimisticCartItem,
-	ClientCartItem,
-	AddCartItemError,
-	AddCartItemOutcome,
+	AddCartItemPayload,
+	CartItemError,
+	CartItemOutcome,
 	Store,
 } from './cart/types';
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/frontend.ts
index d9899f42b0d..812ed87d06a 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/frontend.ts
@@ -306,9 +306,8 @@ const { actions } = store< MergedAddToCartWithOptionsStores >(
 				yield wooActions.addCartItem(
 					{
 						id: product.id,
-						quantityToAdd: quantity[ product.id ],
+						quantity: quantity[ product.id ],
 						variation: selectedAttributes,
-						type: product.type,
 					},
 					{
 						showCartUpdatesNotices: false,
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/frontend.ts
index e923a28d534..848a6108562 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/frontend.ts
@@ -3,7 +3,7 @@
  */
 import { store, getContext, getConfig } from '@wordpress/interactivity';
 import type {
-	ClientCartItem,
+	AddCartItemPayload,
 	Store as WooCommerce,
 } from '@woocommerce/stores/woocommerce';
 import '@woocommerce/stores/woocommerce/products';
@@ -97,7 +97,7 @@ const { actions } = store< GroupedProductAddToCartWithOptionsStore >(
 				const { quantity, selectedAttributes, groupedProductIds } =
 					getContext< AddToCartWithOptionsStoreContext >();

-				const addedItems: ClientCartItem[] = [];
+				const addedItems: AddCartItemPayload[] = [];

 				for ( const childProductId of groupedProductIds ) {
 					if ( quantity[ childProductId ] === 0 ) {
@@ -115,9 +115,8 @@ const { actions } = store< GroupedProductAddToCartWithOptionsStore >(

 					addedItems.push( {
 						id: Number( childProductId ),
-						quantityToAdd: quantity[ childProductId ],
+						quantity: quantity[ childProductId ],
 						variation: selectedAttributes,
-						type: product.type,
 					} );
 				}

diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/test/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/test/frontend.ts
index 7d0e64a7ac1..627726d9c30 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/test/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/grouped-product-selector/test/frontend.ts
@@ -189,15 +189,13 @@ describe( 'Add to Cart + Options grouped product selector store', () => {
 			[
 				{
 					id: 11,
-					quantityToAdd: 2,
+					quantity: 2,
 					variation: mockContext.selectedAttributes,
-					type: 'simple',
 				},
 				{
 					id: 13,
-					quantityToAdd: 1,
+					quantity: 1,
 					variation: mockContext.selectedAttributes,
-					type: 'simple',
 				},
 			],
 			{ showCartUpdatesNotices: false }
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/test/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/test/frontend.ts
index d68635078f8..15387c04ee6 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/test/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/add-to-cart-with-options/test/frontend.ts
@@ -196,7 +196,8 @@ describe( 'Add to Cart + Options interactivity store', () => {
 		{
 			title: 'simple product',
 			type: 'simple',
-			selectedAttributes: [],
+			// The server renders no `selectedAttributes` for a simple product.
+			selectedAttributes: undefined,
 		},
 		{
 			title: 'selected variation',
@@ -209,7 +210,11 @@ describe( 'Add to Cart + Options interactivity store', () => {
 	] )(
 		'forwards the exact $title cart payload',
 		async ( { type, selectedAttributes } ) => {
-			mockContext.selectedAttributes = selectedAttributes;
+			if ( selectedAttributes ) {
+				mockContext.selectedAttributes = selectedAttributes;
+			} else {
+				delete ( mockContext as Partial< Context > ).selectedAttributes;
+			}
 			mockProductsState.productInContext = {
 				...mockProductsState.productInContext,
 				id: 42,
@@ -227,9 +232,8 @@ describe( 'Add to Cart + Options interactivity store', () => {
 			expect( mockAddCartItem ).toHaveBeenCalledWith(
 				{
 					id: 42,
-					quantityToAdd: 2,
+					quantity: 2,
 					variation: selectedAttributes,
-					type,
 				},
 				{ showCartUpdatesNotices: false }
 			);
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/mini-cart/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/mini-cart/frontend.ts
index a75286d5a9c..41e9d1a5b70 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/mini-cart/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/mini-cart/frontend.ts
@@ -870,18 +870,9 @@ const { state: cartItemState } = store(
 			},

 			*changeQuantity(): Generator< unknown, void > {
-				const variation = cartItemState.cartItem.variation.map(
-					( { raw_attribute: rawAttribute, ...rest } ) => ( {
-						...rest,
-						attribute: rawAttribute,
-					} )
-				);
-				yield actions.addCartItem( {
-					id: cartItemState.cartItem.id,
+				yield actions.updateCartItem( {
 					key: cartItemState.cartItem.key,
 					quantity: cartItemState.cartItem.quantity,
-					variation,
-					type: cartItemState.cartItem.type,
 				} );
 			},

@@ -892,36 +883,18 @@ const { state: cartItemState } = store(
 			*incrementQuantity(): Generator< unknown, void > {
 				const { multiple_of: multipleOf = 1 } =
 					cartItemState.cartItem.quantity_limits;
-				const variation = cartItemState.cartItem.variation.map(
-					( { raw_attribute: rawAttribute, ...rest } ) => ( {
-						...rest,
-						attribute: rawAttribute,
-					} )
-				);
-				yield actions.addCartItem( {
-					id: cartItemState.cartItem.id,
+				yield actions.updateCartItem( {
 					key: cartItemState.cartItem.key,
 					quantity: cartItemState.cartItem.quantity + multipleOf,
-					variation,
-					type: cartItemState.cartItem.type,
 				} );
 			},

 			*decrementQuantity(): Generator< unknown, void > {
 				const { multiple_of: multipleOf = 1 } =
 					cartItemState.cartItem.quantity_limits;
-				const variation = cartItemState.cartItem.variation.map(
-					( { raw_attribute: rawAttribute, ...rest } ) => ( {
-						...rest,
-						attribute: rawAttribute,
-					} )
-				);
-				yield actions.addCartItem( {
-					id: cartItemState.cartItem.id,
+				yield actions.updateCartItem( {
 					key: cartItemState.cartItem.key,
 					quantity: cartItemState.cartItem.quantity - multipleOf,
-					variation,
-					type: cartItemState.cartItem.type,
 				} );
 			},

diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/frontend.ts
index 774ad1a0fcf..8c5689ac5ab 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/frontend.ts
@@ -177,13 +177,13 @@ const productButtonStore = {

 			const context = getContext< Context >();

-			// Pass quantityToAdd as a delta. The cart store will add this
-			// to the current quantity, ensuring rapid clicks compound correctly.
+			// Pass the quantity to add as the delta `quantity`. The cart store
+			// adds it to the current quantity, ensuring rapid clicks compound
+			// correctly.
 			yield actions.addCartItem(
 				{
 					id: product.id,
-					quantityToAdd: context.quantityToAdd,
-					type: product.type,
+					quantity: context.quantityToAdd,
 				},
 				{
 					showCartUpdatesNotices: false,
@@ -192,17 +192,6 @@ const productButtonStore = {

 			context.displayViewCart = true;
 		},
-		*refreshCartItems() {
-			// Todo: Use the module exports instead of `store()` once the
-			// woocommerce store is public.
-			yield import( '@woocommerce/stores/woocommerce' );
-			const { actions } = store< WooCommerce >(
-				'woocommerce',
-				{},
-				{ lock: universalLock }
-			);
-			void actions.refreshCartItems();
-		},
 		handleAnimationEnd( event: AnimationEvent ) {
 			const context = getContext< Context >();
 			if ( event.animationName === 'slideOut' ) {
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/test/utils.test.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/test/utils.test.ts
index d9ce1d545b6..f17052528df 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/test/utils.test.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/test/utils.test.ts
@@ -27,6 +27,10 @@ jest.mock( '@woocommerce/stores/woocommerce/products', () => ( {} ) );
  * An optimistic cart item with optional response-only fields used by these tests.
  */
 type TestCartItem = OptimisticCartItem & {
+	/** Store API line type, such as `simple` or `variation`. */
+	type?: string;
+	/** Product name, which every Store API line carries. */
+	name?: string;
 	/** Cart key of the parent line, when this line is a declared child. */
 	parent_item_key?: string | null;
 	/** Custom item data attached to the line. */
@@ -48,6 +52,7 @@ const makeCartItem = (
 ): TestCartItem => ( {
 	id,
 	quantity,
+	name: `Product ${ id }`,
 	type: 'simple',
 	...overrides,
 } );
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/utils.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/utils.ts
index f190b8c5966..82b7efede96 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/utils.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-elements-blocks/button/utils.ts
@@ -11,6 +11,7 @@ import type {
  * Internal dependencies
  */
 import { doesCartItemMatchAttributes } from '../../../base/utils/variations/does-cart-item-match-attributes';
+import { isCartItem } from '../../../base/stores/woocommerce/cart/utils';

 /** Product ID and optional selected attributes used to count cart lines. */
 type InCartQuantityTarget = {
@@ -46,6 +47,7 @@ export const getInCartQuantity = (

 		if (
 			target.selectedAttributes !== undefined &&
+			isCartItem( item ) &&
 			item.type === 'variation' &&
 			! doesCartItemMatchAttributes( item, target.selectedAttributes )
 		) {
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/frontend.ts
index 01469d346ba..52505f9b51c 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/frontend.ts
@@ -15,7 +15,7 @@ import type {
 	Store as ShopperListsStore,
 } from '@woocommerce/stores/woocommerce/shopper-lists';
 import type {
-	AddCartItemOutcome,
+	CartItemOutcome,
 	Store as WooCommerce,
 } from '@woocommerce/stores/woocommerce';
 /**
@@ -222,8 +222,7 @@ store< BlockStore >(
 				// `attribute_pa_color`) plus a display label under
 				// `attribute` (e.g. "Color"); the cart matches by the
 				// slug-form, so override `attribute` with `raw_attribute`.
-				// Same swap mini-cart's `changeQuantity` does. Empty for
-				// simple products.
+				// Empty for simple products.
 				const variation = listItem.variation.map(
 					( { raw_attribute: rawAttribute, value, attribute } ) => ( {
 						attribute: rawAttribute || attribute,
@@ -234,17 +233,16 @@ store< BlockStore >(

 				pendingKeys[ listItem.key ] = true;
 				try {
-					// `addCartItem` resolves an `AddCartItemOutcome` captured
+					// `addCartItem` resolves an `CartItemOutcome` captured
 					// at the moment its own request settles (accepted or
 					// rejected), so `outcome.success` tells us directly
 					// whether to drop the source entry — no need to read or
 					// sum the cart ourselves.
 					const outcome = ( yield cartActions.addCartItem( {
 						id: listItem.id,
-						quantityToAdd: listItem.quantity,
-						type: isVariation ? 'variation' : 'simple',
+						quantity: listItem.quantity,
 						...( isVariation && { variation } ),
-					} ) ) as AddCartItemOutcome;
+					} ) ) as CartItemOutcome;

 					if ( ! outcome.success ) {
 						return;
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/test/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/test/frontend.ts
index 939a737f5fb..2faebb9fa8b 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/test/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/saved-for-later/test/frontend.ts
@@ -1,7 +1,7 @@
 /**
  * External dependencies
  */
-import type { AddCartItemOutcome } from '@woocommerce/stores/woocommerce';
+import type { CartItemOutcome } from '@woocommerce/stores/woocommerce';
 import type { RawShopperListItem } from '@woocommerce/stores/woocommerce/shopper-lists';

 type BlockActions = {
@@ -18,8 +18,8 @@ let mockContext: {
 	pendingKeys: Record< string, true >;
 };

-// Captured cart-store action spy; resolves an `AddCartItemOutcome` per test.
-let mockAddCartItem: jest.Mock< Promise< AddCartItemOutcome > >;
+// Captured cart-store action spy; resolves an `CartItemOutcome` per test.
+let mockAddCartItem: jest.Mock< Promise< CartItemOutcome > >;

 // Captured shopper-lists `removeItem` spy and the block store's registered
 // actions, populated when `frontend.ts` calls the mocked `store()`.
@@ -137,6 +137,52 @@ describe( 'Saved-for-later onClickMoveToCart', () => {
 		jest.clearAllMocks();
 	} );

+	it( 'adds a simple entry with exactly { id, quantity } of the entry and no options', async () => {
+		mockContext.listItem = makeListItem( {
+			id: 42,
+			variation_id: 0,
+			quantity: 3,
+		} );
+
+		const actions = loadBlockStore();
+		await runAction( actions.onClickMoveToCart() );
+
+		expect( mockAddCartItem.mock.calls ).toStrictEqual( [
+			[ { id: 42, quantity: 3 } ],
+		] );
+	} );
+
+	it( 'adds a variation entry with exactly { id, quantity, variation } using the slug-form attribute names and no options', async () => {
+		mockContext.listItem = makeListItem( {
+			id: 99,
+			product_id: 42,
+			variation_id: 99,
+			quantity: 2,
+			variation: [
+				{
+					attribute: 'Color',
+					raw_attribute: 'attribute_pa_color',
+					value: 'blue',
+				},
+			],
+		} );
+
+		const actions = loadBlockStore();
+		await runAction( actions.onClickMoveToCart() );
+
+		expect( mockAddCartItem.mock.calls ).toStrictEqual( [
+			[
+				{
+					id: 99,
+					quantity: 2,
+					variation: [
+						{ attribute: 'attribute_pa_color', value: 'blue' },
+					],
+				},
+			],
+		] );
+	} );
+
 	it( 'removes the entry when addCartItem resolves a successful outcome', async () => {
 		mockContext.listItem = makeListItem();

diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/frontend.ts
index d6f003fa77f..4268b3c9c98 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/frontend.ts
@@ -15,7 +15,7 @@ import type {
 	Store as ShopperListsStore,
 } from '@woocommerce/stores/woocommerce/shopper-lists';
 import type {
-	AddCartItemOutcome,
+	CartItemOutcome,
 	Store as WooCommerce,
 } from '@woocommerce/stores/woocommerce';
 /**
@@ -211,17 +211,16 @@ store< BlockStore >(
 				// Wishlist always adds quantity 1 (no quantity column).
 				pendingKeys[ listItem.key ] = true;
 				try {
-					// `addCartItem` resolves an `AddCartItemOutcome` captured
+					// `addCartItem` resolves an `CartItemOutcome` captured
 					// at the moment its own request settles (accepted or
 					// rejected), so `outcome.success` tells us directly
 					// whether to drop the source entry — no need to read or
 					// sum the cart ourselves.
 					const outcome = ( yield cartActions.addCartItem( {
 						id: listItem.id,
-						quantityToAdd: 1,
-						type: isVariation ? 'variation' : 'simple',
+						quantity: 1,
 						...( isVariation && { variation } ),
-					} ) ) as AddCartItemOutcome;
+					} ) ) as CartItemOutcome;

 					if ( ! outcome.success ) {
 						return;
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/test/frontend.ts b/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/test/frontend.ts
index ae440173f3b..fc1487ceb40 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/test/frontend.ts
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/wishlist/test/frontend.ts
@@ -1,7 +1,7 @@
 /**
  * External dependencies
  */
-import type { AddCartItemOutcome } from '@woocommerce/stores/woocommerce';
+import type { CartItemOutcome } from '@woocommerce/stores/woocommerce';
 import type { RawShopperListItem } from '@woocommerce/stores/woocommerce/shopper-lists';

 type BlockActions = {
@@ -18,8 +18,8 @@ let mockContext: {
 	pendingKeys: Record< string, true >;
 };

-// Captured cart-store action spy; resolves an `AddCartItemOutcome` per test.
-let mockAddCartItem: jest.Mock< Promise< AddCartItemOutcome > >;
+// Captured cart-store action spy; resolves an `CartItemOutcome` per test.
+let mockAddCartItem: jest.Mock< Promise< CartItemOutcome > >;

 // Captured shopper-lists `removeItem` spy and the block store's registered
 // actions, populated when `frontend.ts` calls the mocked `store()`.
@@ -149,6 +149,47 @@ describe( 'Wishlist onClickAddToCart', () => {
 		);
 	} );

+	it( 'adds a simple entry with exactly { id, quantity: 1 } and no options', async () => {
+		mockContext.listItem = makeListItem( { id: 42, variation_id: 0 } );
+
+		const actions = loadBlockStore();
+		await runAction( actions.onClickAddToCart() );
+
+		expect( mockAddCartItem.mock.calls ).toStrictEqual( [
+			[ { id: 42, quantity: 1 } ],
+		] );
+	} );
+
+	it( 'adds a variation entry with exactly { id, quantity: 1, variation } using the slug-form attribute names and no options', async () => {
+		mockContext.listItem = makeListItem( {
+			id: 99,
+			product_id: 42,
+			variation_id: 99,
+			variation: [
+				{
+					attribute: 'Color',
+					raw_attribute: 'attribute_pa_color',
+					value: 'blue',
+				},
+			],
+		} );
+
+		const actions = loadBlockStore();
+		await runAction( actions.onClickAddToCart() );
+
+		expect( mockAddCartItem.mock.calls ).toStrictEqual( [
+			[
+				{
+					id: 99,
+					quantity: 1,
+					variation: [
+						{ attribute: 'attribute_pa_color', value: 'blue' },
+					],
+				},
+			],
+		] );
+	} );
+
 	it( 'removes the entry when the add succeeds for a product already in the cart as a meta line', async () => {
 		// A meta line (e.g. a bundle child) resolves the add into a brand-new
 		// standalone cart line rather than bumping the existing one; the
@@ -167,7 +208,7 @@ describe( 'Wishlist onClickAddToCart', () => {
 	} );

 	it( 'removes the entry when the add succeeds with a server-normalized quantity', async () => {
-		// Wishlist always requests quantityToAdd: 1, but the server may still
+		// Wishlist always requests quantity: 1, but the server may still
 		// resolve the line to a different final quantity (e.g. merging with
 		// an existing line); that is still a success and must not block
 		// removal.
diff --git a/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php b/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php
index fcfe32b2cda..133cb82fc2e 100644
--- a/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php
+++ b/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php
@@ -405,8 +405,8 @@ class MiniCart extends AbstractBlock {
 			<div
 				data-wp-interactive="woocommerce/mini-cart"
 				data-wp-init="callbacks.setupJQueryEventBridge"
-				data-wp-on-document--wc-blocks_added_to_cart="woocommerce::actions.refreshCartItems"
-				data-wp-on-document--wc-blocks_removed_from_cart="woocommerce::actions.refreshCartItems"
+				data-wp-on-document--wc-blocks_added_to_cart="woocommerce::actions.refreshCart"
+				data-wp-on-document--wc-blocks_removed_from_cart="woocommerce::actions.refreshCart"
 				<?php if ( 'open_drawer' === $attributes['addToCartBehaviour'] ) : ?>
 				data-wp-on-document--wc-blocks_added_to_cart---open-drawer="actions.openDrawer"
 				<?php endif; ?>
diff --git a/plugins/woocommerce/tests/e2e/tests/blocks/cart-store/cart-line-identity-guest.block_theme.spec.ts b/plugins/woocommerce/tests/e2e/tests/blocks/cart-store/cart-line-identity-guest.block_theme.spec.ts
index 25fb98f615e..5574d1613e3 100644
--- a/plugins/woocommerce/tests/e2e/tests/blocks/cart-store/cart-line-identity-guest.block_theme.spec.ts
+++ b/plugins/woocommerce/tests/e2e/tests/blocks/cart-store/cart-line-identity-guest.block_theme.spec.ts
@@ -109,8 +109,8 @@ test.describe( 'Add to cart respects cart-line identity', () => {
 			frontendUtils,
 		} ) => {
 			// Saved-for-later "Move to cart" and wishlist "Add to cart" call the
-			// same keyless `addCartItem` path this exercises (quantityToAdd, no
-			// key). Here we assert the cart outcome those consumers depend on —
+			// same add-only `addCartItem` path this exercises (a `quantity` delta,
+			// no key). Here we assert the cart outcome those consumers depend on —
 			// a new standalone line beside the untouched meta line, no error
 			// notice. The consumer-specific guarantees (list entry removed, no
 			// spurious "quantity changed" info notice shown to the shopper) are
diff --git a/plugins/woocommerce/tests/e2e/tests/blocks/cart/cart-store.block_theme.spec.ts b/plugins/woocommerce/tests/e2e/tests/blocks/cart/cart-store.block_theme.spec.ts
index e1d3609f682..f6966c12d3b 100644
--- a/plugins/woocommerce/tests/e2e/tests/blocks/cart/cart-store.block_theme.spec.ts
+++ b/plugins/woocommerce/tests/e2e/tests/blocks/cart/cart-store.block_theme.spec.ts
@@ -41,7 +41,7 @@ test.describe( 'Cart Store', () => {
 			);
 		};

-		// Intercept GET /cart (refreshCartItems) to capture the nonce.
+		// Intercept GET /cart (refreshCart) to capture the nonce.
 		await page.route( '**/wc/store/v1/cart**', async ( route ) => {
 			if ( route.request().method() === 'GET' ) {
 				const response = await route.fetch();
@@ -68,7 +68,7 @@ test.describe( 'Cart Store', () => {
 		// here can miss it — poll the intercepted nonce instead.
 		await expect.poll( () => refreshNonce ).toBeTruthy();

-		// Adding a product should use the nonce from refreshCartItems.
+		// Adding a product should use the nonce from refreshCart.
 		await frontendUtils.addToCart( REGULAR_PRICED_PRODUCT_NAME );
 		expect( requestNonce ).toBe( refreshNonce );

diff --git a/plugins/woocommerce/tests/php/src/Blocks/BlockTypes/MiniCart.php b/plugins/woocommerce/tests/php/src/Blocks/BlockTypes/MiniCart.php
index ef6aa717d7f..59f27cbcec7 100644
--- a/plugins/woocommerce/tests/php/src/Blocks/BlockTypes/MiniCart.php
+++ b/plugins/woocommerce/tests/php/src/Blocks/BlockTypes/MiniCart.php
@@ -518,6 +518,16 @@ class MiniCart extends \WC_Unit_Test_Case {
 		$this->assertSame( array(), $block_type->view_script_module_ids, 'The view script module must only be enqueued explicitly from render().' );
 	}

+	/**
+	 * @testdox Should refresh the cart through the woocommerce store's refreshCart action on cart events.
+	 */
+	public function test_cart_events_call_the_refresh_cart_action(): void {
+		$output = $this->render_mini_cart_block();
+
+		$this->assertStringContainsString( 'data-wp-on-document--wc-blocks_added_to_cart="woocommerce::actions.refreshCart"', $output );
+		$this->assertStringContainsString( 'data-wp-on-document--wc-blocks_removed_from_cart="woocommerce::actions.refreshCart"', $output );
+	}
+
 	/**
 	 * @testdox Should keep the closed drawer out of the tab order and the accessibility tree.
 	 */