{"templateId":"markdown","versions":[{"version":"v5","label":"v5 (current)","link":"/","default":true,"active":false,"folderId":"8a5edab2"},{"version":"v4","label":"v4","link":"/v4","default":false,"active":true,"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 v4","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-v4","__idx":0},"children":["Stallion Express API v4"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["V4 is the long-standing Stallion Express API. It uses a flat API key for"," ","authentication and remains fully supported alongside v5."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/v4/openapi"},"children":["API Reference"]}," for every endpoint."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tier-rate-comparison-opt-in","__idx":1},"children":["Tier rate comparison (opt-in)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When the account setting ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Show Retail & Enterprise Rates via API"]}," ","(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["show_tier_rates_api"]},") is enabled, each rate in a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get-rates"]}," response ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["may"]}," ","include a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tier_pricing"]}," object with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["retail"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enterprise"]}," sub-objects. The"," ","key is omitted for any rate that cannot be re-margined (no captured postage"," ","cost), so treat it as optional per rate. Each tier uses the same field shape as"," ","the primary rate. See the"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/common-workflows#compare-retail-and-enterprise-tier-rates-opt-in"},"children":["v5 tier comparison workflow"]}," ","for details — the behavior is identical across v4 and v5."]}]},"headings":[{"value":"Stallion Express API v4","id":"stallion-express-api-v4","depth":1},{"value":"Tier rate comparison (opt-in)","id":"tier-rate-comparison-opt-in","depth":2}],"frontmatter":{"seo":{"title":"Stallion Express API v4"}},"lastModified":"2026-06-30T16:18:35.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/v4","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}