Cherry Seed

Does WooCommerce need an API for AI shopping agents?

ai-agent-api woocommerce-api agent-commerce side-door tokenised-payment

Quick Answer

WooCommerce stores need a dedicated API for AI shopping agents because these agents transact through structured JSON endpoints, not web pages. Mastercard completed live agentic transactions in Singapore and South Korea in February 2026, with tokenised credentials issued directly to AI agents by September (Seresa). WordPress already provides REST API infrastructure at /wp-json/ and WooCommerce adds product and order endpoints. The missing piece is a dedicated agent namespace — a side door returning machine-readable product data and transaction capabilities that no human visitor ever sees.

Full Answer

AI shopping agents do not browse websites the way people do. They send structured requests to API endpoints, parse JSON responses, and execute transactions programmatically. When an agent from ChatGPT, Microsoft Copilot, or a brand's own commerce assistant tries to buy a product from a WooCommerce store, it needs endpoints that return real-time pricing, stock levels, product attributes, and a checkout flow it can complete without rendering a single page.

WordPress ships with a REST API at /wp-json/ that already handles authentication, routing, and permission scoping. WooCommerce extends it with product, order, and customer endpoints. The infrastructure exists — but it was built for developers building apps, not for autonomous agents making purchases on behalf of consumers. The gap is a purpose-built agent namespace: a set of endpoints that expose a machine-readable product catalogue, accept tokenised payment credentials, and return structured transaction confirmations.

This is what the industry calls a "side door" — an API surface designed specifically for non-human visitors (Seresa). Stores that expose one give AI agents a path to discover, evaluate, and purchase products. Stores that don't force agents to scrape HTML, guess at pricing structures, and abandon the transaction when they hit a CAPTCHA or JavaScript-rendered checkout. The REST API foundation is already there. The agent-specific layer on top is what most WooCommerce stores still lack.

Sources

Programmatic Access

GET https://seresa.io/wp-json/cherry-tree-by-seresa/v1/seeds/1166

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/ai-data-readiness/does-woocommerce-need-api-for-ai-shopping-agents