What it looks for
Cart state reachable via stable URL or API endpoint.
- Pass: Cart URL stable AND JSON endpoint returns cart state.
- Partial: URL stable but no JSON endpoint.
- Fail: Cart accessible only via SPA state (no URL) or ephemeral session URL.
How it is checked
- Fresh browser. Signed out, cookies cleared, desktop and mobile viewports, the store's live theme.
- Open a product. A real, in-stock product page, found the way a shopper finds one.
- Add to cart. Default variant, quantity one, then the cart page itself.
- Read it like an agent. The markup and structured data a shopping agent reads, not the layout.
- Record the verdict. Pass, partial or fail, saved with the evidence it was judged on: a screenshot where the rule is visual.
Why it matters
Agentic checkout requires the agent to inspect the cart before completing a purchase. If cart state is not accessible via a URL or API, the agent cannot verify totals, catch surprise fees, or hand off to a delegated payment flow.
How to fix it
- Expose a stable /cart URL and a /cart.json (or /api/cart) JSON endpoint. Shopify does this by default.
- The JSON endpoint should return line items, quantities, prices, subtotal, shipping estimate, and total.
- If your store is a custom SPA where the cart is JavaScript-only, add a lightweight JSON endpoint alongside. Not doing this locks agents out.
Stores that fail it, from real audits
| Store | Score | Audited |
|---|---|---|
| Enviafloresparadifuntos | 56 |
What the xfix ux team says about this rule
A cart that exists only inside a session is a cart no assistant can hand back to the shopper.
Drafted by the xfix ux team and approved on 22 Sept 2026.
Sources
How to cite it
1 of 38 online stores audited by xfix ux fail the rule "Cart state reachable via stable URL or API endpoint" (CRT-A01) as of November 2026. xfix ux, xfix.ai/ux/rules/stores/cart-at-a-stable-url/
Questions
What does CRT-A01 check?
Cart state reachable via stable URL or API endpoint.
What counts as a pass on CRT-A01?
Cart URL stable AND JSON endpoint returns cart state.
What counts as a fail on CRT-A01?
Cart accessible only via SPA state (no URL) or ephemeral session URL.
How many stores fail CRT-A01?
1 of the 38 published store audits that judged it fail it (3%), as of 29 Nov 2026.
Why does CRT-A01 matter?
Agentic checkout requires the agent to inspect the cart before completing a purchase. If cart state is not accessible via a URL or API, the agent cannot verify totals, catch surprise fees, or hand off to a delegated payment flow.
How do I fix a fail on CRT-A01?
Expose a stable /cart URL and a /cart.json (or /api/cart) JSON endpoint. Shopify does this by default. The JSON endpoint should return line items, quantities, prices, subtotal, shipping estimate, and total. If your store is a custom SPA where the cart is JavaScript-only, add a lightweight JSON endpoint alongside. Not doing this locks agents out.