SDK and Codegen
Generate typed clients from the public OpenAPI document.
At a glance
Use the generated OpenAPI document for SDKs. Choose generators that preserve enum values and schema variants so service-specific requirements stay visible at compile time.
OpenAPI
| Resource | URL | Use |
|---|---|---|
| Spec URL | https://docs.enviablelogistics.com/openapi/partner-api.json | Machine-readable file for generated clients. |
| Interactive reference | https://docs.enviablelogistics.com/reference | Human-readable endpoint explorer. |
| Required headers | X-ELA-API-Key, Content-Type: application/json, and Idempotency-Key on mutations. | Add these through your generated client middleware. |
Generation tips
Preserve enum literals for service type, vehicle type, payment method, and status fields.
Use server-side wrappers for credentials instead of exposing generated clients directly in browsers.
Add retries only around operations that are safe with idempotency and reconciliation.
Versioning
Treat the generated OpenAPI document as the versioned contract for client generation. Review schema changes before updating generated clients in production systems.