Overview
REWC integration platform

Carrier API reference

HTTPS endpoints for tracking shipments, retrieving signed paperwork and rating LTL freight across the Reimer Group carriers. One credential, one base URL, one carrier code per request.

Base URL

One host, one path shape

Every endpoint hangs off the same base. Swap the carrier code in the path to change which carrier answers.

Three headers

Credentials on every request

There is no token exchange and no session. Send your client ID, key and customer code on each call.

Server-to-server

No browser calls

The API sends no CORS headers, so a browser will block the request. Call it from your backend and keep your key off the client.

https://api.rewc.com:8184/api/<COMPANY_CODE>/<resource>

What is here

EndpointWhat it doesCarriers
Status API — track shipments
GET probill/lookupFind one shipment by probill, bill of lading, purchase order or shipper number.apex · cct · comox · owfl · wce
GET probill/searchList shipments picked up in a date range, optionally narrowed by party name or city.apex · cct · comox · owfl · wce
Documents API — get shipment paperwork
GET imagesDownload the bill of lading and proof of delivery for a probill as a single merged PDF.apex · cct · comox · owfl · wce
Pricing API — rate LTL freight
POST ratequote/customerRate an LTL shipment and get back a quote number. Three different rating engines — see Overland/Comox, Apex/WCE and CCT.apex · cct · comox · owfl · wce
Getting started

Authentication

Three headers, sent on every request. Nothing to refresh, nothing to cache.

NameTypeUseDetails
x-client-idStringRequiredYour client name for the API. Assigned when your account is created and does not change.
x-api-keyStringRequiredYour secret key for the API. Treat it like a password. It does not change unless it is compromised.
x-customer-codeStringRequiredThe customer account you are making the request for. One client credential can be entitled to several customer accounts; this header selects which one, and the request is rejected if you are not entitled to it.
How the customer code works

Your client credential can be entitled to more than one customer account. The x-customer-code header picks which one the request runs as, and the API checks that your credential is actually entitled to it. All endpoints also take a customer-code parameter — it must name the same account as the header.

A request where the two disagree is refused with a 400 naming both, on every endpoint:

Your x-customer-code does not match the customer-code submitted
  (x-customer-code=ABC123, customer-code submitted=OTHER1)

The Overland/Comox rate quote has no single customer-code — it matches the header against shipper-code, consignee-code and bill-to-code, and at least one of the three has to match. Its message names all of them: Your x-customer-code does not match any code submitted (x-customer-code=…, shipper-code=…, consignee-code=…, bill-to-code=…).

Keep the key server-side

The x-api-key is a long-lived shared secret, not a rotating token. Store it in your server's environment or secret manager. Because the API sends no CORS headers, a browser cannot call it directly anyway — and it should not.

When it goes wrong

Authentication failures

Authentication is checked before your parameters are, so these failures tell you nothing about the rest of your request. They come from the API itself rather than an endpoint, so the body is JSON with a single error key — see response format. A rejected request that carried your x-client-id is still recorded, with the response you were sent — see reporting a problem.

StatusBodyCause
400{"error": "Unable to complete request. Missing client credentials."}x-client-id, x-api-key or x-customer-code is missing.
400{"error": "Not authorized to customer <code>."}Your credential is not entitled to the customer account named in x-customer-code.
400{"error": "Not authorized to any customers."}Your credential has no customer accounts set up yet. Contact your account representative.
401{"error": "Unauthorized."}The client ID or key is wrong, or your credential is not permitted this endpoint, HTTP method or carrier. That includes a carrier code that is not one of the five, a misspelt path and the wrong method: the permission check runs before any of your parameters are read.
500{"error": "Internal server error."}Your credential could not be checked. Retry with backoff.
When it goes wrong

Response format

Every failure from the API is JSON. Which envelope you get depends on which layer caught the problem: the API's own checks — your credentials, your permissions, a request body it cannot read, a server error — answer with a single error key, and the endpoints answer with status and message. The Accept header makes no difference to either.

// 401 -- from the API: credentials rejected, or not permitted this request
{ "error": "Unauthorized." }

// 400 -- from an endpoint: a parameter failed validation
{ "status": 400, "message": "Unable to look up probill, incorrect parameters." }
Earlier versions of this reference

They described plain-text authentication failures, and an Accept: application/json header to turn them into JSON. That applied to a layer behind the API that callers do not reach. Through the API these failures are JSON, and the header is not needed.

Getting started

Carriers and company codes

The <COMPANY_CODE> path segment selects which carrier answers the request. You need an approved account with that carrier to use its code.

CarrierCOMPANY_CODE
Apex Motor Expressapex
CCT Canadacct
Comox Pacific Expresscomox
Overland West Freight Linesowfl
Western Canada Expresswce
Coverage

Always send the company code in lowercase, exactly as it appears above. Coverage is not uniform across endpoints: rate quoting uses three different rating engines depending on the carrier.

Getting started

Conventions

Behaviour that applies to every endpoint. The first two items on this list account for most failed first integrations.

Parameter names are case-sensitive

Send parameter names exactly as they appear in this reference — lowercase, hyphenated. Customer-Code, Probill and Shipper-Code are silently ignored, which usually surfaces as a confusing “missing required parameter” error. Send the path in lowercase too.

Request shape

Sending a request

TopicBehaviour
Parameter locationGET endpoints read every parameter from the query string. POST endpoints read them from the request body. Do not send a body with a GET: a non-empty body is read in place of the query string, and a nested value in it is refused with 400 {"error": "Invalid value for parameter(s): <names>"}.
Content typePOST bodies may be application/json or application/x-www-form-urlencoded. Prefer JSON — form encoding sends every value as text and cannot express nested values, and the Apex/WCE and CCT rate quotes need dimensions as JSON numbers, so a form-encoded quote to either always fails. Multipart is not accepted.
DatesDates are YYYY-MM-DD in both requests and responses.
Accented charactersAccents are folded to their Latin equivalents before matching, so Montréal is treated as MONTREAL. A literal ampersand in a query value must be sent as %26.
Case of valuesName and city filters are matched case-insensitively. customer-code is matched exactly. Rate quote inputs are uppercased before rating.
Limits

Result size and pacing

No pagination, no result cap

A search returns every matching shipment, and the carrier system runs several follow-up queries per shipment returned. Keep date ranges narrow — a wide range on a busy account will be slow and can time out. There is no published request quota, but treat the API as a batch resource rather than something to poll per page view.

Every request has 180 seconds

The API waits up to 180 seconds for the carrier system on any endpoint. A request still unanswered then gets 500 {"error": "Internal server error."}. A search that runs out of time will do so again, so narrow the range rather than retrying it. Set your own client timeout a little above 180 seconds, so you receive that answer instead of cutting the request off first.

Availability

Scheduled maintenance

Each carrier's backing system has a nightly maintenance window. During it, every endpoint for that carrier returns 503 before your parameters are looked at:

{
  "status": 503,
  "code": "offline",
  "message": "Service unavailable during scheduled window"
}

Windows differ between Overland/Comox and Apex/WCE/CCT. Each is fixed on the clock of the system it belongs to:

CarriersMonday to FridaySaturdayClock
Apex, WCE, CCT02:57–03:15 and 04:00–05:2020:00–22:30Toronto (Eastern) time, all year: EST in winter, EDT in summer.
Overland West, Comox02:00–03:3017:00–19:30Pacific time, which no longer changes for daylight saving: UTC−7 all year.

A window runs to the end of its last minute — 03:15 means until 03:15:59 — and there is none on Sunday. Only the Toronto clock moves for daylight saving, so Pacific time is two hours behind Eastern in winter and three hours behind in summer.

The times are configuration-driven and subject to change. Build a retry with backoff rather than hard-coding them, and treat 503 as “try again later”, never as a data error.

503 is not your fault

The check runs before your parameters are read, so a 503 tells you nothing about the request. Do not log it as a validation failure or fall back to a different endpoint — queue the work and retry once the window closes. It runs after authentication, though, so a request with bad credentials during a maintenance window returns 401, not 503.

Detect the window with code, not status

status carries the numeric HTTP status, matching every other response from this API. The "offline" marker lives in code. If you have an older integration testing status === "offline", it will no longer match — switch it to code === "offline", or simply treat any 503 as a maintenance window.

Status API

Look up a shipment

Retrieve a single shipment by one of four reference numbers, with its commodity rows, dimensions and milestone history.

GEThttps://api.rewc.com:8184/api/<COMPANY_CODE>/probill/lookup
Carriers
apex · cct · comox · owfl · wce
Parameters in
Query string
Returns
{status, message, data[]}
Paginated
No
Request

Parameters

