REST API
The primary production path. Use API keys, direct requests, and webhooks for authenticated control-plane operations and execution flow.
Default production integration path
Agent integration
Pivota is the builder surface for the commerce decision and order execution layer that sits on top of existing storefront, checkout, and payment systems.
Some merchants start with discovery, feeds, or link-out. When a merchant is ready for deeper flows, builders use the REST path or MCP to work with checkout, orders, events, and webhooks.
Why this matters
Merchant onboarding and rollout choice come first. This page describes the builder surface that sits on top of that merchant path, whether the merchant is starting with lighter discovery flows or deeper merchant-native checkout.
Start in 4 steps
Create a developer account and get a production or test API key.
Send a first authenticated request against the branded API domain.
Create the first order or checkout flow and confirm response shape.
Configure webhook delivery and validate execution updates before promoting traffic.
Public quickstart
Use the public API base and the X-API-Key header to validate access before building deeper order or checkout flows.
curl https://api.pivota.cc/agent/v1/merchants \
-H "X-API-Key: YOUR_API_KEY"Choose your integration mode
The primary production path. Use API keys, direct requests, and webhooks for authenticated control-plane operations and execution flow.
Default production integration path
The pivota-agent 1.0.0 package on PyPI is not maintained and does not work as published: its default API host is retired and its README names the wrong install package. There is no supported Python SDK today; build against the REST contract.
Not maintained; use REST
A hosted remote MCP server at https://commerce.mcp.pivota.cc/mcp with OAuth, for MCP clients that support remote servers; confirm your client supports remote MCP with OAuth before relying on it. The open door at https://mcp.pivota.cc/mcp exposes four read-only tools. The keyed door adds scoped capabilities; some advertised tools are not wired through. Check the verification page before relying on checkout or order tools.
Open research tools; scoped authenticated execution
What can be called today
Not every merchant uses every request family on day one. Search, recommendation, and lighter handoff paths may come before deeper checkout and order flows.
Merchant-native checkout does not mean every agent surface completes checkout fully inside chat. Depending on merchant readiness and the surface, execution may continue through link-out or another merchant-controlled handoff while staying in merchant-controlled systems.
Query merchant data, resolve products and offers, and support downstream shopping workflows without crawling fragmented sites.
Validate item paths and create merchant-native checkout flows that carry execution forward.
Create, inspect, and manage order flows while keeping merchant systems in control.
Observe order lifecycle events and operational state instead of guessing from front-end surfaces alone.
Configure destination URLs, subscribe to events, verify signatures, and inspect or retry delivery history.
Route execution into payment-aware flows with write-back and sync rather than isolated checkout fragments.
Sandbox request and response limits
Public docs should make the request contract visible before login so a builder can understand the next action, the merchant-native path, and the event model without guessing.
Request example
curl -X POST "https://api.pivota.cc/agent/v1/checkout/intents" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"items": [
{
"merchant_id": "merch_...",
"product_id": "prod_...",
"variant_id": "var_...",
"quantity": 1,
"currency": "USD"
}
]
}'The example shows only the API key. Purchase calls such as checkout intents and order creation also need verified buyer identity; an API key alone is not purchase authority. The OpenAPI lists the buyer headers each endpoint accepts, such as X-Agent-User-JWT.
Response contract limits
The published OpenAPI declares an untyped 200 response.
Inspect the returned result; do not assume a checkout URL, payment,
or order success from HTTP 200 alone.
Schema checked: 7 October 2026. Example IDs are placeholders.
Run only with a coordinated sandbox merchant and test credentials.Execution boundaries
What stays public vs what is in the console
Builders should be able to understand the contract, auth, and execution model without login. Account-specific controls and telemetry stay in the developer console.
Visible without login
Inside the developer console
Trust and proof
The public API schema and MCP discovery describe available interfaces. Their publication does not establish paid orders, fulfillment, or SDK compatibility.
Start with API access and the first call, then move into request types, auth, webhooks, and protocol positioning as the integration deepens.