Agentic commerceN-0828 Nov 202611 min read

What a merchant on its own stack must expose for agents to buy from it

A storefront that has taken orders for ten years has a checkout made of pages: cart, address, shipping, payment, review. Each page computes what it needs when it is rendered. Nobody ever asked that checkout the same question twice and compared the answers, because the only client was a browser showing one page at a time.

An agent surface does ask twice. It creates a checkout, reads it back, updates it, reads it again and then completes it, and at each call it expects the whole cart with its total. If two of those answers differ and the buyer changed nothing, the platform has shown two prices for one purchase and holds a payment credential for one of them.

The list of things a merchant must expose is short. The work is in one property those interfaces assume and a page-sequence checkout lacks: asked the same question twice, it returns the same total. I go through the list artefact by artefact and spend the most time on that property.

Who is asking, in November 2026

An earlier article covers which specification owns which step of an agent purchase. From the merchant’s side: ChatGPT reads a product feed and drives the merchant’s own web checkout with a signed cloud browser; Google and Microsoft Copilot use the Universal Commerce Protocol (UCP, latest release v2026-08-25); independent agents may also use the Agentic Commerce Protocol (ACP, latest 2026-04-17). On every surface the merchant stays merchant of record, as UCP’s checkout capability says, so tax, refunds and chargebacks do not move.

Each surface, what it consumes and who may connect
Surface What it consumes from the merchant Access
ChatGPT A product feed; the merchant’s web checkout, driven by a signed cloud browser; optionally a plugin, an MCP server with product, cart and checkout tools Feed through the merchant portal; “Checkout requires a separately enabled integration”
Google AI Mode and Gemini UCP native checkout over REST, or embedded checkout in an iframe; a Google Pay token charged by the merchant’s PSP Select merchants; products eligible in the United States, Canada and Australia
Microsoft Copilot A “UCP-compliant feed” in Microsoft Merchant Center, or a connection through Shopify or Stripe English-language merchants selling to US buyers in USD, one PSP per merchant
Independent agents A UCP profile at /.well-known/ucp; ACP’s discovery document at /.well-known/acp.json Published by the merchant on its own domain

Vendor write-ups from commercetools (April 2026) and BigCommerce (October 2026) report that OpenAI scaled back Instant Checkout in March 2026. A merchant therefore builds against at least two dated versions of UCP and cannot assume ACP is in use on the largest surface.

The inventory

Each row is something the merchant must publish, serve or emit.

Capability What the merchant must build
Product feed An export per surface with item identifiers the checkout accepts
Discovery profile A static document of endpoints, capabilities, payment handlers and keys
Checkout session Create, get, update, complete and cancel, each returning the full session
Stable totals A store of versioned quotes in front of the legacy checkout
Idempotent writes A key store and a step log across stock, payment and order
Payment handler A credential type the PSP can charge
Order events The full order, signed, sent on every change
Agent traffic recognition Signature verification at the edge, passed on to risk

Figure 1 shows how these parts sit between the agent surfaces and the systems the merchant already runs.

flowchart TD
  S["Agent surfaces"] --> E["Edge: verify signatures"]
  E --> A["Adapter: UCP and ACP serializers"]
  A --> ST["Session store and idempotency log"]
  A --> Q["Quote function"]
  Q --> PR["Prices and promotions"]
  Q --> SH["Carrier rates and tax"]
  A --> PSP["PSP"]
  A --> OMS["Order management"]
  OMS -->|"signed order events"| S
Figure 1 The adapter is the only new service, and what it stores is what the existing systems never had to remember.

A product feed record

OpenAI’s product feed schema gives this minimal record:

ChatGPT product feed, minimal record as published
{"item_id":"MUG-350-BLUE","title":"Blue ceramic mug, 350 mL","description":"Dishwasher-safe glazed ceramic mug with a handle.","url":"https://example.com/products/mug-blue","brand":"Northline","seller_name":"Northline Home","image_url":"https://example.com/images/mug-blue.jpg","price":"18.00 USD","availability":"in_stock","target_countries":["US"],"store_country":"US"}