NameTypeUseDetails
customer-codeStringRequiredYour customer code. Letters and digits only — a code containing a dash, space or period is rejected. Matched against the shipment's shipper code, consignee code or bill-to code.
probillIntOne ofProbill number. Digits only.
bill-of-ladingStringOne ofBill of lading number. Printable ASCII characters only.
purchase-orderStringOne ofPurchase order number. Printable ASCII characters only.
shipper-numberStringOne ofShipper reference number. Must not contain {.
Exactly one lookup field

Send customer-code plus one and only one of probill, bill-of-lading, purchase-order or shipper-number. Sending none, or sending two, returns 400 Unable to look up probill, incorrect parameters. — the same error either way. A field sent empty or as spaces counts as not sent.

Carrier-specific behaviour

A probill lookup against Apex or WCE automatically retries against the other of the two if the first finds nothing, so an interlined shipment resolves either way. Purchase order lookups use a different index for Apex and WCE than for the other carriers.

Up to a minute behind

Lookups and searches read a copy of the carrier systems that is kept within a minute of them, so a change made in the last minute — a delivery just scanned, say — may not show yet.

Request

Examples

curl -G 'https://api.rewc.com:8184/api/owfl/probill/lookup' \
  -H 'x-client-id: YOUR_CLIENT_ID' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'x-customer-code: ABC1234' \
  --data-urlencode 'customer-code=ABC1234' \
  --data-urlencode 'probill=123456789'
Response

Envelope

FieldTypeDetails
statusIntegerMirrors the HTTP status code. 200 on success.
messageStringHuman-readable message describing the outcome.
dataArray[Object]Array of result objects. Always an array, including when a single shipment matched.

data is always an array. A probill lookup returns one element; bill of lading, purchase order and shipper number lookups can return several.

Response

Shipment object

FieldTypeDetails
probillStringCarrier probill number.
bill-of-ladingStringBill of lading value.
purchase-orderStringPurchase order value.
shipping-weightStringShipping weight, in pounds.
pickup-dateStringPickup date, YYYY-MM-DD. Empty string when not recorded.
delivery-dateStringDelivery date, YYYY-MM-DD. Empty string when not recorded.
delivery-timeStringDelivery time, HH:MM, in the local time of the delivering terminal. Empty string when not recorded.
delivery-appointment-dateStringDelivery appointment date, if an appointment was requested. Empty string otherwise.
delivery-appointment-timeStringDelivery appointment time, if an appointment was requested, in the local time of the delivering terminal. Empty string otherwise.
shipper-nameStringShipper name.
shipper-address-1StringShipper address, line 1.
shipper-address-2StringShipper address, line 2. Empty string when the shipper has only one address line.
shipper-cityStringShipper city.
shipper-provinceStringShipper province.
shipper-postal-codeStringShipper postal code. As recorded on the shipment. Can be the first three characters only, with no space.
consignee-nameStringConsignee name.
consignee-address-1StringConsignee address, line 1.
consignee-address-2StringConsignee address, line 2. Empty string when the consignee has only one address line.
consignee-cityStringConsignee city.
consignee-provinceStringConsignee province.
consignee-postal-codeStringConsignee postal code. As recorded on the shipment. Can be the first three characters only, with no space.
billing-termsStringBilling terms of the shipment, usually PPD (prepaid — the shipper pays), COL (collect — the consignee pays) or 3P (third party — a third party pays). Treat this as an open set: other values can appear, so pass through any you do not recognise.
statusStringReturn the shipment status.
detailsArray[Object]Commodity rows for the shipment — 0 to many. See details object. Rows with a piece count of zero or less are omitted.
dimensionsArray[Object] or StringEither an array of dimension objects, or the literal string "No dimensions found" when none are on file. Check the type before iterating.
historyArray[Object]Milestone history for the shipment, oldest first — 0 to many, including delivery, exception, delay and hold events. See history object.
One field needs a type check

dimensions is an array when dimensions are on file and the literal string "No dimensions found" when they are not — check the type before iterating. history is always an array, empty when the shipment has no milestones. Any field the carrier system has no value for — a date, a time, a second address line — comes back as "", never null.

Nested

details object

FieldTypeDetails
piecesStringPiece count for this commodity row.
descriptionStringDescription for this commodity row.
weightStringWeight for this commodity row, in pounds.
Nested

dimensions object

FieldTypeDetails
unitsStringNumber of units these dimensions apply to.
lengthStringLength, in inches.
widthStringWidth, in inches.
heightStringHeight, in inches.
Nested

history object

FieldTypeDetails
dateStringThe date the milestone was recorded, YYYY-MM-DD. No time is given.
statusStringThe milestone or event recorded: one of the shipment status events, delivery reason codes or service exceptions. Treat this as an open set — carrier-specific milestones may be added, so match on the values you know and pass anything else through.
History holds more than milestones

Besides tracking milestones, history records delivery reason codes and service exceptions, each on the date it happened. Read status on the shipment for where it stands now.

Values

Shipment status events

  • The current status event is returned in the status field of the shipment object.
  • Completed status events are returned in the history array of the shipment object.
ValueMeaning
PICKED UPThe freight has been picked up.
ORIGIN TERMINALThe freight is at its origin terminal.
AT ORIGIN TERMINAL: <CITY>In history only. The freight reached its origin terminal in the named city.
IN TRANSITThe freight is moving between terminals.
ARRIVED AT TERMINAL: <CITY>The freight reached an intermediate terminal in the named city.
DESTINATION TERMINALThe freight is at its destination terminal.
AT DESTINATION TERMINAL: <CITY>In history only. The freight reached its destination terminal in the named city.
APPOINTMENT BOOKED FOR <date> <time>A delivery appointment was booked.
OUT FOR DELIVERYThe freight is on a delivery run.
TRANSFERRED TO INTERLINEThe freight was handed to a partner carrier for delivery.
DELIVEREDDelivery has been recorded. In history: a delivery reason code, such as DELIVERED CLEAR.
CANCELLEDThe shipment was cancelled.
PLEASE CALL CUSTOMER SERVICE FOR DETAILSAPI is unable to return a status.
Values

Delivery reason codes

  • The values below are returned in the history array of the shipment object.
ValueMeaning
DELIVERED CLEARDelivered with no issues.
DELIVERED DAMAGEDDelivered with damage.
DELIVERED SHORTDelivered with fewer pieces than on the bill of lading.
DELIVERED OVERDelivered with more pieces than on the bill of lading.
PARTIALLY REFUSEDReceiver refused part of the shipment.
REFUSEDReceiver refused the shipment.
REFUSED DUE TO DAMAGEReceiver refused the shipment because it was damaged.
TRANSFERRED TO INTERLINEHanded to a partner carrier for delivery.
ATTEMPTED DELIVERYDelivery was attempted but not completed.
UNABLE TO CONTACT RECEIVERNo one was available to receive the shipment.
CONSIGNEE CLOSEDReceiver was closed or past its cutoff time.
WEATHERWeather prevented delivery.
Values

Service exceptions

  • The values listed below are returned in the history array under the shipment object.
ValueMeaning
ACCIDENTAn accident affected the shipment.
MECHANICAL BREAKDOWNAn equipment breakdown affected the shipment.
ROAD CLOSUREA closed road affected the shipment.
WEATHER DELAYWeather delayed the shipment.
SEASPAN DELAYDelay occurred in the ferry service.
PENDING LINEHAUL DEPARTThe freight is waiting to leave for the next terminal.
LINEHAUL DELAYTravel between terminals has been delayed.
MISSED CUT TIMEThe freight missed the cutoff for its planned movement.
ON HAND FREIGHTThe freight is on hand at the terminal.
DELIVERY DELAYDelivery will happen later than planned.
SHIPPER TENDERED LATEThe shipper made the freight available late.
HOLD FOR PICK UPThe freight is held at the terminal for the receiver to pick up.
HOLD BY REQUESTAs requested by the shipper or receiver.
RETURNED TO SHIPPERThe freight was sent back to the shipper.
Response

Example

{
  "status": 200,
  "message": "The records were retrieved successfully.",
  "data": [
    {
      "probill": "123456789",
      "bill-of-lading": "my-bol-1234",
      "purchase-order": "my-po-1234",
      "shipping-weight": "253",
      "pickup-date": "2026-08-04",
      "delivery-date": "2026-08-06",
      "delivery-time": "12:20",
      "delivery-appointment-date": "",
      "delivery-appointment-time": "",
      "shipper-name": "SHIPPER NAME",
      "shipper-address-1": "12345 MAIN ST",
      "shipper-address-2": "",
      "shipper-city": "EDMONTON",
      "shipper-province": "AB",
      "shipper-postal-code": "L1L1L1",
      "consignee-name": "CONSIGNEE NAME",
      "consignee-address-1": "123 FIRST ST",
      "consignee-address-2": "",
      "consignee-city": "LANGLEY",
      "consignee-province": "BC",
      "consignee-postal-code": "V4V4V4",
      "billing-terms": "PPD",
      "status": "DELIVERED",
      "details": [
        { "pieces": "1", "description": "PC", "weight": "253" }
      ],
      "dimensions": "No dimensions found",
      "history": [
        { "date": "2026-08-04", "status": "AT ORIGIN TERMINAL: EDMONTON" },
        { "date": "2026-08-04", "status": "IN TRANSIT" },
        { "date": "2026-08-05", "status": "ARRIVED AT TERMINAL: CALGARY" },
        { "date": "2026-08-05", "status": "LINEHAUL DELAY" },
        { "date": "2026-08-06", "status": "AT DESTINATION TERMINAL: LANGLEY" },
        { "date": "2026-08-06", "status": "OUT FOR DELIVERY" },
        { "date": "2026-08-06", "status": "DELIVERED CLEAR" }
      ]
    }
  ]
}
Response

Errors

StatusMessageCause
400Unable to look up probill, incorrect parameters.Zero or more than one lookup field supplied.
400Unable to look up probill, invalid probill.probill is not all digits.
400Unable to look up probill, invalid bill of lading.bill-of-lading contains a character outside printable ASCII. Unable to look up probill, invalid purchase order. is the same for purchase-order.
400Unable to look up probill, invalid shipper number.shipper-number contains {.
400Unable to search probill, customer code is invalid. Supplied (customer-code=…)customer-code missing, empty, or containing a character other than a letter or digit.
400Status not available for this customer number.Nothing matched. This is the not-found case — the API does not return 404 for a missing shipment.
400Your x-customer-code does not match the customer-code submitted…The customer-code you sent is not the account your x-customer-code header names. See how the customer code works.
500{"error": "Internal server error."}The carrier system did not answer, or not within 180 seconds — retry with backoff. An unusable x-customer-code is also a 500, and that one is not retryable — the header has to change, or the fault is on our side to fix.
Documents API

Retrieve shipment documents

Download the paperwork on file for a probill — bills of lading, proofs of delivery, or everything — merged into a single PDF.

GEThttps://api.rewc.com:8184/api/<COMPANY_CODE>/images
Carriers
apex · cct · comox · owfl · wce
Parameters in
Query string
Returns
application/pdf
Errors
JSON
Branch on Content-Type, not on the status code

A successful response is a raw PDF with no JSON wrapper. Every failure is a JSON body. Code that assumes a PDF, or that calls .json() unconditionally, will break on the first missing document. Read Content-Type and branch.

Request

Parameters

NameTypeUseDetails
customer-codeStringRequiredYour customer code. Letters and digits only. Must match the account in your x-customer-code header.
probillIntRequiredThe probill to retrieve documents for. Digits only, maximum 11 digits.
doc-typeStringOptionalWhich documents to include: ALL, BOL or POD, in capitals. Defaults to ALL. See document types.
Request

Document types

Three values are accepted. Each covers every variant we record for that kind of document, so you do not need to know the internal type codes.

ValueCovers
ALLEvery document on file for the probill. This is the default when doc-type is omitted.
BOLBills of lading, in every form we record them.
PODProofs of delivery, in every form we record them.
Values are exact

Send ALL, BOL or POD exactly, in capitals, or omit the parameter. Anything else, such as a typo like PODS or a lower-case pod, returns 400 Document type is invalid. before any lookup is made.

Request

Examples

curl -G 'https://api.rewc.com:8184/api/owfl/images' \
  -H 'x-client-id: YOUR_CLIENT_ID' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'x-customer-code: ABC1234' \
  --data-urlencode 'customer-code=ABC1234' \
  --data-urlencode 'probill=123456789' \
  --data-urlencode 'doc-type=POD' \
  --output 123456789-POD.pdf
Response

The PDF

HeaderValue
Content-Typeapplication/pdf

The response carries no file name; name the file yourself, for example <probill>-<doc-type>.pdf.

All matching documents are merged into one PDF. Scanned images come first, each on its own page, followed by the pages of documents stored as PDFs, copied through in their original page order. Documents flagged as deleted are never included, and a stored file in a format we do not handle is skipped — so a returned PDF can have fewer pages than we have documents on file. A stored image or PDF that is damaged, or every document being unreadable, means there is no PDF to return: the response is the same No images were found as a probill with nothing on file.

Response

Errors

StatusMessageCause
400Probill number is missing or invalid.probill missing, non-numeric, or longer than 11 digits.
400Document type is invalid.doc-type is not one of the document types, exactly as written.
400No images were found for probill number <n>.Nothing readable is available for that probill. Covers three cases: the probill has no documents of the requested type; the probill is not yours, because customer-code is applied as a filter inside the lookup; or documents exist but none of them could be rendered. All three read the same way — there is nothing to retrieve.
400Your customer number is required. Supplied (customer-code=…)customer-code missing, empty, or containing a character other than a letter or digit.
400Your x-customer-code does not match the customer-code submitted…The customer-code you sent is not the account your credential is entitled to. Reported as a user error, the same way probill/lookup and probill/search report it.
500{"error": "Internal server error."}The carrier system did not answer, or not within 180 seconds — retry with backoff. An unusable x-customer-code is also a 500, and that one is not retryable — the header has to change, or the fault is on our side to fix.
Pricing API

Pricing API — Overland/Comox

Rate an LTL shipment of up to five commodity rows and get back a quote number, a full charge breakdown and the terminals that will handle it.

POSThttps://api.rewc.com:8184/api/<COMPANY_CODE>/ratequote/customer
Carriers
owfl · comox
Parameters in
Request body
Returns
JSON array of one
Soft errors
At HTTP 200
This covers Overland West and Comox only

Overland West and Comox share the rating engine documented here. Apex and WCE use the Apex/WCE rating engine and CCT Canada uses the CCT rating engine — different required fields, different accessorial names, ten dimension rows instead of five commodity rows, and a bare object instead of an array of one. Sending this payload to those carrier codes will not work. The side-by-side comparison shows every difference.

HTTP 200 does not mean you got a rate

When a lane cannot be rated automatically — an oversized piece, a lane outside the tariff, a commodity needing review — the API returns HTTP 200 with a body containing an error key instead of a quote. Check for that key before reading any charge field. See unquotable shipments.

Request

Contact

Who to call about this quote. All three are required.

NameTypeUseDetails
contact-nameStringRequiredName of the person to contact about this quote. Maximum 100 characters.
contact-phoneStringRequiredPhone number of the person to contact about this quote. Ten digits, which may be separated by spaces, dots or dashes, with the area code optionally in brackets and an optional country code and space in front — for example 604-580-4600, (604) 580-4600 or +1 604.580.4600. No extension.
contact-emailStringRequiredEmail address of the person to contact about this quote. A single address, name@domain. Maximum 254 characters.
Request

Origin, destination and terms

NameTypeUseDetails
shipper-codeStringConditionalShipper customer code. Up to 7 letters and digits. Required when payment is PPD and no bill-to-code is supplied.
shipper-nameStringOptionalShipper company name. Maximum 30 characters.
shipper-cityStringRequiredShipper city. Maximum 20 characters.
shipper-provStringRequiredShipper province. See accepted provinces.
shipper-postalStringRequiredShipper postal code, A1A1A1. A single space is tolerated and stripped.
consignee-codeStringConditionalConsignee customer code. Up to 7 letters and digits. Required when payment is COL and no bill-to-code is supplied.
consignee-nameStringOptionalConsignee company name. Maximum 30 characters.
consignee-cityStringRequiredConsignee city. Maximum 20 characters.
consignee-provStringRequiredConsignee province. See accepted provinces.
consignee-postalStringRequiredConsignee postal code, A1A1A1. A single space is tolerated and stripped.
bill-to-codeStringConditionalThird-party customer code. Up to 7 letters and digits. Required when payment is 3P, and accepted in place of shipper-code / consignee-code for the other terms.
paymentStringRequiredPayment terms. One of PPD (prepaid), COL (collect) or 3P (third party). Determines which party code is required.
Which party code you need depends on the payment terms

payment=PPD needs shipper-code or bill-to-code. payment=COL needs consignee-code or bill-to-code. payment=3P needs bill-to-code. Company names are optional throughout — the codes are what the rating engine uses.

Request

Accepted provinces

ABBCMBNBNLNTNSNUONPEPQQCSKYT

Quebec is accepted as either QC or PQ. Anything outside this list, and a shipper or consignee city that is missing or longer than 20 characters, is answered the way a lane not in your tariff is — see unquotable shipments.

Request

Commodity rows

A quote carries one to five commodity rows. Row 1 is required in full. Rows 2 through 5 are all-or-nothing: submit every field of a row or none of them.

NameTypeUseDetails
quantity-1IntegerRequiredNumber of units in this row. Maximum 999.
description-1StringRequiredDescription of the goods in this row. Maximum 35 characters.
weight-1StringRequiredWeight of one piece in this row, a whole number. Maximum 9,999,999.
weight-type-1StringRequiredUnit for weight-1: LBS or KGS.
length-1IntegerRequiredLength of one unit, in inches.
width-1IntegerRequiredWidth of one unit, in inches.
height-1IntegerRequiredHeight of one unit, in inches.
dgoods-1BooleanOptionalSet to 1 when this row is dangerous goods. Omit it or pass 0 otherwise.
class-1DecimalConditionalDangerous goods class for this row. Required when dgoods-1 is set; a class of 0 counts as none. Format ####.#.
package-1StringConditionalDangerous goods packing group for this row. Required when dgoods-1 is set. Maximum 3 characters.
Commodity rows 2 to 5 — identical fields, suffix 2 to 5
NameTypeUseDetails
quantity-2IntegerConditionalNumber of units in this row. Maximum 999. Required when you submit this commodity row.
description-2StringConditionalDescription of the goods in this row. Maximum 35 characters. Required when you submit this commodity row.
weight-2StringConditionalWeight of one piece in this row, a whole number. Maximum 9,999,999. Required when you submit this commodity row.
weight-type-2StringConditionalUnit for weight-2: LBS or KGS. Required when you submit this commodity row.
length-2IntegerConditionalLength of one unit, in inches. Required when you submit this commodity row.
width-2IntegerConditionalWidth of one unit, in inches. Required when you submit this commodity row.
height-2IntegerConditionalHeight of one unit, in inches. Required when you submit this commodity row.
dgoods-2BooleanOptionalSet to 1 when this row is dangerous goods. Omit it or pass 0 otherwise.
class-2DecimalConditionalDangerous goods class for this row. Required when dgoods-2 is set; a class of 0 counts as none. Format ####.#.
package-2StringConditionalDangerous goods packing group for this row. Required when dgoods-2 is set. Maximum 3 characters.
NameTypeUseDetails
quantity-3IntegerConditionalNumber of units in this row. Maximum 999. Required when you submit this commodity row.
description-3StringConditionalDescription of the goods in this row. Maximum 35 characters. Required when you submit this commodity row.
weight-3StringConditionalWeight of one piece in this row, a whole number. Maximum 9,999,999. Required when you submit this commodity row.
weight-type-3StringConditionalUnit for weight-3: LBS or KGS. Required when you submit this commodity row.
length-3IntegerConditionalLength of one unit, in inches. Required when you submit this commodity row.
width-3IntegerConditionalWidth of one unit, in inches. Required when you submit this commodity row.
height-3IntegerConditionalHeight of one unit, in inches. Required when you submit this commodity row.
dgoods-3BooleanOptionalSet to 1 when this row is dangerous goods. Omit it or pass 0 otherwise.
class-3DecimalConditionalDangerous goods class for this row. Required when dgoods-3 is set; a class of 0 counts as none. Format ####.#.
package-3StringConditionalDangerous goods packing group for this row. Required when dgoods-3 is set. Maximum 3 characters.
NameTypeUseDetails
quantity-4IntegerConditionalNumber of units in this row. Maximum 999. Required when you submit this commodity row.
description-4StringConditionalDescription of the goods in this row. Maximum 35 characters. Required when you submit this commodity row.
weight-4StringConditionalWeight of one piece in this row, a whole number. Maximum 9,999,999. Required when you submit this commodity row.
weight-type-4StringConditionalUnit for weight-4: LBS or KGS. Required when you submit this commodity row.
length-4IntegerConditionalLength of one unit, in inches. Required when you submit this commodity row.
width-4IntegerConditionalWidth of one unit, in inches. Required when you submit this commodity row.
height-4IntegerConditionalHeight of one unit, in inches. Required when you submit this commodity row.
dgoods-4BooleanOptionalSet to 1 when this row is dangerous goods. Omit it or pass 0 otherwise.
class-4DecimalConditionalDangerous goods class for this row. Required when dgoods-4 is set; a class of 0 counts as none. Format ####.#.
package-4StringConditionalDangerous goods packing group for this row. Required when dgoods-4 is set. Maximum 3 characters.
NameTypeUseDetails
quantity-5IntegerConditionalNumber of units in this row. Maximum 999. Required when you submit this commodity row.
description-5StringConditionalDescription of the goods in this row. Maximum 35 characters. Required when you submit this commodity row.
weight-5StringConditionalWeight of one piece in this row, a whole number. Maximum 9,999,999. Required when you submit this commodity row.
weight-type-5StringConditionalUnit for weight-5: LBS or KGS. Required when you submit this commodity row.
length-5IntegerConditionalLength of one unit, in inches. Required when you submit this commodity row.
width-5IntegerConditionalWidth of one unit, in inches. Required when you submit this commodity row.
height-5IntegerConditionalHeight of one unit, in inches. Required when you submit this commodity row.
dgoods-5BooleanOptionalSet to 1 when this row is dangerous goods. Omit it or pass 0 otherwise.
class-5DecimalConditionalDangerous goods class for this row. Required when dgoods-5 is set; a class of 0 counts as none. Format ####.#.
package-5StringConditionalDangerous goods packing group for this row. Required when dgoods-5 is set. Maximum 3 characters.
Oversized and overweight shipments route to manual review

Dimensions are in inches, per unit. A piece over 96 inches in any dimension does not produce a validation error — it produces an unquotable response asking you to call for a rate. Length, width and height count alike for every shipment-truck-req value, SEMITRAILER included. So does a total weight at or above 6,000 lb (2,721 kg), a rated weight over 6,000 lb, a FLATBED equipment requirement, and a Yellowknife NT consignee. A height of 72 inches or more is rated as 96 inches. Note that rated weight can exceed the weight you submitted, because dimensional weight is taken into account — a request that validates cleanly can still come back unquotable.

Request

Totals and equipment

NameTypeUseDetails
total-piecesIntegerOptionalTotal pieces across all commodity rows. Calculated from the quantity-N fields when omitted. Maximum 999.
total-weightIntegerOptionalTotal weight across all commodity rows, a whole number. Maximum 9,999,999. When omitted it is worked out from the rows: each quantity-N × weight-N, summed.
total-weight-typeStringOptionalUnit for total-weight: LBS or KGS. Defaults to LBS.
shipment-truck-reqStringOptionalEquipment required for the shipment. Overland West accepts SEMITRAILER, FLATBED, PTG. Comox accepts NONE, SEMITRAILER, FLATBED. No default. FLATBED always routes to manual review; the 96-inch size limit is the same for every other value — see oversized shipments.
Request

Accessorials

Optional service requirements. Boolean accessorials take 1 to request the service; omit them or send the number 0 otherwise. Any other value requests the service — including the strings "0" and "false" — and is charged for it.

At most ten accessorials are rated

Only ten accessorials on a request are forwarded to the rating engine, taken in this fixed order rather than the order you send them: appointment-delivery, appointment-pickup, dangerous-goods, heat, private-home-pickup, private-home-delivery, tailgate-pickup, tailgate-delivery, declared-value, tarp-over-28, flat-deck-pickup, flat-deck-delivery, mall-delivery, mall-pickup, the two overlength bands, alternative-floor-pickup-and-delivery, inside-delivery, inside-pickup, jobsite-delivery, jobsite-pickup, notify-prior-to-delivery, prebooked-appointment. Anything beyond the tenth is dropped without an error, and the quote comes back looking valid. If you need more than ten on one shipment, contact the pricing department.

NameTypeMeaning
appointment-deliveryBooleanDelivery requires an appointment.
appointment-pickupBooleanPickup requires an appointment.
prebooked-appointmentBooleanThe appointment is pre-booked.
notify-prior-to-deliveryBooleanCall the consignee before delivering.
dangerous-goodsBooleanThe shipment contains dangerous goods. Set this in addition to the per-row dgoods-N flags.
heatBooleanThe shipment requires heated service.
tarp-over-28BooleanThe load requires a tarp over 28 feet.
private-home-pickupBooleanPickup is at a private residence.
private-home-deliveryBooleanDelivery is to a private residence.
tailgate-pickupBooleanPickup requires a tailgate.
tailgate-deliveryBooleanDelivery requires a tailgate.
inside-pickupBooleanPickup is inside the building.
inside-deliveryBooleanDelivery is inside the building.
jobsite-pickupBooleanPickup is at a construction or job site.
jobsite-deliveryBooleanDelivery is at a construction or job site.
mall-pickupBooleanPickup is at a shopping mall.
mall-deliveryBooleanDelivery is to a shopping mall.
flat-deck-pickupBooleanPickup requires a flat deck.
flat-deck-deliveryBooleanDelivery requires a flat deck.
alternative-floor-pickup-and-deliveryBooleanPickup or delivery is above or below the ground floor.
overlength-from-120-to-239BooleanThe load includes a piece 120 to 239 inches long.
overlength-from-240-and-overBooleanThe load includes a piece 240 inches or longer.
declared-valueDecimalDeclared value of the shipment, as a dollar amount: up to 9 digits and up to 2 decimal places, so 1500 and 1500.50 are both accepted. Thousands separators are accepted.
Request

Renamed and retired fields

Old nameUse insteadNotes
tarptarp-over-28Still accepted; use the replacement for new integrations.
call-aheadnotify-prior-to-deliveryStill accepted; use the replacement for new integrations.
overlength-from-120-to-228overlength-from-120-to-239The banding changed. Still accepted; use the replacement.
overlength-from-229-and-overoverlength-from-240-and-overThe banding changed. Still accepted; use the replacement.
cod-amount—No longer has any effect. The value is accepted but ignored. Arrange COD outside the rate quote.
Request

Examples

curl -X POST 'https://api.rewc.com:8184/api/owfl/ratequote/customer' \
  -H 'x-client-id: YOUR_CLIENT_ID' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'x-customer-code: ABC1234' \
  -H 'Content-Type: application/json' \
  -d @quote.json
Response

Shape

An array of one, with unused fields removed

The response is a JSON array containing exactly one object — not an envelope, and not a bare object. Fields belonging to commodity rows you did not submit, and accessorial slots you did not use, are removed from the response entirely rather than returned as null, so read with optional access rather than assuming every documented key is present.

Response

Quote and tariff

FieldTypeDetails
quote-numberIntegerQuote number to reference when booking the shipment.
quote-effective-dateStringDate the quote was rated, YYYY-MM-DD. How long it stays valid depends on the carrier.
tariffStringTariff code used to rate the quote.
tariff-effective-dateStringEffective date of that tariff, YYYY-MM-DD.
Response

Parties and rating stations

FieldTypeDetails
shipper-accountStringShipper customer code.
shipper-nameStringShipper company name.
shipper-cityStringShipper city, echoed from your request.
shipper-provStringShipper province, echoed from your request, except that PQ comes back as QC.
shipper-postalStringShipper postal code.
consignee-accountStringConsignee customer code.
consignee-nameStringConsignee company name.
consignee-cityStringConsignee city, echoed from your request.
consignee-provStringConsignee province, echoed from your request, except that PQ comes back as QC.
consignee-postalStringConsignee postal code.
bill-to-accountStringBill-to customer code.
basing-shipper-cityStringThe rating station used for the origin. This can differ from shipper-city — the tariff is based on the nearest rated point.
basing-shipper-provStringProvince of the origin rating station.
basing-consignee-cityStringThe rating station used for the destination. This can differ from consignee-city.
basing-consignee-provStringProvince of the destination rating station.
Basing city is not a mistake

The basing- fields name the rated point the tariff was actually applied from, which is often the nearest larger centre rather than the city you sent. Show the customer their own city and keep the basing city for reconciling charges with us.

Response

Weights and volumes

FieldTypeDetails
total-piecesIntegerTotal pieces on the quote.
total-weightIntegerTotal weight on the quote.
total-weight-typeStringUnit for total-weight: P for pounds, K for kilograms.
total-volumeDecimalTotal volume of all commodity rows, in cubic feet.
payment-typeStringPayment type: P prepaid, C collect.
rated-weightIntegerWeight the tariff was applied to.
dimensional-weightIntegerDimensional weight calculated from the submitted dimensions.
deficit-weightIntegerDeficit weight applied to reach a rate break, if any.
deficit-rateDecimalRate applied to the deficit weight.
deficit-amountDecimalCharge arising from the deficit weight.
hazardous-materialsStringY or N.
declared-valueDecimalDeclared value carried on the quote.
Response

Rated commodity rows

FieldTypeDetails
desc-1StringDescription for commodity row 1.
weight-1IntegerWeight for commodity row 1, in pounds.
rate-1DecimalRate applied to commodity row 1.
amount-1DecimalCharge for commodity row 1.
length-1DecimalLength submitted for commodity row 1.
width-1DecimalWidth submitted for commodity row 1.
height-1DecimalHeight submitted for commodity row 1.
class-1DecimalDangerous goods class for commodity row 1. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
package-1DecimalDangerous goods packing group for commodity row 1. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
Rated commodity rows 2 to 5 — identical fields, suffix 2 to 5
FieldTypeDetails
desc-2StringDescription for commodity row 2. Absent when commodity row 2 was not submitted.
weight-2IntegerWeight for commodity row 2, in pounds. Absent when commodity row 2 was not submitted.
rate-2DecimalRate applied to commodity row 2. Absent when commodity row 2 was not submitted.
amount-2DecimalCharge for commodity row 2. Absent when commodity row 2 was not submitted.
length-2DecimalLength submitted for commodity row 2. Absent when commodity row 2 was not submitted.
width-2DecimalWidth submitted for commodity row 2. Absent when commodity row 2 was not submitted.
height-2DecimalHeight submitted for commodity row 2. Absent when commodity row 2 was not submitted.
class-2DecimalDangerous goods class for commodity row 2. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
package-2DecimalDangerous goods packing group for commodity row 2. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
FieldTypeDetails
desc-3StringDescription for commodity row 3. Absent when commodity row 3 was not submitted.
weight-3IntegerWeight for commodity row 3, in pounds. Absent when commodity row 3 was not submitted.
rate-3DecimalRate applied to commodity row 3. Absent when commodity row 3 was not submitted.
amount-3DecimalCharge for commodity row 3. Absent when commodity row 3 was not submitted.
length-3DecimalLength submitted for commodity row 3. Absent when commodity row 3 was not submitted.
width-3DecimalWidth submitted for commodity row 3. Absent when commodity row 3 was not submitted.
height-3DecimalHeight submitted for commodity row 3. Absent when commodity row 3 was not submitted.
class-3DecimalDangerous goods class for commodity row 3. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
package-3DecimalDangerous goods packing group for commodity row 3. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
FieldTypeDetails
desc-4StringDescription for commodity row 4. Absent when commodity row 4 was not submitted.
weight-4IntegerWeight for commodity row 4, in pounds. Absent when commodity row 4 was not submitted.
rate-4DecimalRate applied to commodity row 4. Absent when commodity row 4 was not submitted.
amount-4DecimalCharge for commodity row 4. Absent when commodity row 4 was not submitted.
length-4DecimalLength submitted for commodity row 4. Absent when commodity row 4 was not submitted.
width-4DecimalWidth submitted for commodity row 4. Absent when commodity row 4 was not submitted.
height-4DecimalHeight submitted for commodity row 4. Absent when commodity row 4 was not submitted.
class-4DecimalDangerous goods class for commodity row 4. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
package-4DecimalDangerous goods packing group for commodity row 4. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
FieldTypeDetails
desc-5StringDescription for commodity row 5. Absent when commodity row 5 was not submitted.
weight-5IntegerWeight for commodity row 5, in pounds. Absent when commodity row 5 was not submitted.
rate-5DecimalRate applied to commodity row 5. Absent when commodity row 5 was not submitted.
amount-5DecimalCharge for commodity row 5. Absent when commodity row 5 was not submitted.
length-5DecimalLength submitted for commodity row 5. Absent when commodity row 5 was not submitted.
width-5DecimalWidth submitted for commodity row 5. Absent when commodity row 5 was not submitted.
height-5DecimalHeight submitted for commodity row 5. Absent when commodity row 5 was not submitted.
class-5DecimalDangerous goods class for commodity row 5. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
package-5DecimalDangerous goods packing group for commodity row 5. Present for every commodity row you sent; 0 or blank unless the row was flagged as dangerous goods.
Response

Rated accessorials

Up to ten numbered code and amount pairs. A slot is absent when fewer accessorials were charged.

Accessorial slots 1 to 10
FieldTypeDetails
accessorial-code-1StringCode for accessorial 1. Absent when fewer than 1 accessorials were charged.
accessorial-amount-1DecimalCharge for accessorial 1. Absent when fewer than 1 accessorials were charged.
FieldTypeDetails
accessorial-code-2StringCode for accessorial 2. Absent when fewer than 2 accessorials were charged.
accessorial-amount-2DecimalCharge for accessorial 2. Absent when fewer than 2 accessorials were charged.
FieldTypeDetails
accessorial-code-3StringCode for accessorial 3. Absent when fewer than 3 accessorials were charged.
accessorial-amount-3DecimalCharge for accessorial 3. Absent when fewer than 3 accessorials were charged.
FieldTypeDetails
accessorial-code-4StringCode for accessorial 4. Absent when fewer than 4 accessorials were charged.
accessorial-amount-4DecimalCharge for accessorial 4. Absent when fewer than 4 accessorials were charged.
FieldTypeDetails
accessorial-code-5StringCode for accessorial 5. Absent when fewer than 5 accessorials were charged.
accessorial-amount-5DecimalCharge for accessorial 5. Absent when fewer than 5 accessorials were charged.
FieldTypeDetails
accessorial-code-6StringCode for accessorial 6. Absent when fewer than 6 accessorials were charged.
accessorial-amount-6DecimalCharge for accessorial 6. Absent when fewer than 6 accessorials were charged.
FieldTypeDetails
accessorial-code-7StringCode for accessorial 7. Absent when fewer than 7 accessorials were charged.
accessorial-amount-7DecimalCharge for accessorial 7. Absent when fewer than 7 accessorials were charged.
FieldTypeDetails
accessorial-code-8StringCode for accessorial 8. Absent when fewer than 8 accessorials were charged.
accessorial-amount-8DecimalCharge for accessorial 8. Absent when fewer than 8 accessorials were charged.
FieldTypeDetails
accessorial-code-9StringCode for accessorial 9. Absent when fewer than 9 accessorials were charged.
accessorial-amount-9DecimalCharge for accessorial 9. Absent when fewer than 9 accessorials were charged.
FieldTypeDetails
accessorial-code-10StringCode for accessorial 10. Absent when fewer than 10 accessorials were charged.
accessorial-amount-10DecimalCharge for accessorial 10. Absent when fewer than 10 accessorials were charged.
Response

Charges

FieldTypeDetails
net-total-chargesDecimalFreight charges before accessorials and fuel.
total-accessorial-amountDecimalSum of all accessorial charges.
fuel-surcharge-amountDecimalFuel surcharge.
Response

Terminals and contact

FieldTypeDetails
origin-terminalStringTerminal that will handle the origin.
origin-terminal-phoneStringPhone number for the origin terminal.
destination-terminalStringTerminal that will handle the destination.
destination-terminal-phoneStringPhone number for the destination terminal.
contact-nameStringContact name, echoed from your request.
contact-phoneStringContact phone, echoed from your request.
contact-emailStringContact email, echoed from your request.
Response

Conditional fields

FieldTypeDetails
carbon-feesObjectPresent only when carbon fees apply. Nested object carrying the fee breakdown and its own quote-number.
Numbers and strings are not consistent

Numeric-looking values are converted to real JSON numbers, with a short list of exceptions kept as strings: shipper-account, consignee-account, bill-to-account, quote-effective-date, tariff, tariff-effective-date, commodity and contact-phone. Parse defensively rather than relying on the type of any one field, particularly if you also consume the Apex/WCE rate quote, which keeps a different set as strings.

Response

Example

[
  {
    "quote-number": 123,
    "quote-effective-date": "2022-10-06",
    "shipper-account": "ABC1234",
    "shipper-name": "ACME DISTRIBUTION",
    "shipper-city": "SURREY",
    "shipper-prov": "BC",
    "shipper-postal": "V3R0C2",
    "consignee-name": "KELOWNA HARDWARE",
    "consignee-city": "KELOWNA",
    "consignee-prov": "BC",
    "consignee-postal": "V1V0C1",
    "total-pieces": 1,
    "total-weight": 100,
    "total-weight-type": "P",
    "total-volume": 10.0,
    "payment-type": "P",
    "desc-1": "PALLETIZED HARDWARE",
    "weight-1": 100,
    "rate-1": 24.15,
    "amount-1": 80.00,
    "length-1": 12.00,
    "width-1": 12.00,
    "height-1": 12.00,
    "tariff": "TARIFF_CODE",
    "tariff-effective-date": "2022-05-02",
    "rated-weight": 100,
    "dimensional-weight": 10,
    "accessorial-code-1": "TGD",
    "accessorial-amount-1": 45.00,
    "hazardous-materials": "N",
    "origin-terminal": "VCR",
    "origin-terminal-phone": "604-888-6300",
    "destination-terminal": "KEL",
    "destination-terminal-phone": "250-765-1441",
    "total-accessorial-amount": 45.00,
    "fuel-surcharge-amount": 20.00,
    "net-total-charges": 80.00,
    "contact-name": "JANE OPERATOR",
    "contact-phone": "6045804600",
    "contact-email": "jane@example.com",
    "basing-shipper-city": "VANCOUVER",
    "basing-shipper-prov": "BC",
    "basing-consignee-city": "KELOWNA",
    "basing-consignee-prov": "BC"
  }
]
Response

Unquotable shipments

Your request was valid but the lane could not be rated automatically. The HTTP status is 200, and the body is a single object — not the array of one a successful quote returns, so check the shape before you index into it. Branch on code and retryable rather than matching the message text.

{
  "error": "Your quote could not be automatically completed. Please call 604-580-4600 ext 9706 to acquire a rate.",
  "message": "Your quote could not be automatically completed. Please call 604-580-4600 ext 9706 to acquire a rate.",
  "code": "NEEDS_PRICING_DESK",
  "retryable": false
}

Overland West and Comox carry the message in both error and message. error is the older field and is kept for existing integrations; read message in new code, which is also where Apex, WCE and CCT put it.

MessagecodeCause
Your quote could not be automatically completed. Please call 604-580-4600 ext 9706 to acquire a rate.NEEDS_PRICING_DESKAn oversized piece, a total or rated weight at or above 6,000 lb (2,721 kg), a FLATBED equipment requirement, or a Yellowknife NT consignee.
Pricing for lanes not in your tariff. Please call 604-580-4600 ext 9706 to acquire a rate.NEEDS_PRICING_DESKThe lane is not in your tariff, or we do not quote it automatically — every quote is checked against your tariff and our lanes before it is rated. It is also the answer for a city or province that is missing, invalid, or one we cannot place. Call the pricing department for a spot quote.
Your quote could not be saved. Please try again later.NOT_SAVEDThe quote could not be written to the carrier system.
The quote could not be saved in the LTL.NOT_SAVEDThe rating program returned no quote number and gave no reason.
We are unable to provide a quote at this time. Please call 604-580-4600 ext 9706 to acquire a rate.SYSTEMThe quote could not be completed on our side: a carrier system did not answer, the rating program gave no rate, or a quote number came back with no rate behind it. The cause is recorded on our side. Retryable.
Your quote could not be completed. Please try again later.SYSTEMThe lane check that runs before every quote could not be completed, so nothing was rated or stored. Retryable.

See soft error codes for the full set of code values and which of them are worth retrying.

Response

Errors

Request-level failures carry status and message at the top level, alongside a legacy error object:

{
  "status": 400,
  "message": "Bad Request. No valid payment option. Choose one of :[PPD,COL,3P]. Supplied (XX)",
  "error": {
    "message": "Bad Request. No valid payment option. Choose one of :[PPD,COL,3P]. Supplied (XX)",
    "data": []
  }
}
Read status and message, not error

The nested error object duplicates message and exists only so older integrations keep working. It is scheduled for removal. New code should read the top-level status and message, which match the shape the shipment and document endpoints already use.

StatusMessage prefixCause
400Bad Request.A validation failure. The rest of the message names the field and the rule it broke. A text field sent as an object, an array or true is one.
501Endpoint not implemented for <company>The carrier in the path has no rating engine. All five documented carrier codes have one, so this means the path carries a code that is valid for other endpoints but cannot rate.
503{"status": 503, "code": "offline", "message": "Service unavailable during scheduled window"}The carrier's nightly maintenance window. Retry once it closes; see scheduled maintenance.
500{"error": "Internal server error."}An unusable x-customer-code. It is not retryable — the header has to change, or the fault is on our side to fix. A rating system that fails is not a 500: it is a SYSTEM soft error. The exception is a quote still unanswered after 180 seconds, which the API stops waiting for and answers with this 500. The quote is stopped before it is saved unless saving had already begun, so it is usually safe to retry with backoff; if it had been saved, the retry gives a second quote number, as any repeated quote does.
Pricing API

Pricing API — Apex/WCE

Rate an LTL shipment for Apex Motor Express or Western Canada Express. Dimension driven, up to ten rows, with a flat weight and commodity rather than per-row detail.

POSThttps://api.rewc.com:8184/api/<COMPANY_CODE>/ratequote/customer
Carriers
apex · wce
Parameters in
Request body
Returns
Bare JSON object
Soft errors
At HTTP 200
This is a different rating engine from Overland/Comox

Apex and WCE share the rating engine below. It is not the Overland/Comox engine and not the CCT one: different required fields, different accessorial names, ten dimension rows instead of five commodity rows, and a bare object rather than an array of one. There is no payment, no contact- fields, no postal codes and no per-row weights or descriptions here.

HTTP 200 does not mean you got a rate

An unknown customer, an unrecognised city, a lane outside your tariff or an oversized shipment all come back as HTTP 200 with {"error": true, "message": "…"} instead of a quote. Check for the error key before reading any charge field. See unquotable shipments.

Request

Account and lane

NameTypeUseDetails
customer-codeStringRequiredYour customer code. Must match the account in your x-customer-code header. Up to 7 characters.
shipper-cityStringRequiredOrigin city. Maximum 20 characters. Uppercased before rating. A missing or longer city is answered as a NEEDS_PRICING_DESK soft error, not a 400.
shipper-provStringRequiredOrigin province. See accepted provinces.
consignee-cityStringRequiredDestination city. Maximum 20 characters. Uppercased before rating. A missing or longer city is answered as a NEEDS_PRICING_DESK soft error, not a 400.
consignee-provStringRequiredDestination province. See accepted provinces.
Request

Service

NameTypeUseDetails
shipment-typeStringRequiredDirection and payment of the shipment: OP outbound prepaid, or IC inbound collect.
Request

Freight

NameTypeUseDetails
weightIntegerRequiredTotal shipment weight, as a number. Must be greater than zero, and below the cap for the unit you use — see weight limits. Thousands separators are accepted: "1,500" is read as 1500.
weight-typeStringRequiredUnit for weight: LBS or KGS.
commodityStringRequiredDescription of the goods. Maximum 50 characters, single line.
Request

Accepted provinces

ABBCMBNBNFNTNSNUONPEPQSKYT

Send QC or PQ for Quebec and NL or NF for Newfoundland — both spellings are accepted on the way in. Anything outside this list, and a shipper or consignee city that is missing or longer than 20 characters, is answered the way a lane not in your tariff is, with NEEDS_PRICING_DESK — see soft error codes.

Provinces come back in two forms

shipper-prov and consignee-prov echo what you sent, in capitals, so PQ or NF comes back as sent. The basing- fields always use the modern codes (QC, NL). The terminal fields shipper-terminal-prov and consignee-terminal-prov are returned in the carrier's internal form and can contain PQ or NF. Normalise on your side if you display them together.

Request

Weight limits

UnitAcceptedRejected
LBSAbove 0 and below 15,000 lb400 at exactly 15,000 lb or above — the limit is exclusive.
KGSAbove 0 and below about 6,804 kg400 once the pound equivalent reaches 15,000 lb.
A valid weight can still be refused

Clearing the request limit is not the same as being rateable. The carrier system can still refuse the shipment at HTTP 200 — Apex and WCE at a rated weight of 15,000 lb, and CCT at 6,000 lb, well below the request limit. Rated weight can exceed submitted weight when dimensional weight applies, so a 4,000 lb bulky shipment can hit CCT's ceiling.

Request

Dimension rows

Up to ten rows of piece dimensions. Row 1 is required. Rows 2 to 10 are all-or-nothing: send all three values for a row or leave the row out entirely.

NameTypeUseDetails
length-1IntegerRequiredLength of one piece, in inches. Whole numbers only, maximum 119.
width-1IntegerRequiredWidth of one piece, in inches. Whole numbers only, maximum 96.
height-1IntegerRequiredHeight of one piece, in inches. Whole numbers only, maximum 102.
Dimension rows 2 to 10 — identical fields, suffix 2 to 10
NameTypeUseDetails
length-2IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-2IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-2IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-3IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-3IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-3IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-4IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-4IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-4IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-5IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-5IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-5IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-6IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-6IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-6IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-7IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-7IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-7IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-8IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-8IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-8IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-9IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-9IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-9IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
NameTypeUseDetails
length-10IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-10IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-10IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 102. Required when you submit this dimension row.
Integers only, and there is no eleventh row

Every dimension must be a JSON integer. A quoted string such as "48" or a decimal such as 48.5 is rejected with a 400. Keys beyond length-10 are ignored without an error, so a shipment with more than ten distinct piece sizes needs to be grouped before you send it.

Request

Declared value

NameTypeUseDetails
excess-amountDecimalOptionalDeclared value of the shipment, as a dollar amount. Rejected above $100,000 or above $10.00 per pound of weight; a weight in kilograms is converted to pounds first. Thousands separators are accepted; any other value that is not a dollar amount of zero or more is rejected.
Request

Accessorials

All optional. Send the number 1 to request the service; omit the key otherwise. Each -rural service is rated and itemised separately from its urban counterpart.

NameMeaning
require-tailgate-pickupTailgate required at pickup.
require-tailgate-deliveryTailgate required at delivery.
require-inside-pickupPickup is inside the building.
require-inside-deliveryDelivery is inside the building.
require-home-pickupPickup is at a private residence in an urban area.
require-home-deliveryDelivery is to a private residence in an urban area.
require-home-pickup-ruralPickup is at a private residence in a rural area.
require-home-delivery-ruralDelivery is to a private residence in a rural area.
require-saturday-pickupSaturday pickup.
require-saturday-deliverySaturday delivery.
require-sunday-pickupSunday pickup.
require-sunday-deliverySunday delivery.
require-after-hours-deliveryDelivery outside normal hours.
require-prebook-appointmentDelivery appointment is pre-booked.
require-call-for-appointmentCall the consignee to arrange an appointment.
require-heatHeated service required.
require-dangerous-goodsShipment contains dangerous goods.
require-limited-accessPickup or delivery is at a limited-access location.
require-limited-access-pickup-ruralPickup is at a limited-access location in a rural area.
require-limited-access-delivery-ruralDelivery is to a limited-access location in a rural area.
Request

Examples

curl -X POST 'https://api.rewc.com:8184/api/apex/ratequote/customer' \
  -H 'x-client-id: YOUR_CLIENT_ID' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'x-customer-code: ABC1234' \
  -H 'Content-Type: application/json' \
  -d @quote.json
Response

Shape

A bare object, with unused fields removed

The response is a single JSON object — no envelope, no array. Accessorial charge fields you did not request, dimension rows you did not submit, and any field the carrier system has no value for are removed entirely rather than returned as null. Read with optional access rather than assuming every documented key is present.

Response

Quote and tariff

FieldTypeDetails
quote-numberStringQuote number to reference when booking. Prefixed by carrier — AC for Apex, WC for WCE — so it is a string such as AC1234567, never an integer.
customer-codeStringCustomer code the quote was rated for.
quote-dateStringDate the quote was rated, YYYY-MM-DD.
tariff-codeStringTariff used to rate the quote.
commodityStringCommodity description, echoed from your request.
Response

Weights and rating

FieldTypeDetails
rateDecimalRate applied to the shipment.
cost-per-weightDecimalBase freight charge before fuel and accessorials.
quoted-weightIntegerWeight the tariff was applied to.
customer-input-weightIntegerWeight as you submitted it.
deficit-weightIntegerDeficit weight applied to reach a rate break, if any.
cubic-weightIntegerTotal cubic weight across all dimension rows.
densityDecimalDensity used for rating.
Response

Charges

FieldTypeDetails
total-chargeDecimalTotal charge for the shipment. Includes carbon fees — the itemised fields below will not sum to this figure unless you add carbon-charge-total back in.
fuel-surchargeDecimalFuel surcharge.
gst-pstDecimalGST and PST amount.
excessDecimalCharge for the declared value. Present only when you sent excess-amount.
excess-amountDecimalThe declared value, echoed back. Present only when you sent it.
Response

Accessorial charges

Each field appears only when you requested the matching accessorial.

FieldTypeDetails
tailgate-pickup-amountDecimalTailgate pickup charge.
tailgate-delivery-amountDecimalTailgate delivery charge.
inside-pickup-amountDecimalInside pickup charge.
inside-delivery-amountDecimalInside delivery charge.
home-pickup-amountDecimalResidential pickup charge.
home-delivery-amountDecimalResidential delivery charge.
home-pickup-rural-amountDecimalRural residential pickup charge.
home-delivery-rural-amountDecimalRural residential delivery charge.
saturday-pickup-amountDecimalSaturday pickup charge.
saturday-delivery-amountDecimalSaturday delivery charge.
sunday-pickup-amountDecimalSunday pickup charge.
sunday-delivery-amountDecimalSunday delivery charge.
after-hours-delivery-amountDecimalAfter-hours delivery charge.
pre-booked-amountDecimalPre-booked appointment charge.
call-for-appointment-amountDecimalCall-for-appointment charge.
heat-amountDecimalHeated service charge.
dangerous-goods-amountDecimalDangerous goods charge.
limited-access-amountDecimalLimited-access charge.
limited-access-pickup-rural-amountDecimalRural limited-access pickup charge.
limited-access-delivery-rural-amountDecimalRural limited-access delivery charge.
Response

Rated dimension rows

FieldTypeDetails
length-1IntegerLength submitted for row 1.
width-1IntegerWidth submitted for row 1.
height-1IntegerHeight submitted for row 1.
cubic-weight-1IntegerCubic weight calculated for row 1.
Rated dimension rows 2 to 10
FieldTypeDetails
length-2IntegerLength submitted for row 2. Absent when dimension row 2 was not submitted.
width-2IntegerWidth submitted for row 2. Absent when dimension row 2 was not submitted.
height-2IntegerHeight submitted for row 2. Absent when dimension row 2 was not submitted.
cubic-weight-2IntegerCubic weight calculated for row 2. Absent when dimension row 2 was not submitted.
FieldTypeDetails
length-3IntegerLength submitted for row 3. Absent when dimension row 3 was not submitted.
width-3IntegerWidth submitted for row 3. Absent when dimension row 3 was not submitted.
height-3IntegerHeight submitted for row 3. Absent when dimension row 3 was not submitted.
cubic-weight-3IntegerCubic weight calculated for row 3. Absent when dimension row 3 was not submitted.
FieldTypeDetails
length-4IntegerLength submitted for row 4. Absent when dimension row 4 was not submitted.
width-4IntegerWidth submitted for row 4. Absent when dimension row 4 was not submitted.
height-4IntegerHeight submitted for row 4. Absent when dimension row 4 was not submitted.
cubic-weight-4IntegerCubic weight calculated for row 4. Absent when dimension row 4 was not submitted.
FieldTypeDetails
length-5IntegerLength submitted for row 5. Absent when dimension row 5 was not submitted.
width-5IntegerWidth submitted for row 5. Absent when dimension row 5 was not submitted.
height-5IntegerHeight submitted for row 5. Absent when dimension row 5 was not submitted.
cubic-weight-5IntegerCubic weight calculated for row 5. Absent when dimension row 5 was not submitted.
FieldTypeDetails
length-6IntegerLength submitted for row 6. Absent when dimension row 6 was not submitted.
width-6IntegerWidth submitted for row 6. Absent when dimension row 6 was not submitted.
height-6IntegerHeight submitted for row 6. Absent when dimension row 6 was not submitted.
cubic-weight-6IntegerCubic weight calculated for row 6. Absent when dimension row 6 was not submitted.
FieldTypeDetails
length-7IntegerLength submitted for row 7. Absent when dimension row 7 was not submitted.
width-7IntegerWidth submitted for row 7. Absent when dimension row 7 was not submitted.
height-7IntegerHeight submitted for row 7. Absent when dimension row 7 was not submitted.
cubic-weight-7IntegerCubic weight calculated for row 7. Absent when dimension row 7 was not submitted.
FieldTypeDetails
length-8IntegerLength submitted for row 8. Absent when dimension row 8 was not submitted.
width-8IntegerWidth submitted for row 8. Absent when dimension row 8 was not submitted.
height-8IntegerHeight submitted for row 8. Absent when dimension row 8 was not submitted.
cubic-weight-8IntegerCubic weight calculated for row 8. Absent when dimension row 8 was not submitted.
FieldTypeDetails
length-9IntegerLength submitted for row 9. Absent when dimension row 9 was not submitted.
width-9IntegerWidth submitted for row 9. Absent when dimension row 9 was not submitted.
height-9IntegerHeight submitted for row 9. Absent when dimension row 9 was not submitted.
cubic-weight-9IntegerCubic weight calculated for row 9. Absent when dimension row 9 was not submitted.
FieldTypeDetails
length-10IntegerLength submitted for row 10. Absent when dimension row 10 was not submitted.
width-10IntegerWidth submitted for row 10. Absent when dimension row 10 was not submitted.
height-10IntegerHeight submitted for row 10. Absent when dimension row 10 was not submitted.
cubic-weight-10IntegerCubic weight calculated for row 10. Absent when dimension row 10 was not submitted.
Response

Lane and basing points

FieldTypeDetails
shipper-cityStringOrigin city, echoed from your request — not the point the rate was based on.
shipper-provStringOrigin province, echoed from your request.
consignee-cityStringDestination city, echoed from your request.
consignee-provStringDestination province, echoed from your request.
basing-shipper-cityStringThe point the rate was actually based from. Station cities collapse to their basing point, so this often differs from shipper-city.
basing-shipper-provStringProvince of the origin basing point.
basing-consignee-cityStringThe destination point the rate was based on.
basing-consignee-provStringProvince of the destination basing point.
Response

Terminals and bill-to

FieldTypeDetails
shipper-terminal-cityStringTerminal that will handle the origin.
shipper-terminal-provStringProvince of the origin terminal. Returned in the carrier's internal form, so Quebec appears as PQ and Newfoundland as NF.
shipper-terminal-phoneStringPhone number for the origin terminal.
consignee-terminal-cityStringTerminal that will handle the destination.
consignee-terminal-provStringProvince of the destination terminal, in the carrier's internal form.
consignee-terminal-phoneStringPhone number for the destination terminal.
customer-nameStringBill-to company name.
customer-addressStringBill-to address, line 1.
customer-address-2StringBill-to address, line 2. Absent when the account has only one address line.
customer-cityStringBill-to city.
customer-provStringBill-to province.
customer-postal-codeStringBill-to postal code.
Response

Conditional fields

These appear only in specific circumstances. Both accompany a successful quote — neither is an error.

FieldTypeDetails
general-tariffStringY when the lane was rated off the general tariff rather than your own, N when it came from your tariff. Absent when the carrier system has no value. Treat Y as a spot quote — see reading general-tariff.
carbon-feesObjectProvincial carbon charges. Present only when carbon applies to the lane. See carbon fees.
RESPONSE

Reading general-tariff

A lane that is not in your own tariff is still rated — we fall back to the general tariff and return a quote you can book. general-tariff tells you which happened:

ValueMeaning
NRated from your own tariff.
YRated from the general tariff. Treat it as a spot quote for convenience only.
absentThe carrier system returned no value. Do not infer either case.

The API returns the flag and no more. Any wording your customers see — a “spot quote” label, a caveat on a rate sheet — is yours to write, and yours to keep consistent with your own commercial terms.

Response

Carbon fees

Present only when carbon charges apply to the lane. Provinces with no charge are left out entirely, so read the keys rather than expecting all thirteen.

FieldTypeDetails
quote-numberStringThe same prefixed quote number as the parent object.
carbon-charge-totalDecimalTotal carbon charge. Already added into the shipment total, so do not add it again when reconciling.
carbon-charge-<prov>DecimalPer-province carbon charge, for each province the shipment moves through: carbon-charge-ab, -bc, -mb, -nb, -nl, -ns, -nt, -nu, -on, -pe, -pq, -sk, -yt. Provinces with no charge are omitted.
The carbon total is already in the shipment total

carbon-charge-total has been added into the shipment total before the response is sent. Add it again and you will over-bill. Conversely, if you reconcile by summing the itemised charge fields, you will be short by exactly the carbon total — add it back for that check.

Response

Example

{
  "quote-number": "AC1234567",
  "customer-code": "ABC1234",
  "rate": 18.42,
  "cost-per-weight": 156.57,
  "quoted-weight": 850,
  "customer-input-weight": 850,
  "deficit-weight": 0,
  "cubic-weight": 267,
  "length-1": 48,
  "width-1": 40,
  "height-1": 60,
  "cubic-weight-1": 267,
  "fuel-surcharge": 31.31,
  "gst-pst": 24.42,
  "total-charge": 297.30,
  "tariff-code": "TARIFF_CODE",
  "density": 3.18,
  "tailgate-delivery-amount": 75.00,
  "shipper-city": "TORONTO",
  "shipper-prov": "ON",
  "consignee-city": "MONTREAL",
  "consignee-prov": "QC",
  "commodity": "PALLETIZED HARDWARE",
  "quote-date": "2026-08-24",
  "shipper-terminal-city": "TORONTO",
  "shipper-terminal-prov": "ON",
  "shipper-terminal-phone": "905-738-2106",
  "consignee-terminal-city": "MONTREAL",
  "consignee-terminal-prov": "PQ",
  "consignee-terminal-phone": "514-333-1400",
  "customer-name": "ACME DISTRIBUTION",
  "customer-address": "12345 MAIN ST",
  "customer-city": "TORONTO",
  "customer-prov": "ON",
  "customer-postal-code": "M4B1B3",
  "carbon-fees": {
    "quote-number": "AC1234567",
    "carbon-charge-on": 6.40,
    "carbon-charge-pq": 4.60,
    "carbon-charge-total": 11.00
  },
  "general-tariff": "N",
  "basing-shipper-city": "TORONTO",
  "basing-shipper-prov": "ON",
  "basing-consignee-city": "MONTREAL",
  "basing-consignee-prov": "QC"
}
Response

Unquotable shipments

Your request was valid but the shipment could not be rated — or a city or province could not be quoted, which is checked before the other fields. The HTTP status is 200 and the body replaces the quote entirely. Branch on code and retryable rather than matching the message text.

{
  "error": true,
  "message": "Pricing for lanes not in your tariff. Please call our Pricing Department at (905)738-2106 in the Greater Toronto Area or (800)387-3702",
  "code": "NEEDS_PRICING_DESK",
  "retryable": false
}
MessagecodeWhat it means
The customer does not exist for APEXCUSTOMER_NOT_FOUNDYour customer-code is not set up for this carrier. The carrier name in the message reflects the code in your path — APEX or WCE.
Pricing for lanes not in your tariff.NEEDS_PRICING_DESKThe lane is not in your tariff, or we do not quote it automatically — every quote is checked against your tariff and our lanes before it is rated. It is also the answer for a city or province that is missing, invalid, or one we cannot place. Call the pricing department for a spot quote.
Pricing for accounts with cube exception.NEEDS_PRICING_DESKThe account has a cube exception that has to be rated by hand.
Pricing on rated weight of 15,000 lbs and more.NEEDS_PRICING_DESKThe rated weight reached the 15,000 lb ceiling.
Excess Value must be approved.NEEDS_PRICING_DESKThe declared value needs approval before the shipment can be rated.
Oversized shipment linear rates to apply, call for spot quote.NEEDS_PRICING_DESKLinear rates apply; the shipment needs a spot quote.
We are unable to provide a quote at this time.UNKNOWNThe rating engine returned a code this service does not recognise. The code is recorded on our side; worth reporting.
We are unable to provide a quote at this time.SYSTEMThe quote could not be completed on our side: the carrier rating system did not answer or failed, or a quote number came back with no rate behind it. The cause is recorded on our side. Retryable.
Your quote could not be completed. Please try again later.SYSTEMThe lane check that runs before every quote could not be completed, so nothing was rated or stored. Retryable.

See soft error codes for the full set of code values and which of them are worth retrying.

Response

Validation errors

Request-level failures return 400 with status and message at the top level, alongside a legacy error object that is scheduled for removal. The message names the field and the rule it broke, and includes the value you sent.

{
  "status": 400,
  "message": "Bad Request. Not a valid shipment-type. Choose one of :[OP,IC]. Supplied (XX)",
  "error": {
    "message": "Bad Request. Not a valid shipment-type. Choose one of :[OP,IC]. Supplied (XX)",
    "data": []
  }
}
One failure at a time

Validation stops at the first failure, so a request with several problems reports only the first: a text field sent as an object, an array or true, then account, then the shipper and consignee city and province (answered as a NEEDS_PRICING_DESK soft error, not a 400), then weight, then dimensions, then commodity, then shipment-type, then declared value. Expect to iterate rather than getting a complete list.

Pricing API

Pricing API — CCT

Rate an LTL shipment for CCT Canada. The same dimension-driven shape as Apex and WCE, with a service level instead of a shipment type and a much larger set of ancillary charges.

POSThttps://api.rewc.com:8184/api/<COMPANY_CODE>/ratequote/customer
Carriers
cct
Parameters in
Request body
Returns
Bare JSON object
Soft errors
At HTTP 200
Close to the Apex/WCE rating engine, but not identical

If you already integrate Apex or WCE, five things change for CCT: service-type replaces shipment-type; value-amount replaces excess-amount; total-charges is plural; the height cap drops from 102 to 96 inches; and the accessorial vocabulary is different — require-weekend-* instead of require-saturday-* and require-sunday-*, require-residential-* instead of require-home-*. Only eight accessorial names are shared.

Request

Account and lane

NameTypeUseDetails
customer-codeStringRequiredYour customer code. Must match the account in your x-customer-code header. Up to 7 characters.
shipper-cityStringRequiredOrigin city. Maximum 20 characters. Uppercased before rating. A missing or longer city is answered as a NEEDS_PRICING_DESK soft error, not a 400.
shipper-provStringRequiredOrigin province. See accepted provinces.
consignee-cityStringRequiredDestination city. Maximum 20 characters. Uppercased before rating. A missing or longer city is answered as a NEEDS_PRICING_DESK soft error, not a 400.
consignee-provStringRequiredDestination province. See accepted provinces.
Request

Service level

NameTypeUseDetails
service-typeStringRequiredService level: Regular, Intermodal or Expedited. Matched case-insensitively.
ValueService
RegularStandard LTL service.
IntermodalRail-assisted movement.
ExpeditedTime-sensitive service.
Request

Freight

NameTypeUseDetails
weightIntegerRequiredTotal shipment weight, as a number. Must be greater than zero, and below the cap for the unit you use — see weight limits. Thousands separators are accepted: "1,500" is read as 1500.
weight-typeStringRequiredUnit for weight: LBS or KGS.
commodityStringRequiredDescription of the goods. Maximum 50 characters, single line.
Provinces and weight limits are the same as Apex/WCE

CCT accepts the same province codes and the same request weight limits. What differs is the rating ceiling: CCT refuses at a rated weight of 6,000 lb, well below the 15,000 lb request limit, so a request that validates cleanly can still come back unquotable.

Request

Dimension rows

Up to ten rows of piece dimensions. Row 1 is required. Rows 2 to 10 are all-or-nothing: send all three values for a row or leave the row out entirely. The height cap is 96 inches — six inches lower than Apex and WCE.

NameTypeUseDetails
length-1IntegerRequiredLength of one piece, in inches. Whole numbers only, maximum 119.
width-1IntegerRequiredWidth of one piece, in inches. Whole numbers only, maximum 96.
height-1IntegerRequiredHeight of one piece, in inches. Whole numbers only, maximum 96.
Dimension rows 2 to 10 — identical fields, suffix 2 to 10
NameTypeUseDetails
length-2IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-2IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-2IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-3IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-3IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-3IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-4IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-4IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-4IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-5IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-5IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-5IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-6IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-6IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-6IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-7IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-7IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-7IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-8IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-8IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-8IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-9IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-9IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-9IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
NameTypeUseDetails
length-10IntegerConditionalLength of one piece, in inches. Whole numbers only, maximum 119. Required when you submit this dimension row.
width-10IntegerConditionalWidth of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
height-10IntegerConditionalHeight of one piece, in inches. Whole numbers only, maximum 96. Required when you submit this dimension row.
Request

Declared value

NameTypeUseDetails
value-amountDecimalOptionalDeclared value of the shipment, as a dollar amount. Rejected above $100,000 or above $10.00 per pound of weight; a weight in kilograms is converted to pounds first. Thousands separators are accepted; any other value that is not a dollar amount of zero or more is rejected.
Request

Accessorials

All optional. Send the number 1 to request the service; omit the key otherwise. Each -rural service is rated and itemised separately from its urban counterpart.

NameMeaning
require-tailgate-pickupTailgate required at pickup.
require-tailgate-deliveryTailgate required at delivery.
require-inside-pickupPickup is inside the building.
require-inside-deliveryDelivery is inside the building.
require-residential-pickupPickup is at a private residence in an urban area.
require-residential-deliveryDelivery is to a private residence in an urban area. Also turns on appointment delivery — see the note below.
require-residential-pickup-ruralPickup is at a private residence in a rural area.
require-residential-delivery-ruralDelivery is to a private residence in a rural area. Unlike require-residential-delivery, it does not turn on appointment delivery.
require-appointment-pickupPickup requires an appointment.
require-appointment-deliveryDelivery requires an appointment.
require-prebooked-appointmentThe delivery appointment is pre-booked.
require-weekend-pickupWeekend pickup.
require-weekend-deliveryWeekend delivery.
require-after-hours-deliveryDelivery outside normal hours.
require-heatHeated service required.
require-dangerous-goodsShipment contains dangerous goods.
require-limited-accessPickup or delivery is at a limited-access location in an urban area.
require-limited-access-ruralPickup or delivery is at a limited-access location in a rural area.
Residential delivery quietly adds an appointment

Sending require-residential-delivery turns appointment delivery on at the rating engine as well. If you did not also send require-appointment-delivery, the appointment charge is included in total-charges but appointment-delivery-amount is left out of the response — so the itemised charges will not sum to the total.

Send require-appointment-delivery: 1 alongside it whenever you request a residential delivery, and the charge will be itemised.

Request

Examples

curl -X POST 'https://api.rewc.com:8184/api/cct/ratequote/customer' \
  -H 'x-client-id: YOUR_CLIENT_ID' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'x-customer-code: ABC1234' \
  -H 'Content-Type: application/json' \
  -d @quote.json
Response

Shape

A bare object, aggressively pruned

The response is a single JSON object — no envelope, no array. CCT prunes harder than the other two contracts: an accessorial charge is removed when you did not request the accessorial, and an ancillary charge when its amount is zero. An accessorial you did request comes back even when its charge is 0. Read with optional access throughout.

Response

Quote and tariff

FieldTypeDetails
quote-numberStringQuote number to reference when booking. Prefixed CC, so it is a string such as CC1234567, never an integer.
customer-codeStringCustomer code the quote was rated for.
quote-dateStringDate the quote was rated, YYYY-MM-DD.
tariff-codeStringTariff used to rate the quote.
commodityStringCommodity description, echoed from your request.
service-typeStringService level, normalised and uppercased: REGULAR, INTERMODAL or EXPEDITED.
Response

Weights and rating

FieldTypeDetails
rateDecimalRate applied to the shipment.
cost-per-weightDecimalBase freight charge before fuel and accessorials.
quoted-weightIntegerWeight the tariff was applied to.
customer-input-weightIntegerWeight as you submitted it.
deficit-weightIntegerDeficit weight applied to reach a rate break, if any.
deficit-weigh-costDecimalCharge arising from the deficit weight. The field name is spelled deficit-weigh-cost.
cubic-weightIntegerTotal cubic weight across all dimension rows.
densityDecimalDensity used for rating.
Response

Charges

FieldTypeDetails
total-chargesDecimalTotal charge for the shipment. Note the plural — Apex and WCE return total-charge. Includes carbon fees, so the itemised fields will not sum to it unless you add carbon-charge-total back in.
fuel-surchargeDecimalFuel surcharge.
excess-amountDecimalThe charge for the declared value, not the value itself. The opposite of the Apex/WCE meaning.
value-amountDecimalThe declared value you sent, echoed back.
Declared value fields mean the opposite of Apex and WCE

For CCT, value-amount is the value you declared and excess-amount is the charge for it. For Apex and WCE it is the other way round — excess-amount is the value and excess is the charge. If you consume both, map them explicitly rather than by name.

Response

Accessorial charges

Each field appears when you requested the matching accessorial, even when the charge is 0.

FieldTypeDetails
tailgate-pickup-amountDecimalTailgate pickup charge.
lift-gate-delivery-amountDecimalTailgate delivery charge. Note the name: pickup is tailgate-, delivery is lift-gate-.
inside-pickup-amountDecimalInside pickup charge.
inside-delivery-amountDecimalInside delivery charge.
residential-pickup-amountDecimalResidential pickup charge.
residential-delivery-amountDecimalResidential delivery charge.
residential-pickup-rural-amountDecimalRural residential pickup charge.
residential-delivery-rural-amountDecimalRural residential delivery charge.
appointment-pickup-amountDecimalAppointment pickup charge.
appointment-delivery-amountDecimalAppointment delivery charge.
prebooked-appointment-amountDecimalPre-booked appointment charge.
weekend-pickup-amountDecimalWeekend pickup charge.
weekend-delivery-amountDecimalWeekend delivery charge.
after-hours-delivery-amountDecimalAfter-hours delivery charge.
heat-amountDecimalHeated service charge.
dangerous-goods-amountDecimalDangerous goods charge.
limited-access-delivery-amountDecimalLimited-access charge. Apex and WCE call this limited-access-amount.
limited-access-delivery-rural-amountDecimalRural limited-access charge, for require-limited-access-rural.
Response

Ancillary charges

Charges we can add without a corresponding request flag. Each appears only when it is non-zero, so most quotes carry none of them.

Ancillary charge fields (28)
FieldTypeDetails
admin-amountDecimalAdministration fee.
linehaul-surcharge-amountDecimalLinehaul surcharge.
newfoundland-amountDecimalNewfoundland service charge.
wholesale-amountDecimalWholesale adjustment.
pickup-chargeDecimalPickup charge.
drop-feeDecimalTrailer drop fee.
direct-driveDecimalDirect drive charge.
cross-dock-chargeDecimalCross-dock charge.
same-day-chargeDecimalSame-day service charge.
site-delivery-chargeDecimalJob-site delivery charge.
storage-chargeDecimalStorage charge.
disposal-chargeDecimalDisposal charge.
delivery-detentionDecimalDetention at delivery.
pickup-detentionDecimalDetention at pickup.
re-delivery-chargeDecimalRe-delivery charge.
redirect-chargeDecimalRedirect charge.
bol-change-chargeDecimalBill of lading change charge.
plaque-card-feeDecimalPlacard fee.
swamper-lumper-feeDecimalSwamper / lumper fee.
two-man-pick-upDecimalTwo-person pickup charge.
two-man-deliveryDecimalTwo-person delivery charge.
trade-show-pickup-chargeDecimalTrade show pickup charge.
trade-show-delivery-amountDecimalTrade show delivery charge.
after-hours-pickup-5-7amDecimalPickup between 5am and 7am.
after-hours-pickup-6pm-5amDecimalPickup between 6pm and 5am.
after-hours-delivery-6pm-5amDecimalDelivery between 6pm and 5am.
After-hours-pu/chargeDecimalAdditional after-hours pickup charge. The field name is exactly as shown — capital A and a literal slash.
cod-amountDecimalCOD amount. Always zero; COD is not rated through this endpoint.
Response

Rated dimension rows

FieldTypeDetails
length-1IntegerLength submitted for row 1.
width-1IntegerWidth submitted for row 1.
height-1IntegerHeight submitted for row 1.
cubic-weight-1IntegerCubic weight calculated for row 1.
Rated dimension rows 2 to 10
FieldTypeDetails
length-2IntegerLength submitted for row 2. Absent when dimension row 2 was not submitted.
width-2IntegerWidth submitted for row 2. Absent when dimension row 2 was not submitted.
height-2IntegerHeight submitted for row 2. Absent when dimension row 2 was not submitted.
cubic-weight-2IntegerCubic weight calculated for row 2. Absent when dimension row 2 was not submitted.
FieldTypeDetails
length-3IntegerLength submitted for row 3. Absent when dimension row 3 was not submitted.
width-3IntegerWidth submitted for row 3. Absent when dimension row 3 was not submitted.
height-3IntegerHeight submitted for row 3. Absent when dimension row 3 was not submitted.
cubic-weight-3IntegerCubic weight calculated for row 3. Absent when dimension row 3 was not submitted.
FieldTypeDetails
length-4IntegerLength submitted for row 4. Absent when dimension row 4 was not submitted.
width-4IntegerWidth submitted for row 4. Absent when dimension row 4 was not submitted.
height-4IntegerHeight submitted for row 4. Absent when dimension row 4 was not submitted.
cubic-weight-4IntegerCubic weight calculated for row 4. Absent when dimension row 4 was not submitted.
FieldTypeDetails
length-5IntegerLength submitted for row 5. Absent when dimension row 5 was not submitted.
width-5IntegerWidth submitted for row 5. Absent when dimension row 5 was not submitted.
height-5IntegerHeight submitted for row 5. Absent when dimension row 5 was not submitted.
cubic-weight-5IntegerCubic weight calculated for row 5. Absent when dimension row 5 was not submitted.
FieldTypeDetails
length-6IntegerLength submitted for row 6. Absent when dimension row 6 was not submitted.
width-6IntegerWidth submitted for row 6. Absent when dimension row 6 was not submitted.
height-6IntegerHeight submitted for row 6. Absent when dimension row 6 was not submitted.
cubic-weight-6IntegerCubic weight calculated for row 6. Absent when dimension row 6 was not submitted.
FieldTypeDetails
length-7IntegerLength submitted for row 7. Absent when dimension row 7 was not submitted.
width-7IntegerWidth submitted for row 7. Absent when dimension row 7 was not submitted.
height-7IntegerHeight submitted for row 7. Absent when dimension row 7 was not submitted.
cubic-weight-7IntegerCubic weight calculated for row 7. Absent when dimension row 7 was not submitted.
FieldTypeDetails
length-8IntegerLength submitted for row 8. Absent when dimension row 8 was not submitted.
width-8IntegerWidth submitted for row 8. Absent when dimension row 8 was not submitted.
height-8IntegerHeight submitted for row 8. Absent when dimension row 8 was not submitted.
cubic-weight-8IntegerCubic weight calculated for row 8. Absent when dimension row 8 was not submitted.
FieldTypeDetails
length-9IntegerLength submitted for row 9. Absent when dimension row 9 was not submitted.
width-9IntegerWidth submitted for row 9. Absent when dimension row 9 was not submitted.
height-9IntegerHeight submitted for row 9. Absent when dimension row 9 was not submitted.
cubic-weight-9IntegerCubic weight calculated for row 9. Absent when dimension row 9 was not submitted.
FieldTypeDetails
length-10IntegerLength submitted for row 10. Absent when dimension row 10 was not submitted.
width-10IntegerWidth submitted for row 10. Absent when dimension row 10 was not submitted.
height-10IntegerHeight submitted for row 10. Absent when dimension row 10 was not submitted.
cubic-weight-10IntegerCubic weight calculated for row 10. Absent when dimension row 10 was not submitted.
Response

Lane and basing points

FieldTypeDetails
shipper-cityStringOrigin city, echoed from your request — not the point the rate was based on.
shipper-provStringOrigin province, echoed from your request.
consignee-cityStringDestination city, echoed from your request.
consignee-provStringDestination province, echoed from your request.
basing-shipper-cityStringThe point the rate was actually based from. Station cities collapse to their basing point, so this often differs from shipper-city.
basing-shipper-provStringProvince of the origin basing point.
basing-consignee-cityStringThe destination point the rate was based on.
basing-consignee-provStringProvince of the destination basing point.
Response

Terminals and bill-to

FieldTypeDetails
shipper-terminal-cityStringTerminal that will handle the origin.
shipper-terminal-provStringProvince of the origin terminal. Returned in the carrier's internal form, so Quebec appears as PQ and Newfoundland as NF.
shipper-terminal-phoneStringPhone number for the origin terminal.
consignee-terminal-cityStringTerminal that will handle the destination.
consignee-terminal-provStringProvince of the destination terminal, in the carrier's internal form.
consignee-terminal-phoneStringPhone number for the destination terminal.
customer-nameStringBill-to company name.
customer-addressStringBill-to address, line 1.
customer-address-2StringBill-to address, line 2. Absent when the account has only one address line.
customer-cityStringBill-to city.
customer-provStringBill-to province.
customer-postal-codeStringBill-to postal code.
customer-postal-code-extraStringPostal code extension. Apex and WCE call this customer-postal-code-4.
Response

Conditional fields

FieldTypeDetails
general-tariffStringY when the lane was rated off the general tariff rather than your own. Whether CCT populates this field depends on the carrier system, so treat it as optional and absent by default. See reading general-tariff.
carbon-feesObjectProvincial carbon charges. Present only when carbon applies to the lane. See carbon fees.

An out-of-tariff lane on CCT usually comes back as an unquotable shipment rather than a quote flagged general-tariff: "Y". Handle both.

carbon-fees works exactly as it does for Apex and WCE, including the total already being folded into the shipment total — see carbon fees. The one difference is the field it is added to: CCT uses total-charges, plural.

Response

Unquotable shipments

Your request was valid but the shipment could not be rated — or a city or province could not be quoted, which is checked before the other fields. The HTTP status is 200. Branch on code and retryable rather than matching the message text.

{
  "error": true,
  "message": "Pricing on rated weight of 6,000 lbs and more. Please call our Pricing Department at (905)362-9198 or email us at rates@cctcanada.com.",
  "code": "NEEDS_PRICING_DESK",
  "retryable": false
}
MessagecodeWhat it means
The customer does not exist for CCTCUSTOMER_NOT_FOUNDYour customer-code is not set up for CCT.
Pricing for lanes not in your tariff.NEEDS_PRICING_DESKThe lane is not in your tariff, or we do not quote it automatically — every quote is checked against your tariff and our lanes before it is rated. It is also the answer for a city or province that is missing, invalid, or one we cannot place. Call the pricing department for a spot quote.
Pricing on cube greater than 600 cubic feet.NEEDS_PRICING_DESKThe shipment exceeds 600 cubic feet and has to be rated by hand.
Pricing on rated weight of 6,000 lbs and more.NEEDS_PRICING_DESKThe rated weight reached CCT's 6,000 lb ceiling — lower than the 15,000 lb request limit, so a request that validates can still land here.
Excess Value must be approved.NEEDS_PRICING_DESKThe declared value needs approval before the shipment can be rated.
Invalid accessorial code.INVALID_ACCESSORIALOne of the accessorials you requested is not valid for this lane or service level.
We are unable to provide a quote at this time.UNKNOWNThe rating engine returned a code this service does not recognise. The code is recorded on our side; worth reporting.
We are unable to provide a quote at this time.SYSTEMThe quote could not be completed on our side: the carrier rating system did not answer or failed, or a quote number came back with no rate behind it. The cause is recorded on our side. Retryable.
Your quote could not be completed. Please try again later.SYSTEMThe lane check that runs before every quote could not be completed, so nothing was rated or stored. Retryable.

See soft error codes for the full set of code values and which of them are worth retrying.

Both contracts

What to watch for

Seven behaviours that catch most first integrations on these two contracts.

BehaviourWhat it means for you
Accessorial flags must equal 1Only a value equal to the number 1 — 1, "1" or true — turns an accessorial on. "yes", "on" and 2 all rate as off, silently, and the quote comes back looking correct.
Never send "0" as a stringA string "0" does not apply the accessorial to the rate, but it does keep the matching charge field in the response — so you get an itemised charge that is not in the total. Send numbers, or omit the key.
Dimensions must be JSON integers48 is accepted; "48" and 48.5 are both rejected with a 400. This applies to every row, including unused ones, so omit them rather than sending "0". Send these quotes as JSON: a form-encoded body sends every dimension as text and always fails.
Numbers may carry thousands separatorsA weight of "1,500" is read as 1500 and a declared value of "1,500.00" as 1500.00, and both are held to their caps. Anything else that is not a number — "$1500", "1500 lbs" — is rejected with a 400.
Text fields take textA field such as shipper-city or commodity can be sent as a string or a number. An object, an array or true is rejected with a 400 naming the field, before any other check.
Response cities are your input, echoedshipper-city and consignee-city are what you sent. The point the rate was actually based on is in the basing- fields, and it legitimately differs — station cities collapse to their basing point.
Every call creates a stored quoteRequests are not idempotent. A retry produces a second quote number, not the same one. Store the quote number from the first successful response rather than re-requesting.
Reference

Errors and status codes

Five response shapes and nine status codes. The shape depends on which layer caught the problem, so a client that assumes one envelope on every failure will break.

Read the status code before you parse the body

Most failures now share one JSON envelope — status and message. Two things still break a client that assumes it everywhere: the API's own checks — credentials, permissions, unreadable request bodies and server errors — answer with a single error key instead, and an unratable shipment is reported at HTTP 200. Branch on the status code and the Content-Type header first, then parse.

Shapes

Response envelopes

Status envelope

Used by probill/lookup, probill/search and images

{
  "status": 400,
  "message": "Unable to look up probill, incorrect parameters."
}

The HTTP status always equals the status field. The data key is absent on failure rather than null — and also absent on success when there is nothing to return, so do not treat a missing data as an error.

Status envelope with legacy error object

Used by ratequote/customer, all three rating engines

{
  "status": 400,
  "message": "Bad Request. No valid payment option. Choose one of :[PPD,COL,3P]. Supplied (XX)",
  "error": {
    "message": "Bad Request. No valid payment option. Choose one of :[PPD,COL,3P]. Supplied (XX)",
    "data": []
  }
}

Read status and message. The nested error object duplicates the message and exists only so older integrations keep working — it is scheduled for removal. The message is prefixed by category; see the status codes table.

Soft error, HTTP 200

Used by ratequote/customer

// Overland West and Comox -- a bare object, message in both fields
{
  "error": "Your quote could not be automatically completed. Please call 604-580-4600 ext 9706 to acquire a rate.",
  "message": "Your quote could not be automatically completed. Please call 604-580-4600 ext 9706 to acquire a rate.",
  "code": "NEEDS_PRICING_DESK",
  "retryable": false
}

// Apex, WCE and CCT -- a bare object, and "error" is a boolean
{
  "error": true,
  "message": "Pricing for lanes not in your tariff. ...",
  "code": "NEEDS_PRICING_DESK",
  "retryable": false
}

Your request was valid; the shipment simply could not be rated automatically. Check for an error key on every 200 from the rate quote. Both are a single object — a soft error is never wrapped in an array, even on Overland/Comox where a successful quote is. The only remaining difference is error itself: it holds the message on Overland/Comox and true on Apex/WCE/CCT. message, code and retryable are identical across all five carriers — read those three and the difference stops mattering. See soft error codes.

Gateway error

Used by authentication and permission failures, unreadable request bodies, unknown paths and every server error

{
  "error": "Unauthorized."
}

Answered by the API itself, ahead of any endpoint: a missing or rejected credential (400, 401), an x-customer-code you are not entitled to (400), a request body that is not valid JSON or is too large (400, 413), a path outside /api/<COMPANY_CODE>/ (404), and every 500, whose body is always {"error": "Internal server error."}. There is no status key — read the HTTP status. See authentication failures.

Scheduled maintenance

Used by All endpoints, during the carrier's nightly window

{
  "status": 503,
  "code": "offline",
  "message": "Service unavailable during scheduled window"
}

Returned before your request reaches an endpoint, so it says nothing about the request itself. status carries the numeric HTTP status like every other response; the machine-readable marker is in code. See scheduled maintenance.

Codes

Status codes

CodeMeaningWhat to do
200Success — or a rate quote soft errorFor every endpoint except the rate quote, a 200 means what you expect. On the rate quote, inspect the body for an error key, then read code and retryable. An unexpected 200 with the body {} on probill/search means customer-code was omitted entirely; check also that your parameter names are lowercase. The rate quote no longer answers with an empty body — a carrier with no rating engine is a 501.
400Bad requestA parameter is missing, malformed, or fails a length or character rule. Also the not-found case for shipment lookup and search, which return Status not available for this customer number. rather than a 404. The API's own checks answer some 400s too, with a single error key: a missing credential header, an x-customer-code your credential is not entitled to, or a request body that is not valid JSON ({"error": "Bad Request. The request body is not valid JSON."}) — see authentication failures. Not retryable without changing the request.
401UnauthorizedBad client ID or key, or a credential not permitted this endpoint, HTTP method or carrier — which includes a carrier code that is not one of the five, a misspelt path and the wrong method, because the permission check runs first. The body is {"error": "Unauthorized."}. Not retryable. A customer-code that does not match your x-customer-code header is a 400, not a 401 — it is your parameter, so it is reported as a user error.
404Not foundA path outside /api/<COMPANY_CODE>/, answered with {"error": "Not found."}. Inside it, an unknown carrier code, path or method is a 401. Note that a missing shipment is a 400, not a 404.
413Request body too largeThe request body is over the size limit, answered with {"error": "Payload Too Large."}. A body in a character set or content encoding the API does not accept is answered the same way, with a 415 and {"error": "Unsupported Media Type."}. Not retryable without changing the request.
500Server errorThe carrier system did not answer, or not within 180 seconds — that limit applies to every endpoint. The body is always {"error": "Internal server error."} — the cause is not passed on. Retryable with exponential backoff. On the rate quote a carrier system that fails is a SYSTEM soft error instead, so a 500 there means an unusable x-customer-code — or, if it arrived after 180 seconds, a quote the API stopped waiting for, which is retryable (usually nothing was saved; if it was, the retry gives a second quote number). The unusable header is the exception everywhere: it is a 500 because the fault is not the caller's to correct, but retrying will not help — check the header, and report it if it looks right. A stored document that cannot be rendered is not a 500 — it reads as not-found.
501No rating engine for this carrierOn rate quote only: the carrier code in the path cannot rate. All five documented carrier codes can, so this means the path carries a code that is valid for other endpoints but not for rating. Not retryable — correct the path.
503Scheduled maintenanceThe carrier's nightly maintenance window is in progress. Retryable once the window closes; see scheduled maintenance.
Codes

Soft error codes

Rate quote responses that could not produce a quote carry a stable code and a retryable boolean alongside the human-readable message. Branch on these, not on the message text — the wording differs per carrier, carries phone numbers and email addresses, and is subject to change. The codes are the same across all five carriers.

codeRetryableMeaning
CUSTOMER_NOT_FOUNDNoThe customer code is not set up with this carrier.
INVALID_ORIGINNoNo longer sent. A city and province the rating engine cannot place at the origin is now answered as a lane not in your tariff, with NEEDS_PRICING_DESK.
INVALID_DESTINATIONNoNo longer sent. Same, for the destination.
INVALID_ACCESSORIALNoAn accessorial is not valid for this lane or service level. CCT only.
NEEDS_PRICING_DESKNoThe shipment needs a person to rate it — an out-of-tariff lane or one we do not quote automatically, a city or province that is missing, invalid or cannot be placed, an oversized or overweight load, an excess value needing approval. The message carries the pricing department's contact details.
VALIDATIONNoNo longer sent. Overland/Comox used it when the rating program gave no rate; that is now SYSTEM, since the generic message gives you nothing to correct.
NOT_SAVEDYesThe rate was calculated but could not be stored, so there is no quote number to book against.
SYSTEMYesThe quote could not be completed on our side: the carrier rating system or the lane check did not answer, the rating program gave no rate, a lookup failed, or a quote number came back with no rate behind it. The message is the carrier's generic one, or for the lane check Your quote could not be completed. Please try again later.
UNKNOWNNoThe rating engine returned a code this service does not recognise. Apex/WCE and CCT only. The message is the carrier's generic one; the code is recorded on our side. Report it if you see it.
The generic message

When a quote fails for a reason that is ours to deal with rather than yours — a carrier system that did not answer, a code or reason from the rating engine that is not worded for customers — the message is the carrier's generic one: We are unable to provide a quote at this time. followed by its pricing department's contact details. The real cause is recorded on our side; see reporting a problem for what to include when you report one.

Only two of these are worth retrying

NOT_SAVED and SYSTEM are transient — the rate was calculable but something downstream failed. Everything else needs either a corrected request or a person at the pricing desk, and retrying will return the same answer.

Retry those two carefully: every rate quote call stores a quote, so a retry loop against a persistent failure leaves a trail of duplicate quote numbers behind it. Retry once or twice with backoff, then surface it.

Practice

A retry policy that works

SituationHandling
500, 503, connection errorRetry with exponential backoff and jitter. Cap at a few attempts and alert rather than looping.
400, 401, 404, 413, 415, 501Do not retry. The request or the credential has to change.
Rate quote soft errorRetry only when retryable is true — that is, NOT_SAVED or SYSTEM. See soft error codes.
Rate quote timeoutRetry once, then stop. Every call creates a stored quote, so repeated retries leave duplicate quote numbers behind.
200 with the body {}Only probill/search answers this way, when customer-code is omitted entirely. Treat as a client bug and verify parameter name casing.
Reporting a problem

Every request to /api/<COMPANY_CODE>/ that carries an x-client-id is recorded with the response you were sent — including one the API's own checks reject, and any server error. When you report a problem, give the time, with your time zone, and your client ID; that is enough to find the request. A request with no x-client-id, or a body the API could not read, is not recorded.

Reference

About this reference

What is settled, what is still being confirmed, and where to ask.

Coverage

Verified against the code

Parameter names, validation rules, enumerations, response fields and error messages here were checked against the running implementation rather than transcribed from earlier documents.

Three rate quotes

Pick the one for your carrier

Overland/Comox, Apex/WCE and CCT. They are separate rating engines, not variations — sending one carrier's payload to another will not work.

Getting access

Credentials and approval

A client ID, API key and approval for each carrier and customer account you need are issued by Reimer Group. Contact your account representative to start.

Rating

Choosing between the three rating engines

Overland/ComoxApex/WCECCT
Carriersowfl, comoxapex, wcecct
Rows5 commodity rows, each with quantity, description and weight10 dimension rows, dimensions only10 dimension rows, dimensions only
WeightPer commodity rowOne weight for the shipmentOne weight for the shipment
Service fieldshipment-truck-req (optional)shipment-type — OP or ICservice-type — Regular, Intermodal, Expedited
Payment termspayment requiredImplied by shipment-typeNot applicable
Contact fieldsRequiredNoneNone
Postal codesRequiredNot usedNot used
Height cap96 in102 in96 in
Declared valuedeclared-valueexcess-amountvalue-amount
ResponseArray of oneBare objectBare object
Total fieldnet-total-chargestotal-chargetotal-charges
Quote numberUnprefixedAC / WC prefixCC prefix
Soft error shape{"error": "<msg>", …}{"error": true, …}{"error": true, …}
Soft error message / code / retryableIdenticalIdenticalIdentical
Provenance

How the rating sections were written

The Overland/Comox rate quote, shipment status and document retrieval sections started from existing internal documents and were then corrected against the implementation.

The Apex/WCE and CCT sections had no earlier document and were written from the implementation directly. If something in them does not match what you observe, that is worth reporting — contact your account representative.