{"templateId":"markdown","versions":[{"version":"v5","label":"v5 (current)","link":"/","default":true,"active":true,"folderId":"8a5edab2"},{"version":"v4","label":"v4","link":"/v4","default":false,"active":false,"folderId":"8a5edab2"},{"version":"v3","label":"v3 (legacy)","link":"/v3","default":false,"active":false,"folderId":"8a5edab2"}],"sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Stallion Express API v5","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"stallion-express-api-v5","__idx":0},"children":["Stallion Express API v5"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use v5 for new integrations. V4 and v3 remain available for existing"," ","integrations through the version switcher."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"start-here","__idx":1},"children":["Start here"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/getting-started"},"children":["Getting Started"]}," - create a token, choose scopes, and"," ","make your first request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/authentication-scopes"},"children":["Authentication & Scopes"]}," - understand bearer"," ","tokens and the scope model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/common-workflows"},"children":["Common Workflows"]}," - follow the main shipping,"," ","product customs, pickup, batch, and billing flows."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/errors-idempotency"},"children":["Errors & Idempotency"]}," - handle failures and retry"," ","mutating requests safely."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/migrating-from-v4"},"children":["Migrating from v4"]}," - review the main contract"," ","changes before upgrading an existing integration."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For endpoint-level details, see the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi"},"children":["API Reference"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"base-urls","__idx":2},"children":["Base URLs"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Environment"},"children":["Environment"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Base URL"},"children":["Base URL"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Use it for"},"children":["Use it for"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Production"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://ship.stallion.ca/api/v5"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live shipments, labels, billing, and pickups."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sandbox"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://sandbox.stallion.ca/api/v5"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Testing integration logic before sending live shipments."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All examples in these docs use the production base URL. Replace it with the"," ","sandbox base URL while testing."]}]},"headings":[{"value":"Stallion Express API v5","id":"stallion-express-api-v5","depth":1},{"value":"Start here","id":"start-here","depth":2},{"value":"Base URLs","id":"base-urls","depth":2}],"frontmatter":{"seo":{"title":"Stallion Express API v5"}},"lastModified":"2026-06-11T19:57:13.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}