Orders
RESTImport, query, and transition orders from connected channels or custom payloads.
- GET /orders
- POST /orders
- GET /orders/:id
Automate multichannel fulfillment, fetch discounted carrier rates, generate shipping labels, and subscribe to tracking webhooks—the same patterns trusted across modern logistics SaaS platforms.
The Shipmexi API is a JSON-first REST interface designed for operators building custom storefronts, internal ERP tools, and marketplace workflows. Full interactive explorer and OpenAPI assets will ship alongside production keys—this page establishes the surface area your architects can plan against today.
Versioned endpoints
Breaking changes roll forward under explicit version prefixes—no silent surprises in production.
Tenant isolation
Keys are scoped to environments with audit trails suitable for PCI-adjacent shipping flows.
Event-driven webhooks
Subscribe to label purchases, delivery scans, and integration health alerts with retry-aware signatures.
Carrier breadth
Designed for the same multi-carrier orchestration patterns used across enterprise shipping stacks.
Shipmexi uses Bearer API keys provisioned per workspace. Rotate keys without downtime by issuing a secondary credential first—mirroring patterns developers expect from category-leading shipping APIs.
Never embed secret keys in browser bundles. Proxy requests through your backend or edge worker so credentials stay server-side.
Header
Authorization: Bearer YOUR_API_KEY
X-Shipmexi-Workspace: ws_live_xxxxLogical surface area comparable to shipping APIs from major fulfillment platforms—names may adjust slightly before GA.
Import, query, and transition orders from connected channels or custom payloads.
Purchase labels, void shipments, and retrieve printable artifacts.
Compare carrier services with dimensional weight, zones, and delivery promises.
Normalize milestone events and expose buyer-ready timelines.
Validate and normalize domestic or international addresses prior to label purchase.
Long-running bulk operations for peak-season throughput.
Illustrative snippets—final paths and schemas will match the published OpenAPI document.
curl -s https://api.shipmexi.com/v1/rates/query \
-H "Authorization: Bearer $SHIPMEXI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ship_from": { "country": "US", "postal_code": "75201" },
"ship_to": { "country": "US", "postal_code": "10001" },
"parcel": {
"weight_oz": 16,
"length_in": 12,
"width_in": 9,
"height_in": 4
}
}'curl -s https://api.shipmexi.com/v1/shipments \
-H "Authorization: Bearer $SHIPMEXI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"order_id": "ord_9xk2",
"service_code": "usps_priority",
"label_format": "PDF_4x6"
}'Protective defaults keep carrier upstreams stable during spikes. Exact quotas ship with your contract tier.
| Plan tier | Burst (req / min) | Notes |
|---|---|---|
| Starter | 60 | Ideal for single-store automation. |
| Professional | 300 | Warehouse batches & webhook fan-out. |
| Enterprise | Custom | Dedicated throughput & SLA-backed queues. |
Errors use structured JSON with code, message, and optional details for field-level validation—same ergonomics developers expect from mature logistics APIs.
Register HTTPS endpoints to receive signed delivery events. Retry policies follow exponential backoff with dead-letter visibility in the dashboard—aligned with how leading shipping platforms keep integrations observable.
Verification header (conceptual)
X-Shipmexi-Signature: t=1735689600,v1=a1b2c3...
X-Shipmexi-Delivery-Id: evt_8kLmNoPqImplement idempotent handlers using delivery_id so retried webhooks never double-apply business logic.
Official clients and Postman collections will publish alongside stable authentication. Until then, integrate directly via HTTPS—your stack, your control plane.
Node.js
Planned
Python
Planned
PHP
Planned
Go
Roadmap
Request sandbox credentials, review mutual TLS options for enterprise environments, or walk through a joint architecture session with our solutions engineers.