The agent later hands item_id to the checkout, and ACP’s feed RFC, still a proposal, requires a “deterministic mapping” where catalogue and checkout identifiers differ. In many stacks they do. Fix that first: a wrong mapping fails at checkout creation, after the buyer has chosen.

price is in major units here and in integer minor units in both checkout protocols, so keep one tested conversion function. And availability “does not reserve inventory”, in the ACP proposal’s words.

A profile at a well-known path

UCP platforms discover a merchant at /.well-known/ucp. This listing is cut down from the specification’s example.

UCP business profile, abridged from the specification example
{
  "ucp": {
    "version": "2026-08-25",
    "services": {
      "dev.ucp.shopping": [
        { "version": "2026-08-25", "transport": "rest",
          "endpoint": "https://business.example.com/ucp/v1" },
        { "version": "2026-08-25", "transport": "mcp",
          "endpoint": "https://business.example.com/ucp/mcp" }
      ]
    },
    "capabilities": {
      "dev.ucp.shopping.checkout": [ { "version": "2026-08-25" } ]
    },
    "payment_handlers": {
      "com.example.processor_tokenizer": [
        { "id": "processor_tokenizer",
          "available_instruments": [ { "type": "card" } ] } ]
    }
  },
  "keys": [
    { "kid": "business_2025", "kty": "EC", "crv": "P-256", "use": "sig", "alg": "ES256" }
  ]
}

Each block is a promise: a REST call and an MCP tool call must reach the same session, and keys signs order events, so key rotation is operational work from day one.

A checkout session response

This is what the merchant returns from create, and again from every other call. The example is from UCP’s REST binding, with envelope, links and payment blocks elided.

UCP create checkout response, abridged
{
  "id": "chk_1234567890",
  "status": "incomplete",
  "messages": [
    {
      "type": "error",
      "code": "missing",
      "path": "$.buyer.email",
      "content": "Buyer email is required",
      "severity": "recoverable"
    }
  ],
  "currency": "USD",
  "line_items": [
    {
      "id": "li_1",
      "item": { "id": "item_123", "title": "Red T-Shirt", "price": 2500 },
      "quantity": 2
    }
  ],
  "totals": [
    { "type": "subtotal", "amount": 5000 },
    { "type": "tax", "amount": 400 },
    { "type": "total", "amount": 5400 }
  ]
}

What a web checkout shows as a form is data here: a status, and messages that point at a field by path with a severity. Validation rules that live in page templates must be expressible in that shape.

The session status lifecycle and the handoff to the merchant’s pages

The status values form a small state machine that the merchant drives. Figure 2 draws it from the specification’s lifecycle; a session can also become canceled from any state when it expires or is invalidated, shown once.

stateDiagram-v2
  state "incomplete" as inc
  state "requires_escalation" as esc
  state "ready_for_complete" as rdy
  state "complete_in_progress" as prog
  state "completed" as done
  state "canceled" as can
  [*] --> inc
  inc --> rdy: all information collected
  inc --> esc: buyer input needed
  esc --> inc
  rdy --> prog: Complete accepted
  rdy --> done: Complete finished
  prog --> done
  esc --> done: buyer finishes on merchant site
  inc --> can: expired or invalid
  done --> [*]
Figure 2 The merchant sets the status on every response, and only one state allows the platform to complete without the buyer visiting the merchant.

expires_at is the session’s lifetime, chosen by the merchant; the platform “will honor the TTL provided by the business”. continue_url is the handoff to the merchant’s own pages: a business “MUST provide continue_url when returning status = requires_escalation”, ideally as “An opaque URL backed by server-side checkout state”. OpenAI’s plugin guidance asks for “a short-lived, one-time authenticated magic link that opens the same cart and checkout session”. So the web checkout must be able to open a session it did not create, with no cookie.

Why a page-sequence checkout gives two totals

UCP states the assumption as a rule: “Logic handling the checkout sessions MUST be deterministic.” ACP states it as a goal, an “authoritative cart state on every response”. Neither says how to get there from a checkout built as pages.

