POST /v1/commerce/execute
Channel=api. Submit service_slug plus input payloads (CSV/JSON bodies). Consumes an entitlement or returns 402. Returns order_id and run_id when start=true.
DEVELOPERS
Run purchased Service Versions from your systems or agents. POST /v1/commerce/execute and POST /v1/mcp share the same entitlement → normalize → worker → review → evidence spine as upload in Orders.
Channel=api. Submit service_slug plus input payloads (CSV/JSON bodies). Consumes an entitlement or returns 402. Returns order_id and run_id when start=true.
JSON-RPC MCP over HTTP. Tools: list_entitlements, execute_service, get_order, get_order_evidence. Same execute spine as REST.
Machine credentials (ih_live_…) created in Orders for your org. Use Authorization: Bearer on commerce and MCP routes.
Pinned Service Version, publisher review when required, and exportable proof — identical to upload-channel Orders.
Manifest field intake_channels declares which paths a version offers. Typical intake_channels: upload, api, mcp, email, and sftp.
Humans attach files in Orders. Session auth. Same normalize + worker path.
Buyer systems POST /v1/commerce/execute with org API key or session.
Agents call execute_service on POST /v1/mcp with the same key.
Forwarded packets and attachments land on the Order, then normalize.
Multi-site or vendor batch drops land as file packs on the Order.
Legacy
Older POST /ask and related decision-engine paths are not the Commerce Execution API. Prefer /v1/commerce/execute and /v1/mcp for entitled Service Versions. Legacy routes are documented under Legacy on the API reference when still needed for prior integrations.
See legacy section →Browse the marketplace for a Service Version, create an org API key in Orders, and call commerce execute or MCP.