Developers · Partner API v1 · Business accounts
API for business accounts
Book and track car shipments from your own system. A business key does the daily work of your ShiftHaul Business dashboard: contract prices, orders, documents, messages with dispatch and invoices, all under your master agreement.
- Base URL
https://api.shifthaul.com/v1- Keys
shk_test_…andshk_live_…, one company each- Orders
- Up to 10 vehicles, one pickup to one delivery
- Money
- Orders in whole dollars, invoices in cents
On this page
Overview
This page is for developers at dealerships, auctions and fleets with an approved ShiftHaul Business account. Publishers who show our consumer price on their site use the Partner API for publishers instead.
Your server can do the daily dashboard work with the key: get the contract price for a lane, book an order or ask us to price it, approve or decline our price, cancel, upload a release or gate pass, read the BOL, write to dispatch and read invoices. The rules are the same ones the dashboard follows, because the API calls the same code. An order you create through the API shows up in the dashboard, and orders from the dashboard show up in the API. A few things stay in the dashboard: adding, editing or removing locations, removing documents, reporting damage, importing orders from a file, managing your team, turning on Share status and paying invoices.
Prices, fees, invoice due dates and payment terms come from your agreement with ShiftHaul. The API doesn’t change them and doesn’t move money.
What the key can do
| Task | Call |
|---|---|
| Get the contract price for a lane | POST /v1/quotes |
| Book an order, or ask us to price it | POST /v1/orders |
| Approve or decline our price | POST /v1/orders/{id}/approve |
| Cancel an order | POST /v1/orders/{id}/cancel |
| List your pickup and delivery locations | GET /v1/locations |
| Upload a release or gate pass | POST /v1/orders/{id}/documents |
| Download the BOL and other files | GET /v1/documents/{id}/file |
| Message dispatch about an order | POST /v1/orders/{id}/messages |
| Read invoices and their PDFs | GET /v1/invoices |
| Get a signed call when an order changes | POST /v1/webhook_endpoints |
Get a key
How to get a key
- Business account. You need an approved account at business.shifthaul.com and a signed master agreement. No account yet? Apply there first.
- Ask for a key. Email partners@shifthaul.com or call your account manager at (260) 800-6747. Tell us what system will call the API.
- Test key first. We email a one-time link. It opens once and expires after 24 hours, and the key is shown a single time. Copy it straight into your server’s secret storage.
- Live key after testing. When your integration works in the sandbox, tell us. We issue the live key the same way.
Your company can hold up to 2 test and 2 live keys at a time, so you can move to a new key before we revoke the old one. Lost a key? Email partners@shifthaul.com and we’ll revoke it and send a new link.
The key stays on your server
Send it in the Authorization header from server code. Keep it in an environment variable or a secret manager, never in a browser, a mobile app or a repo. The API sends no CORS headers, so calls from a web page fail anyway. A missing or wrong key gets 401 unauthorized. If your business account is not approved, the key answers 401 key_revoked.
Quickstart
1. Ask for the contract price
Fort Wayne, IN to Detroit, MI, one 2022 Toyota Camry on an open trailer:
If your agreement has a rate for this lane, status is priced and you can book with the quote_id right away. If not, you get needs_manual_price, like the example below, and you ask us to price the order.
2. Create the order
Every new order needs your own partner_reference and an Idempotency-Key.
The answer is the order with status: "pricing" and an id like ord_3fJk9QwL2mNp7RtX. Save that ID next to your PO.
3. Hear back when the price is ready
Register an HTTPS address once. When dispatch sets the price, we post an order.quoted event there.
Save the secret from the answer, it’s shown once. The URL must be public HTTPS; for a first test, a tunnel to your own computer works. No receiver yet? Read GET /v1/orders/{id} instead and wait for status: "quoted".
In the sandbox the price comes after about 2 minutes. To get it now, call POST /v1/test/orders/{id}/advance (no body). Either way, total.amount of the order is our price.
4. Approve the price
Send the total.amount you saw as expected_total. A quoted order waits for you: advance won’t approve it for you.
The order is now booked, and the next events (order.carrier_assigned, order.picked_up and so on) come to the same address. In the sandbox a booked order moves one step every 2 minutes, or right away with advance.
Contract prices
/v1/quotesWith a business key, a quote is your contract price for the lane: the per-vehicle rate in your agreement, plus that lane’s not-running charge for each vehicle that doesn’t run. One price. There are no payment options, no checkout link and no expiry date. The price is checked again when you book, so a quote never books an old rate (see price_changed).
Request body
| Field | Required | What to send |
|---|---|---|
pickup.zip or pickup.location_id | yes | 5-digit ZIP, or one of your locations. Not both |
delivery.zip or delivery.location_id | yes | The same. Must differ from the pickup ZIP |
vehicles | yes | 1 to 10 vehicles |
vehicles[].year | yes | 1950 up to two years ahead |
vehicles[].make | yes | Up to 40 characters |
vehicles[].model | yes | Up to 40 characters |
vehicles[].body_type | when asked | One of sedan, suv, large_suv, pickup, minivan, coupe_sports, ev, van |
vehicles[].inoperable | no | true if it doesn’t run. Default false |
vehicles[].vin | no | 17 characters. Duplicates in one request are rejected |
transport | yes | open or enclosed |
partner_reference | no | Your own label for the quote, up to 64 characters. Orders allow only 40 |
We read the body type from the year, make and model, the same way shifthaul.com does, and return the one we used in vehicles[].body_type. When we can’t tell, you get 422 vehicle_type_needed with the vehicle in errors. Send body_type for it and try again. GET /v1/vehicles?make=…&model=…&year=… shows which models we know (make is required). Its list starts at 1981; for older cars send body_type.
A priced quote
A priced quote for two vehicles, one that doesn’t run. The amounts are made up; yours come from your agreement.
Response fields
| Field | What it means |
|---|---|
id | qt_ plus 16 characters. Book with it as quote_id, or read it again with GET /v1/quotes/{id} |
status | priced or needs_manual_price |
total | The contract price for all vehicles, whole US dollars |
price_lines | transport for all vehicles, plus not_running when one doesn’t run. They add up to total |
price_source | Always contract_lane on a priced quote |
sample_price | Always false for business keys. Test keys get your real contract prices too |
unavailable_reason, message | Only on needs_manual_price |
When there’s no contract price
| unavailable_reason | When |
|---|---|
no_contract_lane | Your agreement has no rate for this lane |
no_contract_price | Contract pricing is switched off on our side right now |
enclosed_needs_manual_price | Enclosed trailers are always priced by our team |
vehicle_needs_manual_price | A van in the list. Vans are priced by our team |
For any of these, create the order with request_price: true and dispatch prices it. Each POST /v1/quotes that returns a quote counts toward the daily quote limit, priced or not. Errors found before pricing (a bad field, an unknown ZIP, a body type we need) don’t count. GET /v1/quotes/{id} returns the same body as when the quote was created; you can only read your own company’s quotes.
Orders
/v1/ordersOne order is one pickup and one delivery, with 1 to 10 vehicles. Send either a priced quote_id or request_price: true, never both.
Request body
| Field | Required | What to send |
|---|---|---|
quote_id | one of | A priced quote. The order is booked at the contract price |
request_price | one of | true: dispatch prices the order and you approve it |
partner_reference | yes | Your PO or stock number, up to 40 printable ASCII characters. Unique among the orders your company creates through the API: a value can’t be used again, even after a cancel. Test orders don’t use up a value for live orders. Orders from the dashboard aren’t checked against it |
pickup, delivery | yes | Either location_id, or an address (fields below) |
vehicles | yes | 1 to 10: year, make, model, and optional vin, stock (up to 30 characters), inoperable, body_type (send the same one as in the quote) |
transport | no | open (default) or enclosed |
ready_date | yes | YYYY-MM-DD, the first day the cars can be picked up: from yesterday up to 120 days ahead (UTC dates) |
deliver_by | no | YYYY-MM-DD, not before ready_date, up to 240 days ahead |
notes | no | Up to 600 characters for dispatch |
Address fields
| Field | Required | |
|---|---|---|
street | yes | 3 to 120 characters |
city | yes | 2 to 60 characters |
state | yes | A US state or DC, 2 letters |
zip | yes | 5 digits or ZIP+4 |
name | no | Lot or business name, up to 80 characters |
contact_name, contact_phone | no | Who meets the truck. A phone needs 10 to 15 digits |
hours | no | Up to 160 characters |
access | no | full (a full-size hauler fits), small (small trucks only) or unknown (default) |
notes | no | Up to 500 characters |
save_location | no | true saves the address to your locations. Needs name |
Booking with a quote
The order has to match the quote: both ZIPs, the trailer, the number of vehicles and how many don’t run. If it doesn’t, you get 422 validation_failed with quote_mismatch (or quote_mismatch_inoperable) on the field. We then price the lane again from your agreement. If the rate changed since the quote, you get 409 price_changed with current_price; get a new quote, or book with request_price when current_price is null. A quote with needs_manual_price gives 409 quote_not_priced. When everything matches, the order starts as booked.
Asking us to price it
With request_price: true the order starts as pricing. Dispatch sets a price and the order turns quoted (event order.quoted). Then:
- Approve:
POST /v1/orders/{id}/approvewithexpected_total, thetotal.amountyou saw. If our price changed in between, you get409 price_changedwithcurrent_price. Read it and approve again. The order becomesbooked. - Decline:
POST /v1/orders/{id}/decline, no body. The order becomesdeclined. Dispatch can still send you a new price, and the order goes back toquoted. - We can also turn a shipment down. The order becomes
refused_by_shifthauland nothing more happens to it.
If we change the price while you haven’t approved yet, you get a new order.quoted. Approving or declining an order that isn’t quoted gives 409 order_not_quoted. Approve, decline and cancel answer 200 with the updated order.
Cancelling
POST /v1/orders/{id}/cancel. Every order tells you the cost right now: cancellable and cancellation_fee_if_cancelled_now.
- Until a carrier is assigned (
pricing,quoted,declined,booked), cancelling is free. - After a carrier is assigned, it costs the cancellation fee in your agreement. The first call answers
409 fee_not_acceptedwithfee. Send the call again withaccept_feeequal tofee.amount. The fee then shows in the order’sfeesand on your next invoice. - After pickup the API can’t cancel:
409 order_not_cancellable. Call dispatch at (260) 800-6747.
When new orders are closed
Three account states stop new orders. Orders already in progress keep moving.
| Answer | Stops | Still works |
|---|---|---|
403 company_paused | New orders, quotes and approvals | Reading, decline, cancel, documents, messages, invoices |
403 orders_closed | New orders | Quotes, approvals and everything else |
403 invoices_past_due | New orders, until past-due invoices are paid | Quotes, approvals and everything else |
For company_paused and orders_closed, call your account manager at (260) 800-6747. Two more limits cover the whole company, dashboard and API together: 60 new orders in 24 hours (429 daily_order_limit) and 30 orders waiting for a price or your approval (429 pending_limit, checked only on request_price orders).
Reading orders
GET /v1/orders/{id} returns one order. GET /v1/orders lists your company’s orders, newest first, including the ones from the dashboard. Filters: status (one or several, comma-separated), partner_reference, limit (1 to 100, default 50), starting_after (an order ID, for the next page). The list shows the place name, city, state and ZIP; the full addresses and contacts are in the single order.
Order fields
| Field | What it means |
|---|---|
number | Our order number, SHB… (TEST-… in the sandbox). Use it when you call dispatch |
source | api, dashboard or import: where the order was created |
total | Whole US dollars. null while the order waits for our price |
price_source | contract_lane (booked from a quote) or shifthaul (priced by dispatch) |
fees | Fees charged on this order, for example cancellation |
pickup_date, delivery_date | Set by dispatch as the shipment moves |
status_history | The steps we know of, oldest first. at can be null for in_transit |
buyer_status_url | The status page link for your buyer, if someone on your team turned on Share status in the dashboard. Otherwise null |
documents_count | How many documents the order has |
Order statuses
| status | Meaning |
|---|---|
pricing | Waiting for our price |
quoted | Our price is waiting for you to approve or decline |
declined | You declined the price |
refused_by_shifthaul | We won’t take this shipment |
booked | Booked. Dispatch is finding a carrier |
carrier_assigned | A carrier is assigned. Cancelling now costs the fee |
picked_up | The cars are loaded |
in_transit | On the road |
delivered | Delivered |
cancelled | Cancelled |
A status can go back. If a carrier drops the load, the order returns from carrier_assigned to booked until we assign another one. Don’t assume statuses only move forward. Each event of an order has a higher sequence than the one before. Apply a status only if its event’s sequence is higher than the last status you applied, and read GET /v1/orders/{id} when in doubt. An order’s status can trail our dispatch board by a few minutes.
Locations
/v1/locationsGET /v1/locations lists your company’s saved pickup and delivery places, the same list as Locations in the dashboard. Each has an id (loc_…), name, kind (lot, auction, customer, body_shop or other), the address, contact, hours, access, notes and is_default. The API reads this list; add and edit locations in the dashboard.
Use "pickup": { "location_id": "loc_…" } in a quote or order instead of the address. To save a new address while you book, send save_location: true with a name. The sandbox reads your real locations but doesn’t save new ones.
Documents
GET /v1/orders/{id}/documents lists the order’s files: yours and ours. The answer also has can_upload (are uploads open now), upload_kinds and max_file_bytes.
GET /v1/documents/{id}/file downloads one file through our server. The BOL and other documents from dispatch have uploaded_by: "shifthaul" and a plain name like BOL-SHB70316.pdf; each new one sends a document.created event.
Uploading a release or gate pass
POST /v1/orders/{id}/documents as multipart/form-data with three fields:
kind:release,gate_passorother. The BOL comes from ShiftHaul, sobolis refused.vehicle_index(optional): which vehicle it’s for, theindexfrom the order.file: one PDF, JPG, PNG, WEBP or HEIC file, up to 10 MB.
Uploads are open until pickup, up to 30 files per order (ours and removed ones included), and not on declined, refused or cancelled orders (409 document_not_allowed). Send a Content-Length header (curl does). Your company can upload 3 files at a time; a fourth, or a busy moment on our side, gets 429 rate_limited for a few seconds.
Messages
Each order has one thread with dispatch, the same one your team sees in the dashboard. GET /v1/orders/{id}/messages returns it oldest first (limit, starting_after). Reading through the API doesn’t mark messages as read in the dashboard.
POST /v1/orders/{id}/messages with text (1 to 2,000 characters) and an optional author_name (up to 100). Your message shows as “Dana (lot manager) via API”, or “your company name via API” without author_name. Our replies are signed ShiftHaul dispatch and send a message.created event; your own messages don’t. One key can post 30 messages an hour. For anything urgent, call (260) 800-6747.
Invoices
/v1/invoicesWe invoice your company weekly, as in the dashboard. Three read-only calls:
GET /v1/invoices, newest first:status(one or several, comma-separated),limit(1 to 100),starting_after.GET /v1/invoices/{id}: one invoice with its lines.GET /v1/invoices/{id}/pdf: the same PDF your accounts payable contact gets by email.
Invoice amounts are in cents (total_cents, balance_cents, amount_cents), unlike orders. due_date follows the payment terms in your agreement. A voided invoice doesn’t appear in the API, the same as in the dashboard; its ID returns 404.
The API never moves money. To pay, open account_url and pay in the dashboard. After a partial payment the status stays open, due_today or past_due and balance_cents goes down.
| status | Meaning |
|---|---|
open | Issued, not due yet |
due_today | Due today |
past_due | Past the due date. Past-due invoices can stop new orders (invoices_past_due) |
processing | An ACH payment is on its way |
paid | Paid in full |
Line type is transport, cancellation or other. On a live invoice, order_id links the line to GET /v1/orders/{id}.
Webhooks
/v1/webhook_endpointsEndpoints
POST /v1/webhook_endpoints with url and events (types from the table below except webhook.test, or ["*"] for all). The URL must be public HTTPS on port 443, by host name, not IP; a bad one gets 422 webhook_url_not_allowed with the reason in errors (a malformed URL or one you already have: 422 validation_failed). Up to 3 endpoints for test keys and 3 for live keys. The answer has the secret (whsec_ plus base64). It’s shown once; a retry with the same Idempotency-Key returns the endpoint without it.
Also: GET /v1/webhook_endpoints, DELETE /v1/webhook_endpoints/{id}, and POST /v1/webhook_endpoints/{id}/test, which sends a webhook.test event to that endpoint only. An endpoint lives as long as the key that created it: revoke the key and the endpoint turns off with disabled_reason: "key_revoked".
Events
| type | When |
|---|---|
order.quoted | Our price is ready, or we sent a new one |
order.booked | Booked from a quote, after your approval, or back to booked |
order.declined | You declined the price |
order.refused | We turned the shipment down |
order.carrier_assigned | A carrier is assigned |
order.picked_up | Picked up |
order.in_transit | On the road |
order.delivered | Delivered |
order.cancelled | Cancelled |
order.updated | Dates, price or fees changed without a status change |
message.created | Dispatch replied in the order’s thread (data.message_id) |
document.created | Dispatch added a document, such as the BOL (data.document_id) |
webhook.test | Sent only by the test call |
Events come for every order of your company, from the dashboard too. A new order waiting for a price and your own messages don’t send events: you just made them.
What we send
A small JSON body with no prices, addresses, names or message text. Read the details with the API.
Check the signature
We sign each delivery the Standard Webhooks way. Take the raw body as received, byte for byte, join webhook-id, webhook-timestamp and the body with dots, and compute HMAC-SHA256 with the base64-decoded part of your secret after whsec_. The base64 result must match one of the v1,… values in webhook-signature (there are two while a secret rotation is running). Reject a timestamp more than 5 minutes off your clock. Each retry is signed again with a fresh timestamp, so retries pass this check.
Keep the raw body: in Express use express.raw({ type: "application/json" }), in Flask request.get_data(), in PHP file_get_contents("php://input"). The Python function takes the body as bytes. The Node function reads lowercase header names, which is how Node gives them to you.
We send the body as one line of JSON; the event body on the right is spread out only for reading. The examples check themselves with test values: the one-line body in the code, the headers on the right, test secret c2hpZnRoYXVsLWRvY3MtdGVzdC1rZXkh (shown without its whsec_ prefix; both forms work), and time 1795910400. Each prints signature OK.
Answer fast, then read the order
- Answer any
2xxwithin 10 seconds. We don’t follow redirects and we ignore the response body. - You may get the same event twice.
webhook-idequals the eventid: store it and skip repeats. data.sequencecounts every event of one order, messages and documents included. Apply anorder.*event’s status only if itssequenceis higher than the last one you applied for that order; a latemessage.createdordocument.createdis still new.- Then read what changed:
GET /v1/orders/{id}, the messages or the documents.
Retries and turning off
If your server doesn’t answer 2xx, we try again after 1, 5 and 30 minutes, then after 2, 4, 8, 8 and 10 hours: 8 retries over about 32 hours. An endpoint that fails for 3 days in a row is turned off (disabled_reason: "failing"). For a live endpoint, the Admins on your account get an email about it. An answer of 410 Gone turns it off at once ("gone"). A turned-off endpoint doesn’t come back and still counts toward the 3: delete it, then create a new one.
New secret
POST /v1/webhook_endpoints/{id}/rotate_secret returns a new secret once and previous_secret_expires_at. For 7 days we sign with both secrets, so you can switch without missing an event. Rotate twice within 7 days and only the two newest secrets work.
Missed something?
GET /v1/events lists the last 30 days, newest first (the same bodies we post, plus "object": "event"), with filters type, order_id, limit and starting_after; GET /v1/events/{id} returns one. POST /v1/events/{id}/redeliver sends an event again to your enabled endpoints that take that type, or only to endpoint_id if you send one. With no such endpoint you get 409 no_webhook_endpoint.
Sandbox
A shk_test_ key uses the same URLs and rules. It reads your real contract prices and your real locations, but its orders, documents and messages are test ones: dispatch never sees them, and nothing is booked, charged or emailed. Test orders have numbers like TEST-4KD9QX and stay for 30 days; test files stay for 7 days, up to 200 files (200 MB) per company.
How a test order moves
- With
request_price, the order isquotedafter 2 minutes with a sample price. - After you approve (or right away with a
quote_id), it moves one step every 2 minutes:booked,carrier_assigned,picked_up,in_transit,delivered. - Cancelling after
carrier_assignedcosts a test fee of $100 per vehicle, so you can tryaccept_fee. - A message you post gets an automatic reply from “ShiftHaul dispatch (test)” about a minute later, with a
message.createdevent. - Test events go only to your test endpoints, signed with their own secrets.
- The sandbox counts its own limits per company, test orders only: 60 new orders in 24 hours, 30 waiting for a price, 30 messages an hour.
- Test orders only check that dates are real
YYYY-MM-DDdates and that a state has 2 characters. They don’t check the live rules in Orders: date ranges,deliver_bynot beforeready_date, a real US state or DC, 10 to 15 phone digits. Follow those rules in testing too.
Test-only calls
| Call | What it does |
|---|---|
POST /v1/test/orders/{id}/advance | The next step now: pricing → quoted, or one step along the trip. 409 cannot_advance when there is none |
POST /v1/test/orders/{id}/refuse | Plays “ShiftHaul turned it down”: from pricing, quoted or declined to refused_by_shifthaul |
Inputs to try
| Send | You get |
|---|---|
A lane with no contract rate, for example delivery ZIP 99502 (Anchorage, AK) | 201, needs_manual_price, no_contract_lane |
"transport": "enclosed" | 201, needs_manual_price, enclosed_needs_manual_price |
"model": "Unknownmodel", no body_type | 422 vehicle_type_needed |
A second order with the same partner_reference | 409 duplicate_partner_reference with the first order_id |
approve with a wrong expected_total | 409 price_changed with current_price |
cancel after carrier_assigned, no accept_fee | 409 fee_not_accepted with fee |
GET /v1/invoices | One sample invoice, SHI-TEST-0001, and its sample PDF. Its lines use made-up order numbers (SHB-TEST-0001), not your test orders |
Test keys never read your real orders or invoices, and live keys never see test orders.
Limits
| Limit | Counted | |
|---|---|---|
| Quotes per minute | 20 | per key (POST /v1/quotes) |
| Other requests per minute | 120 | per key |
| Quotes per day | 500 | per company, test and live keys together |
| New orders in 24 hours | 60 | per company, dashboard and API together |
| Orders waiting for a price or approval | 30 | per company |
| Messages per hour | 30 | per key |
| Uploads at the same time | 3 | per company |
| Webhook endpoints | 3 | per company for test keys, 3 for live keys |
| Request body | 32 KB | JSON (larger: 422 validation_failed, too_large); files up to 10 MB |
The day for quotes resets at midnight Indiana time (US Eastern). Over a limit you get 429 with Retry-After in seconds. Every answer to a valid key carries two counters: the minute for this kind of request (quotes or everything else) and the company’s daily quotes:
q is the limit, r what’s left, t seconds until it resets. On POST /v1/quotes the minute is the quotes minute (q=20). Need more? Email partners@shifthaul.com.
Idempotency and Request-Id
Idempotency-Key
Send it on every POST: 8 to 255 printable characters, no spaces. A UUID works. It’s required on new orders, new messages, new webhook endpoints, rotate_secret, the endpoint /test call and redeliver. It’s optional on the rest, including the sandbox advance and refuse.
- One key is shared by all API keys of your company (test and live apart), for 24 hours. Two servers sending the same order with the same key make one order.
- Same key, same body → the first answer again, with
Idempotent-Replayed: true. - Same key, different body or a different call →
422 idempotency_key_reused. First request still running →409 idempotency_in_progresswithRetry-After. 5xxand429answers aren’t stored, so a retry with the same key runs again.
A retry after a timeout should reuse the key. A new order needs a new key and a new partner_reference.
Request-Id
Every answer has a Request-Id header (req_…); errors repeat it as request_id. Log it and send it to us if something looks wrong.
Errors
Errors use RFC 9457 problem details (application/problem+json) with code and request_id. Field problems are listed in errors as {field, code}; field uses dots and brackets (vehicles[0].vin). Some errors carry one more field you need: current_price, fee or order_id.
| HTTP | code | What to do |
|---|---|---|
| 401 | unauthorized | Send a valid key: Authorization: Bearer shk_… |
| 401 | key_revoked | The key was revoked, or the business account isn’t approved. Email partners@shifthaul.com |
| 403 | forbidden_scope | This key can’t make this call |
| 403 | company_paused | Your account is paused. Call your account manager at (260) 800-6747 |
| 403 | orders_closed | New orders aren’t open for your account yet |
| 403 | invoices_past_due | New orders stop until past-due invoices are paid |
| 404 | not_found | No such address, or it isn’t your company’s |
| 405 | method_not_allowed | Wrong method. See the Allow header |
| 409 | duplicate_partner_reference | An order with this partner_reference exists: see order_id |
| 409 | price_changed | The price moved. Use current_price |
| 409 | quote_not_priced | The quote has no contract price. Use request_price: true |
| 409 | order_not_quoted | The order isn’t waiting for your approval |
| 409 | fee_not_accepted | Cancelling costs fee. Send accept_fee |
| 409 | order_not_cancellable | Too late to cancel through the API. Call (260) 800-6747 |
| 409 | order_changed | The order changed while we worked. Read it and try again |
| 409 | document_not_allowed | Uploads are closed for this order |
| 409 | webhook_endpoint_limit | You already have 3 endpoints for this mode |
| 409 | webhook_endpoint_disabled | The endpoint is turned off. Create a new one |
| 409 | no_webhook_endpoint | No enabled endpoint takes this event |
| 409 | idempotency_in_progress | The first request with this key is still running |
| 409 | cannot_advance | Sandbox: this test order has no next step |
| 411 | length_required | Send uploads with Content-Length |
| 413 | file_too_large | The file is over 10 MB |
| 415 | unsupported_media_type | JSON with Content-Type: application/json; uploads as multipart/form-data |
| 422 | validation_failed | A field is missing or wrong. See errors |
| 422 | zip_not_found | We don’t know this ZIP |
| 422 | vehicle_type_needed | Send body_type for this vehicle |
| 422 | file_type | Upload PDF, JPG, PNG, WEBP or HEIC |
| 422 | webhook_url_not_allowed | Public HTTPS on port 443 only. See errors |
| 422 | idempotency_key_reused | This Idempotency-Key went with a different body or call |
| 429 | rate_limited | Too many requests. Wait for Retry-After |
| 429 | daily_quote_limit | 500 quotes today. Resets at midnight Indiana time |
| 429 | daily_order_limit | 60 new orders in 24 hours |
| 429 | pending_limit | 30 orders wait for a price or approval. Approve, decline or cancel some |
| 500 | internal_error | Our side. Retry later; if it repeats, send the request_id |
| 503 | temporarily_unavailable | Retry later, after Retry-After when it’s sent |
Retrying
429 rate_limited,409 idempotency_in_progress,503, and409 duplicate_partner_referencewithoutorder_id(that order is being created right now): waitRetry-Afterseconds and send the same request with the same key.500or a timeout: retry with the sameIdempotency-Key.- Other
4xx: fix the request first. The same body gives the same error.
OpenAPI file
openapi.yaml (OpenAPI 3.1) describes every call on this page and on the publisher page. Import it into Postman, Insomnia or a code generator.
Version 1 only grows: we add fields, events and calls, so ignore what you don’t know. If we ever need to remove or change something, we’ll email you at least 90 days ahead.
Stuck?
Email partners@shifthaul.com with the request_id, or call (260) 800-6747.
Ready to connect?
Ask for a test key and book your first test order in the sandbox.
