Rates

Live shipping options for a parcel — ready to show your shoppers as delivery choices, cheapest first.

Get rates

POST/v1/rates

Live quotes from every carrier service that ships one parcel from Thailand to the destination — the same quotes the CONNEX checkout shows the store's shoppers. Requires rates:read. Quote the packed parcel — box dimensions and total weight — not individual items.

Show it like thisThe response, as a shopper sees it

name, carrier, deliveryEstimate, price and dutiesIncluded from each option in data[] — already sorted cheapest first.

Body parameters

Countrystringrequired
Destination, ISO 3166-1 alpha-3 (USA, GBR, JPN).
Weightintegerrequired
Billable weight in grams — the greater of the scale weight and the volumetric weight (L × W × H ÷ 5000 kg). Sending the scale weight alone under-quotes bulky parcels.
ActualWeightinteger
Scale weight in grams.
Lengthintegerrequired
Parcel length in cm, rounded up.
Widthintegerrequired
Parcel width in cm, rounded up.
Heightintegerrequired
Parcel height in cm, rounded up.

Query parameters

include_fbaboolean
Include Amazon FBA (seller-to-warehouse) services. Left out by default — they are not a delivery option to offer a shopper.

Each option in data[] — sorted cheapest first

idstring
Service code. Send it back when you book the shipment on this option.
namestring
Customer-facing service name — show this.
carrierstring | null
The delivering carrier, e.g. FedEx, UPS.
serviceLevelstring | null
The carrier’s own id for the service level.
typestring | null
express, standard or allin (duties and taxes included).
logoUrlstring | null
Service logo, absolute URL.
deliveryDaysobject
{ min, max } transit days; either may be null. deliveryEstimate is the same window as text, e.g. "3 - 6 days".
priceMoney
What to charge for this option — shipping plus every surcharge. priceBreakdown itemises it.
dutiesIncludedboolean
true when import duties and taxes are paid inside price. false means they are not included — collect or quote them separately.
maxDeclaredValueMoney | null
Highest declared value this option carries. Hide options whose ceiling is below the order’s value. null means no ceiling.
freePickupboolean
The carrier collects from the sender at no charge.
recommendedboolean
Flagged as a recommended option.
notestring | null
A carrier restriction worth showing beside the option, verbatim — it may not be in English.
Amounts are Money objects — { "amount": 2339, "currency": "THB" }. Rates are quoted in THB today; always read currency rather than assuming it, and convert on your side before showing another currency.
Request
curl https://api.connexglobal.co/v1/rates \
  -H "Authorization: Bearer $CONNEX_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "Country": "USA",
    "ActualWeight": 850,
    "Weight": 1200,
    "Length": 30,
    "Width": 20,
    "Height": 10
  }'
Responsejson
{
  "object": "list",
  "currency": "THB",
  "destination": { "country": "USA" },
  "parcel": { "weight": 1200, "length": 30, "width": 20, "height": 10 },
  "data": [
    {
      "id": "ST007.",
      "name": "DHL eCommerce",
      "carrier": "DHLeCom",
      "serviceLevel": "FS_dhlecom",
      "type": "standard",
      "logoUrl": "https://res.cloudinary.com/fastship/image/upload/…/DHL%20eCommerce.png",
      "deliveryDays": { "min": 7, "max": 12 },
      "deliveryEstimate": "7 - 12 days",
      "price": { "amount": 1235, "currency": "THB" },
      "priceBreakdown": { "shipping": 1235, "additionalCharge": 0, "oversizeCharge": 0 },
      "dutiesIncluded": false,
      "maxDeclaredValue": { "amount": 3000, "currency": "THB" },
      "freePickup": false,
      "recommended": false,
      "note": "ตัดรอบส่งออกทุกวันพฤหัสบดี"
    },
    {
      "id": "EC003.",
      "name": "FastShip EcoXpress via FedEx",
      "carrier": "FedEx",
      "serviceLevel": "FedEx_Eco",
      "type": "express",
      "logoUrl": "https://res.cloudinary.com/fastship/image/upload/…/Fastship_Eco_Express_via_FedEx.jpg",
      "deliveryDays": { "min": 3, "max": 6 },
      "deliveryEstimate": "3 - 6 days",
      "price": { "amount": 2339, "currency": "THB" },
      "priceBreakdown": { "shipping": 2339, "additionalCharge": 0, "oversizeCharge": 0 },
      "dutiesIncluded": false,
      "maxDeclaredValue": { "amount": 30000, "currency": "THB" },
      "freePickup": false,
      "recommended": false,
      "note": "ส่งได้เฉพาะกล่อง"
    }
  ]
}