In a page-sequence checkout every component of the total has an owner and a moment: a cached price list on the product page, promotions in the cart and again at order placement, a carrier rate after the address, tax at the address step, stock reserved only at order placement. The total itself belongs to no service. The storefront session adds it up on every render, which was fine while a shopper saw one render at a time.

The failure, step by step

Put a thin adapter in front of that checkout and let it compute on demand. The case is constructed for illustration. A cart is worth €184.00 including VAT. The carrier quotes €9.00 for the address. The merchant’s shipping rules, like many, fall back to a flat €14.00 when the carrier does not answer within two seconds. Figure 3 shows three calls for one unchanged cart.

sequenceDiagram
  participant P as Agent platform
  participant A as Adapter
  participant L as Legacy checkout
  participant C as Carrier API
  P->>A: Create checkout
  A->>L: build cart, compute totals
  L->>C: rate request
  C-->>L: 9.00
  A-->>P: total 193.00
  P->>A: Get checkout
  A->>L: compute totals
  L->>C: rate request
  Note over L,C: no answer in 2 s, flat rate 14.00
  A-->>P: total 198.00
  P->>A: Get checkout
  A->>L: compute totals
  L->>C: rate request
  C-->>L: 9.00
  A-->>P: total 193.00
Figure 3 Computing on demand, the adapter gives three answers for one unchanged cart, and one of them is different.

Each response is internally consistent, so nothing in the protocol flags a problem. Follow it to payment. The buyer approves €193.00. With Stripe’s Shared Payment Token the platform mints a credential “scoped to your checkout, your Stripe profile, and the checkout total”: 19300. The platform calls complete. The legacy place-order code computes the total once more, the carrier is slow again, and it tries to charge 19800 against a credential scoped to 19300. The charge fails and the buyer is told the payment failed. The cause was a slow rate lookup, and the merchant’s logs show a payment error with no trace of the shipping fallback.

A promotion ending between two calls, a price cache refreshing or a stock check that passes on get and fails on complete have the same shape: the same inputs give a different answer, and the adapter has no record of the first.

A change of input is different. Google’s native flow sends a limited address at creation and the full one at payment, so shipping can legitimately change. The session should answer with a new total, a message and a status that sends the buyer back to review. The defect is a changed answer without a changed input.

The session store

Caching the last response hides most differences but cannot say why a total changed when the cache expires. Rewriting the legacy checkout to be deterministic is the right end state and a long project. Or the adapter can own a store of versioned answers and call the legacy systems as a quote function only when there is a reason. I would take the last, because it can be built in front of the existing checkout and gives the audit trail the others lack. The schema is illustrative.

Session store, illustrative
CREATE TABLE checkout_session (
  id           text PRIMARY KEY,        -- returned to the platform
  protocol     text NOT NULL,           -- 'ucp' or 'acp': picks the serializer
  legacy_cart  text NOT NULL,           -- cart in the commerce engine
  status       text NOT NULL,
  version      int  NOT NULL,           -- current row in session_version
  expires_at   timestamptz NOT NULL
);

CREATE TABLE session_version (
  session_id   text REFERENCES checkout_session(id),
  version      int,
  inputs_hash  text NOT NULL,           -- items, address, option, codes
  totals       jsonb NOT NULL,          -- minor units, protocol-neutral
  quote_refs   jsonb NOT NULL,          -- carrier rate id, price list, tax calc
  valid_until  timestamptz NOT NULL,    -- earliest expiry among the quotes
  reason       text NOT NULL,           -- 'created', 'address_changed', ...
  PRIMARY KEY (session_id, version)
);

inputs_hash makes “the same question” testable. quote_refs lets a later dispute be traced to a source. valid_until is the earliest moment any quote stops being honoured. reason is the line the adapter in Figure 3 could not write. The rules are short: create calls the quote function once; get returns the stored version and never computes; update with unchanged inputs returns the stored version, with changed inputs stores a new one; complete charges the stored total. If the version has passed valid_until, complete requotes, and if the total moved it stores a new version and returns the session uncompleted, which UCP allows as “incomplete for a recoverable change”. Figure 4 replays Figure 3 with the store in place.

