Back to Directory
UCP Cart Capability favicon

UCP Cart Capability

LiveVerified

New optional UCP spec capability (March 2026) enabling AI agents to add multiple items to a shopping cart at once from a single store, matching how human shoppers behave.

The UCP Cart capability is a new optional specification addition announced by Google on March 19, 2026. It enables AI shopping agents to save or add multiple items to a shopping cart simultaneously from a single store, replicating the natural behavior of human shoppers who add multiple items before checkout.

Prior to this capability, UCP interactions were focused on single-item checkout flows. The Cart capability is optional and merchants can choose whether to implement it, giving them flexibility in how deeply they support agentic shopping.

Why This Matters for UCP

The Cart capability extends UCP beyond single-item checkout to support multi-item shopping sessions, making agentic commerce feel natural and efficient for shoppers.

UCP Capabilities

checkout

UCP Endpoint

Live — Endpoint not yet publicly available

Integration Example

// UCP Cart capability - add multiple items at once
const cart = await ucpClient.cart.create({
  merchant_id: 'merch_123',
  items: [
    { product_id: 'prod_abc', quantity: 2, variant_id: 'var_blue_m' },
    { product_id: 'prod_xyz', quantity: 1, variant_id: 'var_default' }
  ],
  shopper_token: identityToken  // optional: identity-linking
});
// Returns a cart_id usable in subsequent checkout flow

UCP Status

Live

Tags

specificationcartmulti-itemagentic-shoppingmarch-2026

Pricing

free

Added 2026-03-25
Verified2026-03-25
DocumentationSource

Related Guides

Reviews

★★★★★4.6 (5 reviews)

These are illustrative examples to show what reviews will look like. Submit your own experience below.

YO

Y. Okonkwo

API Engineer · Feb 25, 2026

★★★★

Good tool for UCP conformance testing. Runs fast and the output is easy to parse in CI. Would like a JSON output mode — currently only text.

BT

B. Thompson

Staff Engineer · Mar 5, 2026

★★★★★

This saved us days of work. Dropped it into our pipeline and had UCP endpoint validation running in about 20 minutes. Documentation is accurate.

KP

K. Park

Backend Developer · Feb 18, 2026

★★★★★

The best developer tool in this category. TypeScript types are correct and complete. Error messages actually tell you what went wrong.

EG

E. Garcia

Senior Engineer · Jan 30, 2026

★★★★

Solid tool. The test suite coverage is excellent. I found one edge case in the payment token validation that the maintainers fixed within 48 hours.

MF

M. Fischer

DevTools Engineer · Mar 8, 2026

★★★★★

Integrated in an afternoon. The discovery endpoint just worked. The CLI flags are well-designed — composable, no magic defaults.

24 other tools in Developer Tools

Is this your tool? Claim this listing

Related Developer Tools

UCP Specification favicon

UCP Specification

Developer Tools

Ecosystem

The official Universal Commerce Protocol specification repository maintained by the UCP organization.

specificationprotocolofficial
UnverifiedAgent-Ready: 40%
4.2implementation(52 signals)
Open Sourcefree
UCP Samples favicon

UCP Samples

Developer Tools

Ecosystem

Official sample implementations and examples for the Universal Commerce Protocol.

examplessamplesofficial
UnverifiedAgent-Ready: 40%
4implementation(55 signals)
Open Sourcefree
UCP Conformance Tests favicon

UCP Conformance Tests

Developer Tools

Ecosystem

Official conformance test suite for validating UCP protocol compliance.

testingconformanceofficial
Verified 4 days agoAgent-Ready: 40%
4.3implementation(15 signals)
Open Sourcefree