Seller
Add an overview of the Seller API here. This block is preserved across regenerations.
Endpoints
GET /api/v1/seller/sessions
Scoped secret API key — send an sk_live_… value (keys issued before the typed format carry a bare pk_<hex> prefix and are also secret; they still work). A publishable pk_live_…/pk_test_… key is browser-safe, carries no scopes, and is refused by every endpoint in this spec with publishable_key_not_allowed. Coarse scopes: read, commerce, admin (admin covers everything below). Narrow per-resource scopes: journeys|pages :read|write|publish|delete, productsets :read|write|publish|delete, components|rules :read|write|delete, context :read (read-only context tier), catalog :read|write-native. publish is never implied by write.
List of sell sessions
API key missing or invalid
GET /api/v1/seller/sessions HTTP/1.1
Host: api.peakcommerce.app
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Notes, examples, or caveats for GET /seller/sessions go here.
POST /api/v1/seller/sessions
Scoped secret API key — send an sk_live_… value (keys issued before the typed format carry a bare pk_<hex> prefix and are also secret; they still work). A publishable pk_live_…/pk_test_… key is browser-safe, carries no scopes, and is refused by every endpoint in this spec with publishable_key_not_allowed. Coarse scopes: read, commerce, admin (admin covers everything below). Narrow per-resource scopes: journeys|pages :read|write|publish|delete, productsets :read|write|publish|delete, components|rules :read|write|delete, context :read (read-only context tier), catalog :read|write-native. publish is never implied by write.
Label for the buyer agent's principal (audit)
Sell session created
No content
API key missing or invalid
Insufficient scope (commerce required)
POST /api/v1/seller/sessions HTTP/1.1
Host: api.peakcommerce.app
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"counterparty": "text",
"sessionKey": "text",
"title": "text"
}No content
Notes, examples, or caveats for POST /seller/sessions go here.
GET /api/v1/seller/sessions/{id}/messages
Scoped secret API key — send an sk_live_… value (keys issued before the typed format carry a bare pk_<hex> prefix and are also secret; they still work). A publishable pk_live_…/pk_test_… key is browser-safe, carries no scopes, and is refused by every endpoint in this spec with publishable_key_not_allowed. Coarse scopes: read, commerce, admin (admin covers everything below). Narrow per-resource scopes: journeys|pages :read|write|publish|delete, productsets :read|write|publish|delete, components|rules :read|write|delete, context :read (read-only context tier), catalog :read|write-native. publish is never implied by write.
Sell session UUID
Ordered list of buyer and seller turns
No content
Sell session not found
GET /api/v1/seller/sessions/{id}/messages HTTP/1.1
Host: api.peakcommerce.app
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Notes, examples, or caveats for GET /seller/sessions/{id}/messages go here.
POST /api/v1/seller/sessions/{id}/messages
Scoped secret API key — send an sk_live_… value (keys issued before the typed format carry a bare pk_<hex> prefix and are also secret; they still work). A publishable pk_live_…/pk_test_… key is browser-safe, carries no scopes, and is refused by every endpoint in this spec with publishable_key_not_allowed. Coarse scopes: read, commerce, admin (admin covers everything below). Narrow per-resource scopes: journeys|pages :read|write|publish|delete, productsets :read|write|publish|delete, components|rules :read|write|delete, context :read (read-only context tier), catalog :read|write-native. publish is never implied by write.
Sell session UUID
The buyer agent's message
When false, the seller quotes/builds but does not commit
Seller reply with executed tool calls and token usage
No content
Sell session not found
Seller agent unavailable (no model key configured)
POST /api/v1/seller/sessions/{id}/messages HTTP/1.1
Host: api.peakcommerce.app
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"message": "text",
"merchantName": "text",
"catalogSummary": "text",
"requiredToClose": "text",
"allowCommit": true
}No content
Notes, examples, or caveats for POST /seller/sessions/{id}/messages go here.
Last updated
Was this helpful?