sequenceDiagram
  participant P as Agent platform
  participant A as Adapter
  participant S as Session store
  participant Q as Quote function
  participant PSP
  P->>A: Create checkout
  A->>Q: quote for these inputs
  Q-->>A: totals, quote refs, valid until
  A->>S: save version 1
  A-->>P: total 193.00
  P->>A: Get checkout
  A->>S: read version 1
  A-->>P: total 193.00
  P->>A: Complete, token for 193.00
  A->>S: lock session, version 1 valid
  A->>PSP: charge 193.00
  PSP-->>A: approved
  A-->>P: completed, order
Figure 4 With a session store, reads never reach the carrier and completion charges the total that was stored.

The carrier timeout now happens once, at create, where both choices are deterministic: fail the quote, or store the flat rate.

This has a cost. A stored quote is a commitment: if the carrier’s price rises inside valid_until, the merchant absorbs it. No specification I read sets a minimum window. Stock is the hard case, because a stored total does not hold a unit: either the adapter places a soft reservation at create, or complete can still fail for stock. And the web checkout should call the same quote function, or the page behind continue_url will show a different total from the one the agent just displayed.

Two serializers for one total

The stored totals are protocol-neutral because the protocols disagree on the arithmetic. UCP lets the platform verify totals with this check, quoted from the specification, and platforms “MUST NOT autonomously complete a checkout with mismatched totals”:

UCP totals verification, as published
assert sum(e.amount for e in totals if e.type != "total") == total_entry.amount

ACP’s checkout RFC gives this create response:

ACP create response, totals as published
"totals": [
  { "type": "items_base_amount", "display_text": "Item(s) total", "amount": 300 },
  { "type": "subtotal", "display_text": "Subtotal", "amount": 300 },
  { "type": "tax", "display_text": "Tax", "amount": 30 },
  { "type": "fulfillment", "display_text": "Fulfillment", "amount": 100 },
  { "type": "total", "display_text": "Total", "amount": 430 }
]

Apply the UCP check: 300 + 300 + 30 + 100 is 730, not 430. An adapter that emits ACP-shaped totals to a UCP platform produces sessions no agent may complete on its own. The update semantics differ too: a UCP update “performs a full replacement”, so an omitted field is removed, while in ACP an omitted field is left alone. Route both to one internal update function and one protocol will silently lose or keep an address.

Other differences between UCP v2026-08-25 and ACP 2026-04-17 an adapter must encode
Aspect UCP v2026-08-25 ACP 2026-04-17
Update semantics “Performs a full replacement of the checkout resource” Partial; null means “clear this field”, absent means “do not modify”
Status before payment ready_for_complete ready_for_payment
Idempotency key Operations that modify state “SHOULD support idempotency” Required on every POST; 400 idempotency_key_required without it
Same key, different body 409 Conflict 422 idempotency_conflict
Same key, first call still running Not stated in the REST binding’s header rules 409 idempotency_in_flight with Retry-After
Key retention At least 24 hours when a key is provided At least 24 hours

In tax-inclusive markets Google’s native checkout guide adds a rule: VAT goes inside subtotal, with no separate tax entry.

Idempotency across three systems

ACP requires an Idempotency-Key on every POST, stored in the same transaction as the operation. For create and update that is a write to the session store. Complete is different: legacy place-order reserves stock in the order management system, authorizes at the PSP and creates an order, in three systems with no shared transaction. So the adapter keeps a step log under the key (illustrative):

Completion step log, illustrative
CREATE TABLE completion_step (
  session_id    text,
  step          text,                   -- 'reserve', 'authorize', 'create_order'
  state         text NOT NULL,          -- 'started', 'done', 'compensated'
  external_ref  text,                   -- reservation, payment or order id
  PRIMARY KEY (session_id, step)
);

A repeated complete continues from the first step that is not done, passing stored references on so the PSP and the order system recognize their own repeats. Get after a lost response must answer from the store, including complete_in_progress. Stripe’s order approval hook has a four-second timeout and warns that “some agents might retry these API requests”. The payment side of an unknown outcome is the subject of A timeout is not a decline.

Payment handlers and order events

