Help center
REST API
Call Commerce and Odoo Agent tools over HTTP with the workspace MCP API key.
Updated 22 November 2026
Platform REST mirrors MCP tools. Use it from backends, scripts, and automation. Native storefronts should use the Mobile app API instead. That path carries a customer JWT, bag sync, and assist mode.
This page used to live at /developers/rest. That URL redirects here.
Overview
- Commerce:
GET /api/v1/platform/tools, thenPOST /api/v1/platform/tools/{tool_name} - Odoo Agent:
GET /api/v1/platform/erp/tools, thenPOST /api/v1/platform/erp/tools/{tool_name}
Commerce REST only invokes the read-only tool list (search_products, get_product_details, check_inventory, list_product_variants, list_categories, recommend_products, find_compatible_products, fetch_order_status, list_my_orders). Cart session tools are not on this route. Unknown names return 404.
The Odoo Agent route can invoke that server’s read and write tools. It is still marked coming soon as a product. See Coming soon and MCP.
Authentication
Send the workspace MCP API key as a bearer token. Copy it from the eCommerce Agent page. Never put this key in a public app or browser.
Authorization: Bearer <MCP_API_KEY>
Content-Type: application/jsonCommerce calls also require the Commerce product to be enabled and a store to be connected. Otherwise the API returns 403.
Commerce example
Optional customer_phone on the body scopes customer-specific tools. Cart and checkout tools are not this route. They run through the shop widget, WhatsApp, or Mobile Chat.
curl -X POST https://<YOUR_HOST>/api/v1/platform/tools/search_products \
-H "Authorization: Bearer <MCP_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"arguments":{"query":"acoustic panel","limit":5}}'fetch_order_status and list_my_orders are refused on the Free eCommerce plan (HTTP 402 when the tool result is a usage or billing block).
Odoo Agent example
ERP calls run as a specific Odoo user. Send that employee’s login and API key so access matches Odoo.
curl -X POST https://<YOUR_HOST>/api/v1/platform/erp/tools/search_records \
-H "Authorization: Bearer <MCP_API_KEY>" \
-H "X-Odoo-User-Login: your.odoo.login" \
-H "X-Odoo-User-Token: <ODOO_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"arguments":{"model":"crm.lead","limit":5,"fields":["id","name"]}}'Missing X-Odoo-User-Login or X-Odoo-User-Token returns 401.
Errors
| Code | Meaning |
|---|---|
| 401 | Missing or invalid MCP key, or the Odoo user headers are missing on an ERP call |
| 402 | Plan or usage limit (usage_limit or billing_blocked) |
| 403 | Commerce or Odoo Agent is not enabled, or no store is connected |
| 404 | Unknown tool name |
There is no separate per-key rate limit on these routes. See Errors and rate limits.
Was this helpful?