Developer API
Programmatic procurement.
OAuth 2.0 REST API for MSPs, IT teams, and engineering-ops groups that want quotes, orders, and dev-pool refreshes without a portal round-trip. Sandbox available to invited partners.
Surface
What's available
Six endpoint groups cover the full procurement loop. Status reflects current production readiness.
GET /v1/inventory
Live stock, grade, per-unit price.
POST /v1/quotes
Submit a quote request with SKUs and counts.
GET /v1/quotes/:id
Poll quote status (pending / signed / expired).
POST /v1/orders
Convert a signed quote to a purchase order.
POST /v1/dev-pool/swaps
Request a unit swap against a dev-pool contract.
POST /v1/webhooks
Subscribe to order and shipment lifecycle events.
Auth
Authentication
OAuth 2.0 client-credentials grant for server-to-server calls. Exchange your client ID and secret at POST /oauth/token for a short-lived bearer token.
Tokens expire in 60 minutes; refresh by re-issuing the credentials grant. Tokens are scoped per client and never leave your backend.
Email [[email protected]] with your company name, intended use, and call volume estimate to request a sandbox client.
Example
Sample request
Submit a quote for two SKUs across grades. The response is a signed JSON quote keyed by an opaque quote ID.
curl -X POST https://api.restart.shop/v1/quotes \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"lines": [
{ "product_ref": "lenovo-t14-gen3", "grade": "A", "quantity": 25 },
{ "product_ref": "logi-mxmaster-3s", "grade": "NEW", "quantity": 25 }
],
"notes": "Onboarding wave, need by July 15"
}' Response: signed JSON quote returned within 60 seconds for simple lines; 24 business hours for complex matched batches.
Conventions
Rate limits & conventions
- 60 requests/minute per client by default; request higher limits via sales.
- All IDs are opaque strings; do not rely on format.
- Timestamps are ISO 8601 UTC; prices are in cents; currency on every money field.
- Breaking changes are versioned at /v2/; /v1/ support window is 18 months minimum.
Reliability
Status & uptime
Live status, incident history, and scheduled maintenance windows are published at [status.restart.shop]. Historic target is 99.9% monthly uptime on the production API surface.
Want API access?
Tell us about your integration. Sandbox credentials issued to vetted partners; production access follows a short technical review.