Coordinate a multi-merchant agent purchase across ACP and Universal Commerce Protocol (UCP) endpoints in a single agent session

domain: shopify.dev/docs/agents · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. At session start, the agent resolves each target merchant's supported protocol by checking for ACP checkout endpoints (Stripe-hosted) and UCP endpoints (Shopify-native); build a per-merchant protocol map
  2. For ACP merchants, initiate the checkout session via the ACP checkout endpoint and obtain a session token; for UCP merchants, use Shopify's Checkout MCP server to create a cart
  3. Execute product selection and cart population concurrently across all merchants using the respective protocol; resolve any inventory conflicts before proceeding to payment
  4. Submit payment using the buyer's Shared Payment Token (for ACP merchants) or Shopify-native payment via UCP; apply idempotency keys per-merchant to prevent double charges if the orchestration layer retries
  5. Collect order confirmation objects from all merchants and consolidate into a unified purchase summary; surface any partial failures (one merchant succeeded, another declined) to the human principal for resolution

Known gotchas

Related routes

Expose a Shopify storefront to AI agents using the Universal Commerce Protocol (UCP) and enable ACP-compatible agent checkout
shopify.dev/docs/agents · 6 steps · unrated
Implement the Universal Commerce Protocol (UCP) merchant side to make your store natively transactable by any UCP-compatible AI agent from any platform
shopify.dev/docs/agents · 6 steps · unrated
Implement ACP checkout sessions as a merchant endpoint so AI agents like ChatGPT can complete purchases programmatically
docs.stripe.com/agentic-commerce/acp · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans