# Stallion Express API v5

V5 is the current Stallion Express API for quoting rates, creating shipments,
purchasing labels, scheduling pickups, tracking parcels, managing orders, and
keeping product customs data up to date.

Use v5 for new integrations. V4 and v3 remain available for existing
integrations through the version switcher.

## Start here

- [Getting Started](/getting-started) - create a token, choose scopes, and
make your first request.
- [Authentication & Scopes](/authentication-scopes) - understand bearer
tokens and the scope model.
- [Common Workflows](/common-workflows) - follow the main shipping,
product customs, pickup, batch, and billing flows.
- [Errors & Idempotency](/errors-idempotency) - handle failures and retry
mutating requests safely.
- [Migrating from v4](/migrating-from-v4) - review the main contract
changes before upgrading an existing integration.


For endpoint-level details, see the [API Reference](/openapi).

## Base URLs

| Environment | Base URL | Use it for |
|  --- | --- | --- |
| Production | `https://ship.stallion.ca/api/v5` | Live shipments, labels, billing, and pickups. |
| Sandbox | `https://sandbox.stallion.ca/api/v5` | Testing integration logic before sending live shipments. |


All examples in these docs use the production base URL. Replace it with the
sandbox base URL while testing.