API Reference
MoveTheWheels is API-first. Product state — orders, shipments, tracking, routes, vehicles, drivers, warehouses, inventory, products, customers, and the service-provider marketplace — is served over a GraphQL API and can be queried and mutated programmatically, so you can connect your own systems, automate work, and build your own clients.
How the API is served
One GraphQL endpoint
The whole MoveTheWheels logistics domain is served from a single GraphQL endpoint. One request can fetch exactly the fields you need across orders, shipments, routes, and fleet.
Authenticated and permission-checked
Every request is authenticated and every operation is permission-checked against the caller's role and workspace before it runs.
Events
State changes are published as events you can subscribe to, so your downstream systems stay in sync without polling.
Core concepts
Authentication
- OIDC SSO for the web app and interactive clients
- OAuth device-code for terminal clients (CLI, extensions)
- API keys for automation and integrations
Authorization
Every query and mutation is permission-checked before it runs. Permissions are expressed as an action on a resource within a scope, and are granted through the roles assigned to the calling user or API key.
Errors
Failures surface as standard GraphQL errors with a code, a message, and an
extensions block for machine-readable detail (validation, not-found,
forbidden).
What you can query and mutate
Order & shipment spine
- Orders with line items and status history
- Shipments with origin, destination, cargo, and carrier
- Tracking events and shipment timelines
Transport & fleet
- Routes with waypoints, distance, duration, and fuel cost
- Vehicles by type with status and utilization
- Drivers and dispatch assignments
Warehouse & inventory
- Warehouses and locations
- Inventory items and inventory transactions
- Products and customers (shared reference data)
Marketplace
- Service providers (carrier, 3PL, warehouse, specialist)
- Service offerings per provider
Conventions
Pagination & filtering
- List queries accept
filterandpaginationarguments - Filter shipments by status, order, customer, carrier, or search term
- Results are workspace-scoped
Versioning
- The schema evolves additively; breaking changes follow a deprecation policy
- Deprecated fields stay available and are marked in the schema before removal
Usage guide
For integration questions, contact our team at [email protected].