Endpoint Reference

Base URL: /api/v1

Submissions

MethodPathDescription
GET/submissionsList submissions (paginated)
POST/submissionsCreate a submission
GET/submissions/:idGet submission + items
PATCH/submissions/:idTransition state

Status values

pending_reviewacceptedawaiting_deliveryreceivedcompleted

rejected is a terminal state reachable from any non-terminal status.

Transition actions

ActionFrom → To
approvepending_review → accepted (advances one step from any non-terminal state)
markReceivedaccepted → awaiting_delivery or awaiting_delivery → received
markCompletedreceived → completed
rejectany → rejected

Pricing Rules

MethodPathDescription
GET/pricing-rulesList rules
POST/pricing-rulesCreate rule
GET/pricing-rules/:idGet rule
PATCH/pricing-rules/:idUpdate rule
DELETE/pricing-rules/:idDelete rule

API Keys

MethodPathDescription
GET/api-keysList keys (full scope required)
POST/api-keysCreate key (full scope required)
GET/api-keys/:idGet key
DELETE/api-keys/:idRevoke key

Webhooks

MethodPathDescription
GET/webhooksList subscriptions
POST/webhooksCreate subscription
GET/webhooks/:idGet subscription
DELETE/webhooks/:idRevoke subscription
GET/webhooks/:id/deliveriesList recent deliveries

Customer Sessions

MethodPathDescription
POST/customer-sessionsIssue 1-hour customer JWT

OpenAPI Spec

Machine-readable spec available at GET /api/v1/openapi.json.