Buyer consent is the part of UCP where a store says what it would like to do with a buyer's details (analytics, marketing, sharing) and an agent says what the buyer chose. In the 2026-08-25 release it changed shape completely: four true/false flags became a map the store advertises, with its own wording, links and channels, and the agent confirms it key by key, saying who made each choice.
This guide follows the extension step by step on a Sandbox store: what the store advertises, how an agent confirms a choice, what happens when the buyer asks for text messages without giving a phone number, and how two other builds of the same store change what the agent sees. Then we give one agent a plain request with consent in it and check what it sent.
What is buyer consent in UCP?
Buyer consent in UCP (dev.ucp.shopping.buyer_consent) is an extension on carts and checkouts that carries the buyer's data and communication choices between a store and an agent. The spec's own words:
The Buyer Consent extension lets businesses communicate the consent options they offer and lets platforms transmit buyers' consent decisions for data usage and communication preferences — purposes like marketing, analytics, preferences, and sale or sharing of data.
Each choice is a purpose keyed by a reverse-DNS name (dev.ucp.consent.marketing), with granted, source, a description and optional links. A purpose can have segments that narrow it to a channel, such as dev.ucp.consent.marketing.email and dev.ucp.consent.marketing.sms. source says who set the value: business for the store's default, platform for a preference the buyer stated.
The rules that matter most, quoted from the spec:
- "Businesses MUST advertise the complete set of consent options they support."
- When presenting a choice, "platforms MUST use the advertised
description,links,grantedvalue, and purpose/segment grouping." - "When submitting
consent, platforms MUST include every advertised purpose and segment key, carrying bothgrantedandsourcefor each." - "Businesses MUST ignore purposes and segments in a request that were not advertised in a prior response."
- "For an advertised segment, the segment's
grantedvalue overrides the parent purpose'sgrantedfor that segment." - "Platforms MUST set
source: \"platform\"only when thegrantedvalue reflects the buyer's stated preference. For choices to which no buyer preference applies, platforms MUST echo the advertisedsourceunchanged." - On data the choice needs, such as a phone number for SMS: "On
complete_checkout, businesses MUST NOT transition the checkout tocompletedwhile a confirmed consent decision has unmet data dependencies."
What changed
| 2026-04-08 | 2026-08-25 | |
|---|---|---|
| Where | Checkout only | Cart and checkout |
| Shape | Four booleans: analytics, preferences, marketing, sale_of_data |
A map of purposes keyed by reverse-DNS name, with optional segments |
| Who speaks | The agent sends; the store never says what it offers | The store advertises; the agent confirms |
| Wording | None | The store's description and links, which agents must use as given |
| Who chose | Not recorded | source: business (default) or platform (buyer's stated choice) |
| Store's own options | Not possible | Any reverse-DNS name, opaque to agents |
| Missing data | Not covered | missing_consent_data warning, and checkout can't complete |
The change came from PR #451, "buyer consent with per-segment extensibility", opened by Ilya Grigorik (Shopify) and merged on 12 June 2026. It shipped in the 2026-08-25 release, and the extension reads the same on main today. Later changes moved the file into the spec's extensions folder and added spec and schema links to the profile example; the rules didn't change.
The setup
We used the Flowers store on UCP Sandbox, our public test stores, which declares buyer consent on 2026-08-25 and extends both cart and checkout. Every cart and checkout advertises the four well-known purposes and both marketing segments. Analytics and preferences start on, marketing and sale or sharing start off, and three of the purposes link to a "Your data and messages" section on the store's policies page.
Two more builds of the same store, both conforming:
flowers-consent-optin: marketing and its email segment start on.flowers-consent-custom: adds a purpose of the store's own,com.ucpsandbox.consent.club, with a birthday segment and its own link.
We sent each call by hand in UCP Playground Inspect over MCP, with the request on the left and the reply, kept whole, on the right.
Tested with: 1 December 2026, 20:50–20:55 UTC · UCP 2026-08-25 (the extension is the same on main) · UCP Sandbox 0.33.0 (
flowers,flowers-consent-optin,flowers-consent-custom) · UCP Playground 0.24.235 Inspect, MCP · agent run:gemini-3-6-flash, 20:43 UTC
Step 1: the store says it offers buyer consent

The profile at /.well-known/ucp lists the extension against the 2026-08-25 version, and Playground agrees it's active for the session. That's all an agent needs before it creates a cart or checkout; the choices themselves come later, in each response.
"dev.ucp.shopping.buyer_consent": [
{
"version": "2026-08-25",
"spec": "https://ucp.dev/2026-08-25/specification/shopping/extensions/buyer-consent",
"schema": "https://ucp.dev/2026-08-25/schemas/shopping/buyer_consent.json",
"extends": ["dev.ucp.shopping.cart", "dev.ucp.shopping.checkout"]
}
]
Tested with: 1 December 2026, 20:50–20:55 UTC · UCP 2026-08-25 · UCP Sandbox 0.33.0,
flowers· UCP Playground 0.24.235 Inspect, MCP
Step 2: the store advertises every choice

We created a checkout with no consent in the request. The reply carries buyer.consent anyway, because the store must advertise the complete set. Every value is the store's default, so every source is business.
"consent": {
"dev.ucp.consent.marketing": {
"granted": false,
"source": "business",
"description": "Promotional communications",
"links": [{ "type": "privacy_policy", "url": "https://flowers.ucpsandbox.com/policies#privacy" }],
"segments": {
"dev.ucp.consent.marketing.email": { "granted": false, "source": "business", "description": "Promotional emails" },
"dev.ucp.consent.marketing.sms": { "granted": false, "source": "business", "description": "Marketing text messages" }
}
}
}
The excerpt shows marketing; analytics, preferences and sale or sharing come back in the same shape. The descriptions are the store's words, and an agent that asks the buyer must use them as given.
Tested with: 1 December 2026, 20:50–20:55 UTC · UCP 2026-08-25 · UCP Sandbox 0.33.0,
flowers· UCP Playground 0.24.235 Inspect, MCP
Step 3: the agent confirms what the buyer said

Our buyer said: text me offers, don't email me, don't share my data. The confirmation carries every advertised key. The three things the buyer spoke about are source: platform. The two they didn't mention (analytics and preferences) are echoed exactly as advertised, source: business. So is the parent marketing purpose, because the buyer chose by channel and the segments override it.
"dev.ucp.consent.marketing": {
"granted": false, "source": "business",
"segments": {
"dev.ucp.consent.marketing.email": { "granted": false, "source": "platform" },
"dev.ucp.consent.marketing.sms": { "granted": true, "source": "platform" }
}
},
"dev.ucp.consent.sale_or_sharing": { "granted": false, "source": "platform" }
The store's reply keeps each value and each source as sent.
Tested with: 1 December 2026, 20:50–20:55 UTC · UCP 2026-08-25 · UCP Sandbox 0.33.0,
flowers· UCP Playground 0.24.235 Inspect, MCP
Step 4: text messages need a phone number

The buyer said yes to texts but the checkout has no phone number. On create and update, the spec says the store SHOULD say so as a warning. The choice still stands; the store is asking for the data it needs.
{
"type": "warning",
"code": "missing_consent_data",
"path": "$.buyer.phone_number",
"content": "Phone number is required for SMS marketing."
}
Tested with: 1 December 2026, 20:50–20:55 UTC · UCP 2026-08-25 · UCP Sandbox 0.33.0,
flowers· UCP Playground 0.24.235 Inspect, MCP
Step 5: no order until the number arrives

We tried to pay anyway. The store refused to complete: the same problem comes back as an error, severity: recoverable, and the checkout stays open.

We sent the phone number in an update, without touching consent (leaving consent out of a request changes nothing). The warning went away, and the next complete_checkout returned status: completed.
Tested with: 1 December 2026, 20:50–20:55 UTC · UCP 2026-08-25 · UCP Sandbox 0.33.0,
flowers· UCP Playground 0.24.235 Inspect, MCP
Step 6: two builds, two different sets of choices

On flowers-consent-custom the same request advertises a fifth purpose, the store's own loyalty club, with a birthday segment and a link to its terms. Agents can present it using the store's description, but the spec says names outside dev.ucp.consent.* are opaque: an agent can't assume what "club" means from the name alone.

On flowers-consent-optin, marketing and email start on. They are still source: business: the store's default, not anything the buyer said, which is the case the spec says "invites the platform to present the choice".
Tested with: 1 December 2026, 20:55 UTC · UCP 2026-08-25 · UCP Sandbox 0.33.0,
flowers-consent-customandflowers-consent-optin· UCP Playground 0.24.235 Inspect, MCP
One agent, one request
We gave one agent a plain request with consent in it, on the base store: "Buy one bouquet of roses for delivery to 10 Market St, San Francisco, CA 94105, and pay with the test card. I am Sam Lee, [email protected]. Text me offers, but don't email me marketing, and don't share my data." The request has no phone number, on purpose.
We wrote five checks before the run:
| Check | Result |
|---|---|
| 1. Sends every advertised key when it sends consent | No: sent marketing and sale or sharing only |
2. SMS on, email off, sale or sharing off, each with source: platform |
Values right, but no source on any key |
3. Leaves analytics and preferences as advertised, source: business |
No: left them out |
| 4. Handles the phone-number warning by asking for a number (or using one it was given) | No: switched SMS off and paid |
| 5. Tells the buyer what was set, in the store's words | No: consent isn't mentioned in the answer |
The order was placed. The agent saw the warning, tried to pay, was refused, and then sent a new update with SMS turned off: "I am updating the checkout consent preferences to resolve the missing phone number requirement for text offers." Its final answer listed the order, address and total, but not that texts were now off. The buyer had asked for them.
One thing has changed in the store since this run. UCP Sandbox 0.33.0 read a choice sent without source as the buyer's own, so the trace shows the agent's unattributed values recorded as platform. The spec requires source on every choice a platform confirms, so from 0.33.1 (2 December) the store no longer records such a choice: the key keeps its previous value and the reply carries a missing warning at that field. On today's store, this run's first update would have changed nothing, and the phone-number warning would not have appeared.
Open the run with the full trace, including each consent request it sent and the store's replies.
Tested with: 1 December 2026, 20:43 UTC · UCP 2026-08-25 · UCP Sandbox 0.33.0,
flowers· UCP Playground 0.24.235 ·gemini-3-6-flash, one run (about 108k tokens, 40 s). One run is an illustration, not a benchmark.
What it means for stores
- Write the descriptions for a buyer. Agents must use your
descriptionandlinksas given, so "Promotional communications" is what a buyer may read. A clear sentence and a link to the right part of your privacy page do the work a checkbox label used to do. - Advertise the complete set, on carts too if you extend them. The spec asks for every consent option you support, and an agent can only confirm what you advertised; anything else you must ignore.
- Say what each choice needs. If a choice needs data, warn on create and update and refuse to complete until it arrives. Keep the message plain: the agent may repeat it to the buyer.
What it means for agent builders
- Send the whole map, or nothing. If you send
consent, every advertised key goes in withgrantedandsource. Leaving a key out doesn't mean "no". - Mark who chose.
source: platformonly for what the buyer said; echo the store'ssourcefor everything else. A choice you make on the buyer's behalf, like switching a channel off to get past a warning, isn't a buyer's preference. - Treat
missing_consent_dataas a question for the buyer. Ask for the phone number, or ask whether to drop the texts, and say what you set.
What we'll watch
Buyer consent is in the 2026-08-25 release and the same on main, so nothing is pending. We'll watch which stores advertise the full set, whether they write their own descriptions and links, and how agents confirm it. Our buyer consent capability page tracks the extension, and Changes to UCP on our stats page lists every open proposal and recent merge, so you can follow what changes next.
FAQ
What is buyer consent in UCP?
An extension on carts and checkouts (dev.ucp.shopping.buyer_consent) where the store advertises the consent options it offers (analytics, marketing, preferences, sale or sharing, and any of its own) and the agent confirms the buyer's choices, saying for each whether the buyer chose it or it's the store's default.
Which UCP release has the new buyer consent?
The 2026-08-25 release. The 2026-04-08 version had four booleans on checkout only. The extension is the same on main today.
What does source mean in UCP consent?
Who set the value. business means it's the store's default and no buyer preference applies. platform means the agent captured the buyer's stated preference. For anything the buyer didn't speak to, agents must echo the advertised source unchanged, which is usually business.
Does an agent have to send every consent option?
If it sends consent at all, yes: the spec says platforms must include every advertised purpose and segment key, each with granted and source. Leaving consent out of a request is fine and changes nothing.
What is missing_consent_data?
The warning a store gives when a confirmed choice needs data the checkout doesn't have, such as SMS marketing without a phone number. On complete_checkout the store must not complete until the data arrives.
Can a store add its own consent options?
Yes. Any reverse-DNS name works, such as a loyalty programme, with its own description, links and segments. Agents treat names outside dev.ucp.consent.* as opaque.
Do AI agents handle UCP buyer consent correctly?
In our one illustrative run, the agent got the buyer's choices right but sent only the keys it changed, with no source, and when the store asked for a phone number it switched texts off instead of asking. One run isn't a benchmark; we'll keep testing.
About UCP Checker
UCP Checker is the independent validation and observability layer for the Universal Commerce Protocol. We crawl, validate and grade every public UCP manifest we can find, run the merchant directory, the UCP Score, live adoption stats, the vertical guides and the authority-bound vendor map, and track the spec as it evolves so you don't have to — measured from two vantages (what a business declares, and what actually happens when an agent transacts), the same way for everyone, without picking winners.
Sources
- Buyer Consent extension. UCP specification, 2026-08-25 release (the same on main, checked 1 December 2026).
- PR #451: buyer consent with per-segment extensibility. Merged 12 June 2026, 2026-08-25 release.
- UCP Sandbox Flowers policies: Your data and messages. The page the store's consent links point to.
- The agent run. UCP Playground, Gemini 3.6 Flash, 1 December 2026, 20:43 UTC.
Related coverage: UCP fulfillment explained, step by step · UCP list price explained, step by step · UCP discount codes explained, step by step · How UCP works: a real agent buys flowers