The surface chooses the credential, for example a Google Pay token or Stripe’s shared payment token. The merchant can only declare what its PSP supports, and should declare nothing else.

After completion, UCP’s order capability has the merchant push events to the platform’s webhook:

UCP order event webhook, as published
POST /webhooks/ucp/orders HTTP/1.1
Host: platform.example.com
Content-Type: application/json
UCP-Agent: profile="https://merchant.example/.well-known/ucp"
Content-Digest: sha-256=:X48E9q...:
Signature-Input: sig1=("@method" "@authority" "@path" "content-digest" "content-type");keyid="merchant-2026"
Signature: sig1=:MEUCIQDTxNq8h7LGHpvVZQp1iHkFp9+3N8Mxk2zH1wK4YuVN8w...:

{"id":"order_abc123","event_id":"evt_123","created_time":"2026-01-15T12:00:00Z",...}

The signature follows RFC 9421 with a key from the profile. The work is in the body: the business “MUST send full order entity on updates (not incremental deltas)”, refunds and disputes included, and ACP has the same obligation. In many stacks no one system holds the full order, so I would assemble events from an outbox written in the same transaction as each change.

A signature on agent traffic

ChatGPT’s cloud browser signs its requests with Web Bot Auth, HTTP Message Signatures applied to automated traffic. The IETF draft HTTP Message Signatures for automated traffic (revision 01, 29 October 2026) gives this example:

Web Bot Auth signed request, from draft-ietf-webbotauth-httpsig-protocol-01
GET /path/to/resource HTTP/1.1
Host: origin.example.com
Signature: sig=abc==
Signature-Input: sig=("@authority" "signature-agent";key="sig");\
                 created=1700000000;\
                 expires=1700011111;\
                 keyid="ba3e64==";\
                 tag="web-bot-auth"
Signature-Agent: sig="https://signer.example.com"

This example signs only @authority and the agent header, so it “verifies against any method, path, or body sent to that authority until it expires”. The header has two forms in circulation, the draft’s dictionary and a bare string that OpenAI tells merchants to match; a hand-written rule should accept both. A valid signature identifies a key holder and “says nothing about … whether the request is authorized”. Visa’s Trusted Agent Protocol is a separate RFC 9421 scheme with its own tags.

Verification is half the problem. OpenAI warns that its cloud browser “can set off these systems by accident and cause purchases to fail”, because fraud models were trained on browsers operated by people. It relays the user’s signals in a Forwarded header; UCP carries them as signals. The common gap is plumbing: the edge verifies the signature and drops the result, and the fraud tool scores a data-centre IP with no device fingerprint.

Where this inventory stops

Vendor packages move the adapter, not the quote. Shopify’s Agentic plan and Stripe’s Agentic Commerce Suite host much of this inventory, but their hooks still call the merchant’s own tax, shipping and stock systems. A hook that answers differently on the second call reproduces Figure 3 one layer further out.

Geography. Google’s checkout covers the United States, Canada and Australia, and Copilot covers US buyers.

No conversion data. No primary source I know of publishes conversion for checkouts completed through these protocols; Adobe’s holiday forecast counts AI traffic that clicks through to retailers.

Drafts. Web Bot Auth changed its header format between drafts, and the ACP feed specification is a proposal.

One function before five interfaces

The feed and the edge rule are worth shipping early, since they already cover purchases through the merchant’s own pages. After that, the order I would follow starts with the total. Build a single quote function that returns totals, quote references and a validity time, and make the existing web checkout call it. Put the session store on top, with versions and reasons. Then add the serializers: UCP over REST, MCP tools over the same store, ACP when a channel asks for it. Put idempotency in the adapter and emit order events from an outbox.

Every interface repeats a number the merchant computed, and a credential and a buyer’s approval are bound to it. A checkout that cannot give the same number twice will fail behind any of them, and the failure will look like a payment problem. No specification tells the merchant how long the number must stay true, so it has to choose a window and carry the cost of keeping its word. The first metric I would put on the adapter is the share of sessions whose total changed between create and complete, by channel and by reason.

Sources

Work with me

Working on this problem? I’m glad to compare notes.

Tell me about the problem