ParcelRadar.io
ParcelRadar.ioDeveloper Portal
← Back to Overview

API Reference

Full endpoint reference for the Parcel Radar APIs.

Sandbox

This is the sandbox API

The consoles below call the Parcel Radar sandbox: test data, test couriers and test QR payments, with no real money. Enter your sandbox X-API-Key to authorize the requests, then run any endpoint.

Instant Quote — Synchronous

One request, one response: POST your shipment to /quote and the call blocks until every carrier's rate is in (or a ~60s timeout, which returns 504). The simplest way to integrate — choose this unless you must avoid holding a request open for up to a minute (e.g. serverless/edge functions with short timeouts, or very high concurrency).

POSThttps://api-sandbox.parcelradar.io/api/partner/v1/instant-quote/quote

Get live rates (sync)

Submit a shipment and receive the live rate from every supported carrier in a single call. Blocks until the carrier fan-out settles (or ~60s → 504).

FieldTypeRequiredValuesDefaultNote
originobjectYes--Ship-from address.
countrystringYesISO-2, e.g. "TH"-Trimmed to 2 characters, upper-cased.
citystring---City name, free text.
zipcodestring---Postal code.
destinationobjectYes--Ship-to address.
countrystringYesISO-2, e.g. "TH"-Trimmed to 2 characters, upper-cased.
citystring---City name, free text.
zipcodestring---Postal code.
parcelsarrayYes--One entry per parcel.
lengthnumber-> 01Length in the dunit.
widthnumber-> 01Width in the dunit.
heightnumber-> 01Height in the dunit.
weightnumber-> 01Weight in the wunit.
wunitstring-"kg", "lb""kg"Weight unit for the parcels AND the result's `chargeableWeight`.
dunitstring-"cm", "in""cm"Dimension unit.
currencystring-"THB", "USD", "EUR", "GBP""THB"Goods/declared-value currency for customs (the match-engine's goods_currency). The cost is always returned in all four currencies.
valuenumber->= 0100Declared goods value.
Request example
{
  "origin": {
    "country": "TH",
    "city": "Bangkok",
    "zipcode": "10240"
  },
  "destination": {
    "country": "US",
    "city": "New York",
    "zipcode": "11373"
  },
  "parcels": [
    {
      "length": 20,
      "width": 15,
      "height": 10,
      "weight": 2
    }
  ],
  "wunit": "kg",
  "dunit": "cm",
  "currency": "THB",
  "value": 1500
}

Instant Quote — Asynchronous

Non-blocking, in three steps: POST /inquiry to start, GET /inquiry?id= to poll until the status leaves "processing", then GET /results?inquiryId= for the rates. Returns the same rates as the sync lane — choose this when you don't want a long-held request, want to show progressive UI, or run where request timeouts are short.

Get live rates (async)

Create an inquiry, poll it until it's ready, then fetch the results — the same rates as the synchronous /quote, without holding a request open. Call these three endpoints in order.

Your app
Parcel Radar API
1POST /inquiry
202 · { inquiryId }id to poll
2GET /inquiry?id={inquiryId}loop
{ status }until "ready"
3GET /results?inquiryId={inquiryId}
{ status, results[] }promoted first, then cheapest

Polling tips: wait ~1–2s between polls (a short exponential backoff is fine) and give up after about 60s — the same ceiling the synchronous /quote uses. Only POST /inquiry needs your X-API-Key; the poll and results calls just need the returned inquiryId.

POSThttps://api-sandbox.parcelradar.io/api/partner/v1/instant-quote/inquiry

Create an inquiry

Start an async quote. Returns immediately with an inquiryId to poll — the carrier fan-out runs in the background. Same shipment body as /quote.

FieldTypeRequiredValuesDefaultNote
originobjectYes--Ship-from address.
countrystringYesISO-2, e.g. "TH"-Trimmed to 2 characters, upper-cased.
citystring---City name, free text.
zipcodestring---Postal code.
destinationobjectYes--Ship-to address.
countrystringYesISO-2, e.g. "TH"-Trimmed to 2 characters, upper-cased.
citystring---City name, free text.
zipcodestring---Postal code.
parcelsarrayYes--One entry per parcel.
lengthnumber-> 01Length in the dunit.
widthnumber-> 01Width in the dunit.
heightnumber-> 01Height in the dunit.
weightnumber-> 01Weight in the wunit.
wunitstring-"kg", "lb""kg"Weight unit for the parcels AND the result's `chargeableWeight`.
dunitstring-"cm", "in""cm"Dimension unit.
currencystring-"THB", "USD", "EUR", "GBP""THB"Goods/declared-value currency for customs (the match-engine's goods_currency). The cost is always returned in all four currencies.
valuenumber->= 0100Declared goods value.
Request example
{
  "origin": {
    "country": "TH",
    "city": "Bangkok",
    "zipcode": "10240"
  },
  "destination": {
    "country": "US",
    "city": "New York",
    "zipcode": "11373"
  },
  "parcels": [
    {
      "length": 20,
      "width": 15,
      "height": 10,
      "weight": 2
    }
  ],
  "wunit": "kg",
  "dunit": "cm",
  "currency": "THB",
  "value": 1500
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/instant-quote/inquiry

Poll inquiry status

Check whether an inquiry has finished. Poll every ~1–2s until the status leaves "processing", then fetch the results.

FieldTypeRequiredValuesDefaultNote
iduuidYesUUID-The inquiryId returned by POST /inquiry.
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/instant-quote/results

Get inquiry results

Fetch the per-provider rates for an inquiry. Same results shape as the synchronous /quote response; results fill in once the status is "ready".

FieldTypeRequiredValuesDefaultNote
inquiryIduuidYesUUID-The inquiryId returned by POST /inquiry.

Provider detail

Look up a provider's shipping conditions or rate card by the provider id returned in a quote result.

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/instant-quote/conditions

Get provider conditions

The shipping conditions for one provider — incoterms, transit time, service network, features, weight config, route coverage and, when the provider restricts goods by HS code, its goodsRestriction. Pass a provider id from a /quote result.

FieldTypeRequiredValuesDefaultNote
iduuidYesUUID-Provider id (the `id` from a /quote result).
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/instant-quote/ratecard

Get provider ratecard

The rate card for one provider — display flags, banners, and (for manual-rate providers) a static price curve. Pass a provider id from a /quote result.

FieldTypeRequiredValuesDefaultNote
iduuidYesUUID-Provider id (the `id` from a /quote result).

HS codes & duty

The lookups behind the Member Portal's Goods & declared value form: find the HS code of the goods, then read the duty that code carries at the importing country. Put the code on the order as `packages.goods[].hsCode`.

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/hs-codes/search

Search HS codes

The HS codes that fit a description or a code, best match first. Needs your X-API-Key.

FieldTypeRequiredValuesDefaultNote
qstringYes2 to 100 characters-What the goods are, in Thai or English (part of a word works), or an HS code or the start of one ("0712", "0712.20").
limitnumber-1 to 2010The most matches to return.
sourcestring-"thai_customs", "karton", "manual"-Search one source only. Omitted = every source.
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/tariff/rates

Get duty rates

The import duty of each HS code at one country, the same rate a quote is charged with. Needs your X-API-Key. A code without a rate is not an error: its line comes back with a null ratePct, and the carrier's own duty % applies.

FieldTypeRequiredValuesDefaultNote
countrystringYesISO-2 code-The importing country.
hsCodesarrayYes1 to 50 codes-The HS codes, dots allowed.
Request example
{
  "country": "US",
  "hsCodes": [
    "6109.10"
  ]
}

Address Book

Your tenant's saved sender/recipient addresses — the same book members manage in the Member Portal, so changes show up there. Switching an address off keeps it on file and listed; deleting removes it.

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/address-book

List address book

A page of your tenant's saved addresses. Ordering is by stored value, so `country` sorts by ISO code rather than localized name. Switched-off addresses are included by default.

FieldTypeRequiredValuesDefaultNote
pagenumber->= 00Zero-based page index.
sizenumber-1–10010Page size (clamped to 100).
sortstring-"name", "alias", "country", "city", "phone", "updated"updatedColumn to order by (name and alias are separate).
dirstring-"asc", "desc"descSort direction.
activestring-"all", "active", "inactive"allFilter by the switched-on/off flag. The default returns both — an inactive address is disabled, not hidden.
rolestring-"all", "sender", "recipient", "eor", "ior"allOnly entries with this role: eor = Exporter of Record, ior = Importer of Record (indirect representatives).
countrystring-ISO-2, e.g. "DE"-Only entries in this country. With role=ior and the order's Ship To country it lists the Importers of Record an order may use.
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/address-book

Create an address

Save a new address. At least one role flag must be true; an address can be both, and then appears in both lists. Returns the address as stored. An Exporter / Importer of Record entry (isExporterOfRecord / isImporterOfRecord) holds the company in `name`, plus `contactName` and `customsRegNo`.

FieldTypeRequiredValuesDefaultNote
isSenderboolean-true, falsefalseUsable as a sender. At least one role must be true.
isRecipientboolean-true, falsefalseUsable as a recipient. At least one role must be true.
isExporterOfRecordboolean-true, falsefalseAn Exporter of Record (indirect representative). Counts as a role.
isImporterOfRecordboolean-true, falsefalseAn Importer of Record (indirect representative). Counts as a role.
isActiveboolean-true, falsetrueOmitted on create = active; omitted on update = keep the current state.
namestringYes1–200 chars-Contact name; on an Exporter / Importer of Record entry, the company name.
contactNamestring-≤ 100 chars-Exporter / Importer of Record: the person to ask for. Blank is stored as null.
customsRegNostring-≤ 50 chars-Exporter / Importer of Record: customs registration number, e.g. an EORI "DE123456789012345". Blank is stored as null.
countryCodestringYesISO-2, e.g. "TH"-Stored upper-cased.
aliasstring-≤ 200 chars-Nickname/label. Blank is stored as null.
phonePrefixstring-1–4 digits, e.g. "66"-Dial code, no "+". Needs a phone to go with it; together at most 15 digits (E.164).
phonestring-4–14 digits-National number, e.g. "812345678". The dial code goes in phonePrefix.
emailstring-≤ 200 chars-Contact email.
addressLinestring-≤ 500 chars-Street / address line.
postalCodestring-≤ 12 chars, upper-case-Letters and digits, single spaces or hyphens: "10110", "SW1A 1AA", "100-0001".
provincestring-≤ 200 chars-State / Province.
districtstring-≤ 200 chars-County / District.
citystring-≤ 200 chars-Municipality / City.
Request example
{
  "isSender": true,
  "isRecipient": true,
  "alias": "HQ",
  "name": "Vernice West",
  "phonePrefix": "66",
  "phone": "812345678",
  "email": "hq@acme.com",
  "addressLine": "1 Sukhumvit",
  "countryCode": "TH",
  "postalCode": "10110",
  "province": "Bangkok",
  "district": "Watthana",
  "city": "Bangkok"
}
PUThttps://api-sandbox.parcelradar.io/api/partner/v1/address-book/{id}

Update an address

Full replacement (PUT): send the complete address — omitted optional fields clear to null. Omit `isActive` to keep the current on/off state (toggle it with `PATCH /{id}/active`). The Exporter / Importer of Record fields (isExporterOfRecord, isImporterOfRecord, contactName, customsRegNo) are kept when omitted.

FieldTypeRequiredValuesDefaultNote
isSenderbooleanYestrue, falsefalseUsable as a sender. At least one role must be true. Omitted → false (and if no other role is true, 400).
isRecipientbooleanYestrue, falsefalseUsable as a recipient. At least one role must be true. Omitted → false (and if no other role is true, 400).
isExporterOfRecordboolean-true, falsekeeps currentAn Exporter of Record (indirect representative). Counts as a role. Omitted → keeps the stored value, so a client that predates it cannot drop the role.
isImporterOfRecordboolean-true, falsekeeps currentAn Importer of Record (indirect representative). Counts as a role. Omitted → keeps the stored value, so a client that predates it cannot drop the role.
isActiveboolean-true, falsekeeps currentOmitted on create = active; omitted on update = keep the current state. Change the flag with PATCH /{id}/active.
namestringYes1–200 chars-Contact name; on an Exporter / Importer of Record entry, the company name. Omitted → 400; the address is not written.
contactNamestring-≤ 100 charskeeps currentExporter / Importer of Record: the person to ask for. Blank is stored as null. Omitted → keeps the stored value; send "" to clear it.
customsRegNostring-≤ 50 charskeeps currentExporter / Importer of Record: customs registration number, e.g. an EORI "DE123456789012345". Blank is stored as null. Omitted → keeps the stored value; send "" to clear it.
countryCodestringYesISO-2, e.g. "TH"-Stored upper-cased. Omitted → 400; the address is not written.
aliasstringYes≤ 200 chars-Nickname/label. Blank is stored as null. Omitted → cleared to null (the stored value is overwritten).
phonePrefixstringYes1–4 digits, e.g. "66"-Dial code, no "+". Needs a phone to go with it; together at most 15 digits (E.164). Omitted → cleared to null.
phonestringYes4–14 digits-National number, e.g. "812345678". The dial code goes in phonePrefix. Omitted → cleared to null.
emailstringYes≤ 200 chars-Contact email. Omitted → cleared to null.
addressLinestringYes≤ 500 chars-Street / address line. Omitted → cleared to null.
postalCodestringYes≤ 12 chars, upper-case-Letters and digits, single spaces or hyphens: "10110", "SW1A 1AA", "100-0001". Omitted → cleared to null.
provincestringYes≤ 200 chars-State / Province. Omitted → cleared to null.
districtstringYes≤ 200 chars-County / District. Omitted → cleared to null.
citystringYes≤ 200 chars-Municipality / City. Omitted → cleared to null.
Request example
{
  "isSender": true,
  "isRecipient": true,
  "isActive": true,
  "alias": "HQ",
  "name": "Vernice West",
  "phonePrefix": "66",
  "phone": "812345678",
  "email": "hq@acme.com",
  "addressLine": "1 Sukhumvit",
  "countryCode": "TH",
  "postalCode": "10110",
  "province": "Bangkok",
  "district": "Watthana",
  "city": "Bangkok"
}
PATCHhttps://api-sandbox.parcelradar.io/api/partner/v1/address-book/{id}/active

Activate / deactivate an address

Switch an address on or off. A soft disable: it stays in the book and still comes back from the list, so it can be switched back on. Idempotent. To remove it for good, use DELETE.

FieldTypeRequiredValuesDefaultNote
isActivebooleanYestrue, false-true = usable, false = switched off (still saved and still listed).
Request example
{
  "isActive": false
}
DELETEhttps://api-sandbox.parcelradar.io/api/partner/v1/address-book/{id}

Delete an address

Permanently remove an address. This cannot be undone and the id stops resolving. To keep it on file but unused, PATCH /{id}/active with `isActive: false` instead.

FieldTypeRequiredValuesDefaultNote
okbooleanYestrue-Always true on a 200 — the address was deleted.
iduuidYesUUID-The id that was deleted, echoed back.
Response example
{
  "ok": true,
  "id": "d65e6140-df1c-4581-8885-e79501964f6f"
}

Orders

Your tenant's shipping orders, shared with the Member Portal. Follow "From order to Shipment Label" below for the order of calls, from a new order to the label on the box.

From order to Shipment Label

The Member Portal's export order, tab by tab, as API calls: create the order, describe the shipment, choose the service, check out, then get the Shipment Label. Call them top to bottom; where the flow forks, exactly one branch applies. Every call needs your X-API-Key; paths are under /api/partner/v1 (checkout and the courier booking answer on the partner lane only).

required calloptional callaltone branch applies
Your app
Parcel Radar API
1. Create the order· Create order
1POST /orders
{ id, orderNo, status: CREATED }keep the id
2. Describe the shipment· Route Details · Packages
2GET /hs-codes/search?q=optional
{ items[] }an HS code per goods line
3PUT /orders/{id}
orderroute + packages + goods
3. Choose the service· Service Details
4POST /instant-quote/quote
{ results[] }providerId + price
5GET /orders/{id}/service-options?providerId=
{ options[], extraServices[] }pickup or drop-off
6POST /orders/{id}/pickup/quoteoptional
{ quoteId, feeThb }api_markup only
7GET /dropoff-points?orderId=optional
{ items[] }a drop-off option only
8PUT /orders/{id}/dropoff-pointoptional
{ dropoffPoint }
9POST /orders/{id}/service
orderpriced by Parcel Radar
4. Check out· Checkout
10GET /orders/{id}/checkout
{ amount, fingerprint, conditionsAccepted, sufficient }
11POST /orders/{id}/checkout/conditions
{ acceptedAt }once per provider
12POST /orders/{id}/checkout
{ status: SUBMITTED, chargeId }credit held
5. Get the Shipment Label· Shipment Label
13GET /orders/{id}/pickup/handoff
{ kind, claimCode }pickup | dropoff
alt
[kind = pickup]
14POST /orders/{id}/pickup/compareoptional
{ offers[], winner }
15POST /orders/{id}/pickup
{ id: pickupId, status: PENDING }send an idempotencyKey
16POST /orders/{id}/pickup/{pickupId}/book
{ status: BOOKED, trackNo }pickupFrom required
17GET /orders/{id}/pickup/{pickupId}/label
{ sheets[] }carton mark + courier label
End: Print the sheets and stick them on every carton; the courier collects.
[kind = dropoff]
14GET /orders/{id}/carton-mark
{ sheets[] }with the claim code
End: Print the carton mark and bring the parcel and the claim code to the drop-off point.
6. Follow it· Tracking
18GET /orders/{id}/pickup/{pickupId}/trackingoptional
{ events[] }first mile
19GET /orders/{id}/trackingoptional
{ state, trackingUrl }share with your customer

Good to know

  • Checkout holds the order's total on your workspace's wallet; the money is taken when an officer approves the shipment. A 409 with code error.wallet.insufficient carries the shortfall: top the prepaid wallet up by QR (POST /wallet/topups) or in the Member Portal, then check out again.
  • You never send a price: POST /orders/{id}/service takes the providerId (Live Rates), the pickupGroupIdand extra services (service-options) and, for an api_markup option, the quote's pickupQuoteId, and Parcel Radar prices them. A route or package change after that makes checkout answer error.order.checkout.requote: call it again.
  • A label is a set of HTML sheets with their page size in millimetres (100×100 or 100×150). Render each sheet at that size, e.g. print it to PDF with a headless browser, one page per sheet.
  • Reuse the same idempotencyKey when you retry POST /orders/{id}/pickup: the same key always answers the same booking, so a retry never books a second courier.
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders

List orders

A page of the tenant's orders, newest first.

FieldTypeRequiredValuesDefaultNote
statusstring-"all", "CREATED", "PROCESSING", "IN_TRANSIT", "DELIVERED", "EXCEPTION", "ON_HOLD", "RETURNING", "RETURNED"allLifecycle filter.
qstring---Free-text match on order no + countries.
pagenumber->= 00Zero-based page index.
sizenumber-1–10010Page size (clamped to 100).
sortstring-"order", "status", "from", "to", "provider", "updated"updatedColumn to order by.
dirstring-"asc", "desc"descSort direction.
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders

Create an order

Create an order from the two required routing countries.

FieldTypeRequiredValuesDefaultNote
fromCountrystringYesISO-2, in the country list-Origin. Upper-cased; a code not in the list is rejected (400).
toCountrystringYesISO-2, in the country list-Destination. Upper-cased; a code not in the list is rejected (400).
Request example
{
  "fromCountry": "TH",
  "toCountry": "US"
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}

Get an order

Fetch one order by id.

FieldTypeRequiredValuesDefaultNote
iduuidYes--Order id.
orderNostringYese.g. "RDOR202607000042"-Reference (RDOR + YYYYMM + 6-digit sequence), unique per tenant.
statusstringYes"CREATED", "PROCESSING", "IN_TRANSIT", "DELIVERED", "EXCEPTION", "ON_HOLD", "RETURNING", "RETURNED"-Lifecycle state.
fromCountrystringYesISO-2, e.g. "TH"-Origin, upper-cased.
toCountrystringYesISO-2, e.g. "US"-Destination, upper-cased.
serviceProviderstring---Chosen carrier, else null.
routeobject---Route milestone (ship-from / deliver-to).
fromobject---Ship-from address.
namestring---Contact name.
aliasstring---Nickname/label.
isSenderboolean---Sender role.
isRecipientboolean---Recipient role.
phonePrefixstring---Dial code, digits only.
phoneNumberstring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestring-ISO-2-Country.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
toobject---Deliver-to address.
namestring---Contact name.
aliasstring---Nickname/label.
isSenderboolean---Sender role.
isRecipientboolean---Recipient role.
phonePrefixstring---Dial code, digits only.
phoneNumberstring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestring-ISO-2-Country.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
exporterOfRecordobject---Optional Exporter of Record acting as indirect representative: files the export declaration in its own name for Ship From. null or omitted = none. Locked with the route once the order is checked out.
addressBookIduuid---The Address Book entry it was copied from, if any. Informational only.
namestringYes--Company name. Required when the object is present.
contactNamestring---The person to ask for.
phonePrefixstring---Dial code, digits only.
phonestring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestringYesISO-2-Must be the country of its side: Ship From's for the exporter, Ship To's for the importer — else 409 error.order.route.recordCountry.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
subDistrictstring---Sub-district (ตำบล / แขวง).
customsRegNostring---Customs registration number (EORI, Thai exporter / importer registration, …).
importerOfRecordobject---Optional Importer of Record acting as indirect representative: clears import customs in its own name for Ship To. null or omitted = none. Locked with the route once the order is checked out.
addressBookIduuid---The Address Book entry it was copied from, if any. Informational only.
namestringYes--Company name. Required when the object is present.
contactNamestring---The person to ask for.
phonePrefixstring---Dial code, digits only.
phonestring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestringYesISO-2-Must be the country of its side: Ship From's for the exporter, Ship To's for the importer — else 409 error.order.route.recordCountry.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
subDistrictstring---Sub-district (ตำบล / แขวง).
customsRegNostring---Customs registration number (EORI, Thai exporter / importer registration, …).
packagesobject---Packages milestone.
itemsarray---The parcels.
idstring---Line id.
typestring-"box", "pallet", "envelope", "tube", "poly_mail", "container", "bulk_cargo"-Packaging type.
descriptionstring---Goods description.
quantitystring---Piece count (numeric string).
weightstring---Weight per piece (numeric string).
weightUnitstring-"kg", "lb"-Weight unit.
lengthstring---Length (numeric string).
widthstring---Width (numeric string).
heightstring---Height (numeric string).
dimUnitstring-"cm", "in"-Dimension unit.
valuestring---Declared value (numeric string).
valueCurrencystring-"THB", "USD", "EUR", "GBP"-Declared-value currency.
goodsarray---What is inside the parcels, the Member Portal's Goods & declared value lines. Use these rather than each item's description and value: when present, they replace them as the declared value.
idstring---Line id.
descriptionstring---What the goods are.
hsCodestring---HS code of the goods. Find one with GET /hs-codes/search.
valuestring---Declared value of this line (numeric string).
currencystring-"THB", "USD", "EUR", "GBP"-Declared-value currency.
requireDocumentboolean-true, false-Package Documents STATE flag — true = documents required, false = "none required" acknowledged, null = not set. NOT the files (those are `attachments`).
serviceobject---Service milestone (chosen rate + config).
providerIdstring---Chosen carrier id.
providerCodestring---Carrier code.
providerNamestring---Carrier display name.
priceobject---The quote Parcel Radar computed (POST /orders/{id}/service). Send it back unchanged.
thbnumber---Total price, THB.
zoneNamestring---Rated zone.
customsThbnumber---Customs component, THB.
pickupThbnumber---Pickup component, THB (optional).
shipDatestring-YYYY-MM-DD-Ship date.
pickupGroupIdstring---Pickup-option group (null = provider default).
pickupGroupNamestring---Pickup group name.
pickupAddressstring---Pickup address.
pickupInstructionsstring---Pickup instructions.
optionsarray---Selected service-option names (string[]).
referencesarray---Shipment references (string[]).
notestring---Internal note.
notificationsobject---Notifications milestone.
senderobject---Sender notification prefs.
emailstring---Notified email.
languagestring-"en", "th"-Email language.
optionsarray-"created", "in_transit", "delivered", "exception"-Events to notify on (string[]).
recipientsarray---Recipient notification prefs.
emailstring---Notified email.
languagestring-"en", "th"-Email language.
optionsarray-"created", "in_transit", "delivered", "exception"-Events to notify on (string[]).
createdAtstringYes--ISO-8601 timestamp.
updatedAtstringYes--ISO-8601 timestamp.
attachmentsarray---Uploaded document FILES (metadata) — embedded on a single-order GET/PUT, omitted when the order has none. Distinct from `requireDocument` (that is the state flag; these are the files). Manage them via the documents sub-resource below.
iduuidYes--Document id.
namestringYes--Display name.
descriptionstring---Optional note.
docTypestringYes"INVOICE", "RECEIPT", "TAX", "VAT", "PACKING_LIST", "CUSTOMS", "OTHER"-Document type.
contentTypestring---MIME type as uploaded.
sizeBytesnumberYes--Decoded file size in bytes.
createdAtstringYes--ISO-8601 timestamp.
Response example
{
  "id": "af1326f0-eaf8-4dbd-801e-43d1daf99a23",
  "orderNo": "RDOR202607000039",
  "status": "PROCESSING",
  "fromCountry": "TH",
  "toCountry": "US",
  "serviceProvider": "DHL Express",
  "route": {
    "from": {
      "name": "Green Parker",
      "alias": "Office",
      "isSender": true,
      "isRecipient": false,
      "phonePrefix": "66",
      "phoneNumber": "973331702",
      "email": "green@acme.com",
      "addressLine": "514 Miriam Knolls",
      "countryCode": "TH",
      "postalCode": "10110",
      "province": "Bangkok",
      "district": "Watthana",
      "city": "Bangkok"
    },
    "to": {
      "name": "Martha Howell",
      "alias": "HQ",
      "isSender": false,
      "isRecipient": true,
      "phonePrefix": "1",
      "phoneNumber": "5692748790",
      "email": "martha@acme.com",
      "addressLine": "274 Wellington Road",
      "countryCode": "US",
      "postalCode": "90001",
      "province": "California",
      "district": "Los Angeles County",
      "city": "Los Angeles"
    }
  },
  "packages": {
    "items": [
      {
        "id": "pkg-1",
        "type": "box",
        "description": "Wooden soap",
        "quantity": "1",
        "weight": "1",
        "weightUnit": "kg",
        "length": "42.10",
        "width": "54.80",
        "height": "33.50",
        "dimUnit": "cm",
        "value": "457",
        "valueCurrency": "THB"
      }
    ]
  },
  "requireDocument": true,
  "service": {
    "providerId": "019e984a-f8b4-726f-8f02-0b51e7016f46",
    "providerCode": "RADIMEXP",
    "providerName": "DHL Express",
    "price": {
      "thb": 100,
      "zoneName": "Default",
      "customsThb": 0,
      "pickupThb": 0
    },
    "shipDate": "2026-07-19",
    "pickupGroupId": null,
    "pickupGroupName": null,
    "pickupAddress": "",
    "pickupInstructions": "Ring the bell at the front desk.",
    "options": [],
    "references": [
      "PO-412553",
      "REF-A9BSA"
    ],
    "note": "Handle with care."
  },
  "notifications": {
    "sender": {
      "email": "green@acme.com",
      "language": "en",
      "options": [
        "created",
        "in_transit",
        "delivered",
        "exception"
      ]
    },
    "recipients": [
      {
        "email": "martha@acme.com",
        "language": "en",
        "options": [
          "created",
          "delivered"
        ]
      }
    ]
  },
  "createdAt": "2026-07-17T09:45:27Z",
  "updatedAt": "2026-07-19T18:11:24Z",
  "attachments": [
    {
      "id": "7a1b9c2d-0e3f-4a5b-8c6d-9e0f1a2b3c4d",
      "name": "commercial-invoice.pdf",
      "description": "Signed invoice",
      "docType": "INVOICE",
      "contentType": "application/pdf",
      "sizeBytes": 20480,
      "createdAt": "2026-07-18T04:12:00Z"
    }
  ]
}
PUThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}

Update an order

Full replacement (PUT): send the complete order — omitted fields are cleared. Status is unchanged (use suspend). The service's quote (providerId, providerCode, providerName, price, fingerprint, pickupGroupId, pickupGroupName, hasPrinter) is Parcel Radar's: set it with POST /orders/{id}/service, then send it back unchanged (or leave the service out to clear it).

FieldTypeRequiredValuesDefaultNote
fromCountrystringYesISO-2, in the country list-Origin. Must be in the country list; omitted or unknown → 400.
toCountrystringYesISO-2, in the country list-Destination. Must be in the country list; omitted or unknown → 400.
serviceProviderstringYes≤ 200 chars-Chosen carrier. Omitted → cleared to null.
routeobjectYes--Route milestone object. Omitted → cleared.
fromobject---Ship-from address.
namestring---Contact name.
aliasstring---Nickname/label.
isSenderboolean---Sender role.
isRecipientboolean---Recipient role.
phonePrefixstring---Dial code, digits only.
phoneNumberstring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestring-ISO-2-Country.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
toobject---Deliver-to address.
namestring---Contact name.
aliasstring---Nickname/label.
isSenderboolean---Sender role.
isRecipientboolean---Recipient role.
phonePrefixstring---Dial code, digits only.
phoneNumberstring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestring-ISO-2-Country.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
exporterOfRecordobject---Optional Exporter of Record acting as indirect representative: files the export declaration in its own name for Ship From. null or omitted = none. Locked with the route once the order is checked out.
addressBookIduuid---The Address Book entry it was copied from, if any. Informational only.
namestringYes--Company name. Required when the object is present.
contactNamestring---The person to ask for.
phonePrefixstring---Dial code, digits only.
phonestring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestringYesISO-2-Must be the country of its side: Ship From's for the exporter, Ship To's for the importer — else 409 error.order.route.recordCountry.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
subDistrictstring---Sub-district (ตำบล / แขวง).
customsRegNostring---Customs registration number (EORI, Thai exporter / importer registration, …).
importerOfRecordobject---Optional Importer of Record acting as indirect representative: clears import customs in its own name for Ship To. null or omitted = none. Locked with the route once the order is checked out.
addressBookIduuid---The Address Book entry it was copied from, if any. Informational only.
namestringYes--Company name. Required when the object is present.
contactNamestring---The person to ask for.
phonePrefixstring---Dial code, digits only.
phonestring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestringYesISO-2-Must be the country of its side: Ship From's for the exporter, Ship To's for the importer — else 409 error.order.route.recordCountry.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
subDistrictstring---Sub-district (ตำบล / แขวง).
customsRegNostring---Customs registration number (EORI, Thai exporter / importer registration, …).
packagesobjectYes--Packages milestone object. Omitted → cleared.
itemsarray---The parcels.
idstring---Line id.
typestring-"box", "pallet", "envelope", "tube", "poly_mail", "container", "bulk_cargo"-Packaging type.
descriptionstring---Goods description.
quantitystring---Piece count (numeric string).
weightstring---Weight per piece (numeric string).
weightUnitstring-"kg", "lb"-Weight unit.
lengthstring---Length (numeric string).
widthstring---Width (numeric string).
heightstring---Height (numeric string).
dimUnitstring-"cm", "in"-Dimension unit.
valuestring---Declared value (numeric string).
valueCurrencystring-"THB", "USD", "EUR", "GBP"-Declared-value currency.
goodsarray---What is inside the parcels, the Member Portal's Goods & declared value lines. Use these rather than each item's description and value: when present, they replace them as the declared value.
idstring---Line id.
descriptionstring---What the goods are.
hsCodestring---HS code of the goods. Find one with GET /hs-codes/search.
valuestring---Declared value of this line (numeric string).
currencystring-"THB", "USD", "EUR", "GBP"-Declared-value currency.
requireDocumentboolean-true, false-Package Documents STATE flag (true = required, false = "none required", omitted = cleared). To add files use `attachments` below (or the documents sub-resource).
serviceobjectYes--Service milestone object. Omitted → cleared.
providerIdstring---Chosen carrier id.
providerCodestring---Carrier code.
providerNamestring---Carrier display name.
priceobject---The quote Parcel Radar computed (POST /orders/{id}/service). Send it back unchanged.
thbnumber---Total price, THB.
zoneNamestring---Rated zone.
customsThbnumber---Customs component, THB.
pickupThbnumber---Pickup component, THB (optional).
shipDatestring-YYYY-MM-DD-Ship date.
pickupGroupIdstring---Pickup-option group (null = provider default).
pickupGroupNamestring---Pickup group name.
pickupAddressstring---Pickup address.
pickupInstructionsstring---Pickup instructions.
optionsarray---Selected service-option names (string[]).
referencesarray---Shipment references (string[]).
notestring---Internal note.
notificationsobjectYes--Notifications milestone object. Omitted → cleared.
senderobject---Sender notification prefs.
emailstring---Notified email.
languagestring-"en", "th"-Email language.
optionsarray-"created", "in_transit", "delivered", "exception"-Events to notify on (string[]).
recipientsarray---Recipient notification prefs.
emailstring---Notified email.
languagestring-"en", "th"-Email language.
optionsarray-"created", "in_transit", "delivered", "exception"-Events to notify on (string[]).
attachmentsarray---OPTIONAL document files (base64) to ADD in this call — appended, NOT a replacement (existing documents stay; remove them via the sub-resource DELETE). Each entry is an upload body. The response embeds the resulting list.
namestringYes≤ 200 chars-Display name.
descriptionstring-≤ 500 chars-Optional note.
docTypestringYes"INVOICE", "RECEIPT", "TAX", "VAT", "PACKING_LIST", "CUSTOMS", "OTHER"-One of the document types.
contentBase64stringYes--File bytes, base64 (a `data:…;base64,` prefix is accepted). Decoded ≤ 10 MB.
contentTypestring-≤ 200 chars-MIME type (e.g. application/pdf).
Request example
{
  "fromCountry": "TH",
  "toCountry": "DE",
  "serviceProvider": "DHL",
  "route": {
    "from": {
      "name": "Green Parker",
      "isSender": true,
      "isRecipient": false,
      "phonePrefix": "66",
      "phoneNumber": "973331702",
      "email": "green@acme.com",
      "addressLine": "514 Miriam Knolls",
      "countryCode": "TH",
      "postalCode": "10110",
      "province": "Bangkok",
      "district": "Watthana",
      "city": "Bangkok"
    },
    "to": {
      "name": "Jonas Becker",
      "isSender": false,
      "isRecipient": true,
      "phonePrefix": "49",
      "phoneNumber": "3012345678",
      "email": "jonas@example.de",
      "addressLine": "Torstrasse 101",
      "countryCode": "DE",
      "postalCode": "10119",
      "province": "Berlin",
      "district": "Mitte",
      "city": "Berlin"
    },
    "exporterOfRecord": {
      "name": "Siam Export Co., Ltd.",
      "contactName": "Somchai Jaidee",
      "phonePrefix": "66",
      "phone": "21234567",
      "email": "export@siamexport.co.th",
      "addressLine": "99 Rama IV Road",
      "countryCode": "TH",
      "postalCode": "10500",
      "province": "Bangkok",
      "district": "Bang Rak",
      "city": "Bangkok",
      "subDistrict": "Suriyawong",
      "customsRegNo": "0105551234567"
    },
    "importerOfRecord": {
      "addressBookId": "5b1f0c3a-7e2d-4c9b-a1f4-3d8e6b2c9a10",
      "name": "Hanse Zollservice GmbH",
      "contactName": "Anna Schmidt",
      "phonePrefix": "49",
      "phone": "40123456",
      "email": "zoll@hanse-zoll.de",
      "addressLine": "Am Sandtorkai 12",
      "countryCode": "DE",
      "postalCode": "20457",
      "province": "Hamburg",
      "city": "Hamburg",
      "customsRegNo": "DE123456789012345"
    }
  },
  "packages": {
    "items": []
  },
  "requireDocument": true,
  "service": null,
  "notifications": null,
  "attachments": [
    {
      "name": "commercial-invoice.pdf",
      "docType": "INVOICE",
      "contentType": "application/pdf",
      "contentBase64": "JVBERi0xLjcKJ..."
    }
  ]
}
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/suspend

Suspend an order

Put an order on hold (→ ON_HOLD). Only from CREATED or PROCESSING.

FieldTypeRequiredValuesDefaultNote
iduuidYes--Order id.
orderNostringYese.g. "RDOR202607000042"-Reference (RDOR + YYYYMM + 6-digit sequence), unique per tenant.
statusstringYes"CREATED", "PROCESSING", "IN_TRANSIT", "DELIVERED", "EXCEPTION", "ON_HOLD", "RETURNING", "RETURNED"-Lifecycle state.
fromCountrystringYesISO-2, e.g. "TH"-Origin, upper-cased.
toCountrystringYesISO-2, e.g. "US"-Destination, upper-cased.
serviceProviderstring---Chosen carrier, else null.
routeobject---Route milestone (ship-from / deliver-to).
fromobject---Ship-from address.
namestring---Contact name.
aliasstring---Nickname/label.
isSenderboolean---Sender role.
isRecipientboolean---Recipient role.
phonePrefixstring---Dial code, digits only.
phoneNumberstring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestring-ISO-2-Country.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
toobject---Deliver-to address.
namestring---Contact name.
aliasstring---Nickname/label.
isSenderboolean---Sender role.
isRecipientboolean---Recipient role.
phonePrefixstring---Dial code, digits only.
phoneNumberstring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestring-ISO-2-Country.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
exporterOfRecordobject---Optional Exporter of Record acting as indirect representative: files the export declaration in its own name for Ship From. null or omitted = none. Locked with the route once the order is checked out.
addressBookIduuid---The Address Book entry it was copied from, if any. Informational only.
namestringYes--Company name. Required when the object is present.
contactNamestring---The person to ask for.
phonePrefixstring---Dial code, digits only.
phonestring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestringYesISO-2-Must be the country of its side: Ship From's for the exporter, Ship To's for the importer — else 409 error.order.route.recordCountry.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
subDistrictstring---Sub-district (ตำบล / แขวง).
customsRegNostring---Customs registration number (EORI, Thai exporter / importer registration, …).
importerOfRecordobject---Optional Importer of Record acting as indirect representative: clears import customs in its own name for Ship To. null or omitted = none. Locked with the route once the order is checked out.
addressBookIduuid---The Address Book entry it was copied from, if any. Informational only.
namestringYes--Company name. Required when the object is present.
contactNamestring---The person to ask for.
phonePrefixstring---Dial code, digits only.
phonestring---National number.
emailstring---Contact email.
addressLinestring---Street / address line.
countryCodestringYesISO-2-Must be the country of its side: Ship From's for the exporter, Ship To's for the importer — else 409 error.order.route.recordCountry.
postalCodestring---Postal code.
provincestring---State / province.
districtstring---County / district.
citystring---City.
subDistrictstring---Sub-district (ตำบล / แขวง).
customsRegNostring---Customs registration number (EORI, Thai exporter / importer registration, …).
packagesobject---Packages milestone.
itemsarray---The parcels.
idstring---Line id.
typestring-"box", "pallet", "envelope", "tube", "poly_mail", "container", "bulk_cargo"-Packaging type.
descriptionstring---Goods description.
quantitystring---Piece count (numeric string).
weightstring---Weight per piece (numeric string).
weightUnitstring-"kg", "lb"-Weight unit.
lengthstring---Length (numeric string).
widthstring---Width (numeric string).
heightstring---Height (numeric string).
dimUnitstring-"cm", "in"-Dimension unit.
valuestring---Declared value (numeric string).
valueCurrencystring-"THB", "USD", "EUR", "GBP"-Declared-value currency.
goodsarray---What is inside the parcels, the Member Portal's Goods & declared value lines. Use these rather than each item's description and value: when present, they replace them as the declared value.
idstring---Line id.
descriptionstring---What the goods are.
hsCodestring---HS code of the goods. Find one with GET /hs-codes/search.
valuestring---Declared value of this line (numeric string).
currencystring-"THB", "USD", "EUR", "GBP"-Declared-value currency.
requireDocumentboolean-true, false-Package Documents STATE flag — true = documents required, false = "none required" acknowledged, null = not set. NOT the files (those are `attachments`).
serviceobject---Service milestone (chosen rate + config).
providerIdstring---Chosen carrier id.
providerCodestring---Carrier code.
providerNamestring---Carrier display name.
priceobject---The quote Parcel Radar computed (POST /orders/{id}/service). Send it back unchanged.
thbnumber---Total price, THB.
zoneNamestring---Rated zone.
customsThbnumber---Customs component, THB.
pickupThbnumber---Pickup component, THB (optional).
shipDatestring-YYYY-MM-DD-Ship date.
pickupGroupIdstring---Pickup-option group (null = provider default).
pickupGroupNamestring---Pickup group name.
pickupAddressstring---Pickup address.
pickupInstructionsstring---Pickup instructions.
optionsarray---Selected service-option names (string[]).
referencesarray---Shipment references (string[]).
notestring---Internal note.
notificationsobject---Notifications milestone.
senderobject---Sender notification prefs.
emailstring---Notified email.
languagestring-"en", "th"-Email language.
optionsarray-"created", "in_transit", "delivered", "exception"-Events to notify on (string[]).
recipientsarray---Recipient notification prefs.
emailstring---Notified email.
languagestring-"en", "th"-Email language.
optionsarray-"created", "in_transit", "delivered", "exception"-Events to notify on (string[]).
createdAtstringYes--ISO-8601 timestamp.
updatedAtstringYes--ISO-8601 timestamp.
attachmentsarray---Uploaded document FILES (metadata) — embedded on a single-order GET/PUT, omitted when the order has none. Distinct from `requireDocument` (that is the state flag; these are the files). Manage them via the documents sub-resource below.
iduuidYes--Document id.
namestringYes--Display name.
descriptionstring---Optional note.
docTypestringYes"INVOICE", "RECEIPT", "TAX", "VAT", "PACKING_LIST", "CUSTOMS", "OTHER"-Document type.
contentTypestring---MIME type as uploaded.
sizeBytesnumberYes--Decoded file size in bytes.
createdAtstringYes--ISO-8601 timestamp.
Response example
{
  "id": "3f9a1c62-8d47-4a1e-9b0c-2e5f6a7b8c90",
  "orderNo": "RDOR202607000042",
  "status": "ON_HOLD",
  "fromCountry": "TH",
  "toCountry": "US",
  "serviceProvider": null,
  "route": null,
  "packages": null,
  "requireDocument": null,
  "service": null,
  "notifications": null,
  "createdAt": "2026-07-16T09:00:00Z",
  "updatedAt": "2026-07-16T13:40:00Z"
}

Service & drop-off

The Service Details tab: a provider's pickup and drop-off options and extra services for the order, an API-cost pickup fee, the drop-off point — then POST /orders/{id}/service saves the choice and Parcel Radar prices it. You never send a price.

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/service-options

List a provider's pickup and drop-off options

The options the Member Portal lists under a rate: one per pickup-option group, priced for this order's saved packages, cheapest first, and the provider's extra services with their prices. Pass the chosen `groupId` to POST /orders/{id}/service — it decides whether the Shipment Label books a courier or prints a drop-off carton mark.

FieldTypeRequiredValuesDefaultNote
providerIduuidYes--A provider id from a Live Rates result.
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/quote

Quote an API-cost pickup fee

For an option whose costMode is api_markup: the courier's pickup price for this order's parcels plus our markup. Pass `quoteId` as `pickupQuoteId` to POST /orders/{id}/service to keep this fee — it holds while nothing on the order changes and the quote is valid; otherwise the courier is asked again (send the same `from` as `pickupFrom`). `available: false` (with `reason`) when no courier in the group can quote.

FieldTypeRequiredValuesDefaultNote
providerIduuidYes--The service's provider.
groupIduuidYes--The option's groupId.
fromobject---A "Pick up from" other than the order's Ship-From.
namestringYes--Contact name.
phonestringYes--Phone the courier calls, e.g. "0812345678".
addressstringYes--House number, building, street.
subDistrictstringYes--Tambon / khwaeng (ตำบล / แขวง), in Thai.
districtstringYes--Amphoe / khet (อำเภอ / เขต), in Thai.
provincestringYes--Province (จังหวัด), in Thai.
zipcodestringYes5 digits-Postcode.
Request example
{
  "providerId": "019e984a-f8b4-726f-8f02-0b51e7016f46",
  "groupId": "a7c4e3d2-1b0a-4f9e-8d7c-6b5a4f3e2d1c"
}
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/service

Select the service (priced by Parcel Radar)

Save the order's service the way the Member Portal's Service tab does: name the provider, its pickup-option group and extra services, and Parcel Radar prices them — the shipping rate (a live carrier is called now), the pickup fee and the extra services, with your membership rate and campaigns (an order from a quotation keeps the quoted price while the quotation is valid and the shipment is no heavier, further or dearer than the one it quoted). You never send a price: PUT /orders/{id} refuses one. Before checkout only (CREATED or PENDING_FUNDING); call it again after a route or package change. A field you leave out keeps the order's saved value. The answer is the order, as GET /orders/{id} shows it.

FieldTypeRequiredValuesDefaultNote
providerIduuidYes--A provider id from a Live Rates result for this order.
pickupGroupIduuid---An option's groupId from service-options. Omitted = the provider's default path (the option with groupId null), which must exist.
pickupFromobject---For an api_markup option: the "Pick up from" the courier is quoted from, when not the order's Ship-From.
namestringYes--Contact name.
phonestringYes--Phone the courier calls, e.g. "0812345678".
addressstringYes--House number, building, street.
subDistrictstringYes--Tambon / khwaeng (ตำบล / แขวง), in Thai.
districtstringYes--Amphoe / khet (อำเภอ / เขต), in Thai.
provincestringYes--Province (จังหวัด), in Thai.
zipcodestringYes5 digits-Postcode.
pickupQuoteIduuid---For an api_markup option: the quoteId from POST /orders/{id}/pickup/quote, to keep the fee you were shown. Used while nothing on the order changed since; otherwise the courier is asked again.
optionsarray-≤ 20-Extra services, by id or name from service-options (string[]).
hasPrinterboolean---Whether you can print the courier's label, for an option that asks. Omitted = not asked (none is kept).
shipDatestring-YYYY-MM-DD-Ship date.
pickupAddressstring-≤ 500 chars-Pickup address note.
pickupInstructionsstring-≤ 500 chars-Instructions to the courier.
referencesarray-≤ 20, each ≤ 100 chars-Your shipment references (string[]).
notestring-≤ 500 chars-A note.
Request example
{
  "providerId": "019e984a-f8b4-726f-8f02-0b51e7016f46",
  "pickupGroupId": "a7c4e3d2-1b0a-4f9e-8d7c-6b5a4f3e2d1c",
  "options": [
    "Insurance"
  ],
  "shipDate": "2026-11-06",
  "references": [
    "PO-412553"
  ]
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/dropoff-points

List drop-off points for an order

The Shops and Warehouses the order may be dropped off at, nearest first (same postcode, district, province, then name), with the provinces to filter by.

FieldTypeRequiredValuesDefaultNote
orderIduuidYes--The order.
qstring---Name or address contains.
provincestring---Only this province.
pagenumber->= 00Zero-based page.
sizenumber-1–5020Page size.
PUThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/dropoff-point

Pick the drop-off point

Pick, change or clear (`tenantId: null`) where the parcel will be brought, from CREATED until the parcel is received.

FieldTypeRequiredValuesDefaultNote
tenantIduuid---A point from GET /dropoff-points; null clears the pick.
Request example
{
  "tenantId": "d1c2b3a4-0000-4000-8000-000000000001"
}

Order Documents

The files attached to an order's Package Documents (invoices, packing lists, …). Bytes travel base64 — no multipart. Also embedded as `attachments` on a single-order GET.

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{orderId}/documents

List an order's documents

The order's uploaded Package Documents (metadata only, newest first). These are the FILES — distinct from the `documents` milestone (the tab's JSON state). The same list is embedded as `attachments` on a single-order GET.

FieldTypeRequiredValuesDefaultNote
iduuidYes--Document id.
namestringYes--Display name.
descriptionstring---Optional note.
docTypestringYes"INVOICE", "RECEIPT", "TAX", "VAT", "PACKING_LIST", "CUSTOMS", "OTHER"-Document type.
contentTypestring---MIME type as uploaded.
sizeBytesnumberYes--Decoded file size in bytes.
createdAtstringYes--ISO-8601 timestamp.
Response example
[
  {
    "id": "7a1b9c2d-0e3f-4a5b-8c6d-9e0f1a2b3c4d",
    "name": "commercial-invoice.pdf",
    "description": "Signed invoice",
    "docType": "INVOICE",
    "contentType": "application/pdf",
    "sizeBytes": 20480,
    "createdAt": "2026-07-18T04:12:00Z"
  }
]
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{orderId}/documents

Upload an order document

Attach a file to the order. The bytes travel base64-encoded in `contentBase64` (a `data:…;base64,` prefix is accepted) — plain JSON, no multipart. Decoded size ≤ 10 MB.

FieldTypeRequiredValuesDefaultNote
namestringYes≤ 200 chars-Display name.
descriptionstring-≤ 500 chars-Optional note.
docTypestringYes"INVOICE", "RECEIPT", "TAX", "VAT", "PACKING_LIST", "CUSTOMS", "OTHER"-One of the document types.
contentBase64stringYes--File bytes, base64 (a `data:…;base64,` prefix is accepted). Decoded ≤ 10 MB.
contentTypestring-≤ 200 chars-MIME type (e.g. application/pdf).
Request example
{
  "name": "commercial-invoice.pdf",
  "description": "Signed invoice",
  "docType": "INVOICE",
  "contentType": "application/pdf",
  "contentBase64": "JVBERi0xLjcKJ..."
}
PUThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{orderId}/documents/{docId}

Update a document

Replace a document's metadata (name / description / docType). Include `contentBase64` to replace the file bytes too; omit it to keep the stored file.

FieldTypeRequiredValuesDefaultNote
namestringYes≤ 200 chars-Display name.
descriptionstring-≤ 500 chars-Optional note.
docTypestringYes"INVOICE", "RECEIPT", "TAX", "VAT", "PACKING_LIST", "CUSTOMS", "OTHER"-One of the document types.
contentBase64string---New file bytes (base64) to replace the stored ones; omit/blank to keep them. Decoded ≤ 10 MB.
contentTypestring-≤ 200 chars-MIME type of the replacement bytes.
Request example
{
  "name": "commercial-invoice-v2.pdf",
  "description": "Re-signed invoice",
  "docType": "INVOICE"
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{orderId}/documents/{docId}

Download a document

Fetch one document WITH its bytes (base64). Decode `contentBase64` to a Blob/file and save it as `name`.

FieldTypeRequiredValuesDefaultNote
namestringYes--Display name (save the file as this).
contentTypestring---MIME type as uploaded.
contentBase64stringYes--File bytes, base64 — decode to a Blob/file.
Response example
{
  "name": "commercial-invoice.pdf",
  "contentType": "application/pdf",
  "contentBase64": "JVBERi0xLjcKJ..."
}
DELETEhttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{orderId}/documents/{docId}

Delete a document

Remove a document from the order.

FieldTypeRequiredValuesDefaultNote

Checkout

The Checkout tab: read the total, accept the provider's conditions, then hold the total on your workspace's wallet (→ SUBMITTED). The money is taken when an officer approves the shipment; until then a withdraw releases the hold.

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/checkout

Read the checkout

What checkout would hold, whether the wallet covers it, and whether the conditions are accepted. Changes nothing; safe to poll. Echo `fingerprint` and `amount` into POST /checkout.

FieldTypeRequiredValuesDefaultNote
orderIduuidYes--The order.
orderNostringYes--Its number.
statusstringYes--The order's status.
amountnumberYes--The total checkout holds (VAT included), THB. Send it back as `expectedAmount`.
vatTotalnumber---The VAT inside `amount`: 7 % on Parcel Radar's own fees (pickup, extra services) only. The carrier's charge and the duties & taxes on the goods carry no VAT — goods exported from Thailand are VAT-free, and the destination duty is passed through as priced. Read it from here; never add VAT on top of the duties yourself.
additionalCostsTotalnumber---Officer-added costs inside `amount` (0 when none).
currencystringYes--"THB".
walletBalancenumber---The prepaid wallet's balance.
walletAvailablenumber---Balance minus credit held by other orders.
sufficientbooleanYes--Whether the prepaid wallet covers `amount`.
alreadyChargedbooleanYes--true once the order is checked out.
fingerprintstring---The quote being charged. Send it back as `fingerprint`.
conditionsAcceptedbooleanYes--Whether the selected provider's conditions are accepted. Checkout refuses until they are.
accountsarrayYes--Every account that could pay — PREPAID first, then an ADVANCE credit line if the workspace has one. Pick one by its `accountId`.
accountIduuid---Send it as `accountId` to POST /checkout to charge this account. null only on a Prepaid wallet never opened yet — omitting `accountId` charges that one too.
accountTypestringYes"PREPAID", "ADVANCE"-PREPAID = your workspace's own money (topped up in the Member Portal). ADVANCE = a credit line Parcel Radar granted, repaid on its bill.
balancenumberYes--The account's balance, THB.
reservednumberYes--Held by your other checked-out orders.
availablenumberYes--Spendable now: what this checkout is judged against.
creditLimitnumber---ADVANCE only: the granted ceiling. null on PREPAID.
outstandingnumber---ADVANCE only: drawn and not yet repaid. null on PREPAID.
currencystringYes--"THB".
sufficientbooleanYes--Whether this account can pay `amount` now: enough available AND no credit hold. Parcel Radar's verdict — check out with an account where it is true.
creditHeldbooleanYes--ADVANCE only: a credit hold refuses this account whatever its balance (409 error.wallet.creditHeld / error.credit.parentOverAllocated). Always false on PREPAID.
creditHeldReasonstring-"GROUP_HOLD", "WRITE_OFF", "OVERDUE", "PARENT_OVER_ALLOCATED", null-Why the hold: a group hold, a write-off, an overdue bill, or the parent group's line below its allocations.
chargedAccountIduuid---Once checked out: the account the hold sits on. null before.
chargedAccountTypestring-"PREPAID", "ADVANCE", null-Its kind.
payerNamestring---The workspace that pays: always the order's own (a super portal never pays for a sub-portal's order).
withdrawBlockedByBookingboolean---true while a live courier booking stops a withdraw (cancel the booking first).
Response example
{
  "orderId": "3f9a1c62-8d47-4a1e-9b0c-2e5f6a7b8c90",
  "orderNo": "RDOR202611000042",
  "status": "CREATED",
  "amount": 1240,
  "vatTotal": 81.12,
  "additionalCostsTotal": 0,
  "currency": "THB",
  "walletBalance": 5000,
  "walletAvailable": 5000,
  "sufficient": true,
  "alreadyCharged": false,
  "fingerprint": "{\"origin\":{\"country\":\"TH\",…}}",
  "conditionsAccepted": false,
  "accounts": [
    {
      "accountId": "a1b2c3d4-0000-4000-8000-0000000000a1",
      "accountType": "PREPAID",
      "balance": 5000,
      "reserved": 0,
      "available": 5000,
      "creditLimit": null,
      "outstanding": null,
      "currency": "THB",
      "sufficient": true,
      "creditHeld": false,
      "creditHeldReason": null
    },
    {
      "accountId": "a1b2c3d4-0000-4000-8000-0000000000a2",
      "accountType": "ADVANCE",
      "balance": 60000,
      "reserved": 0,
      "available": 60000,
      "creditLimit": 100000,
      "outstanding": 40000,
      "currency": "THB",
      "sufficient": true,
      "creditHeld": false,
      "creditHeldReason": null
    }
  ],
  "chargedAccountId": null,
  "chargedAccountType": null,
  "payerName": "Acme Co., Ltd.",
  "withdrawBlockedByBooking": false
}
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/checkout/conditions

Accept the provider's conditions

Accept the selected provider's conditions (prohibited goods, liability, surcharges — GET /instant-quote/conditions shows them). Recorded for that provider: choosing another one asks again.

FieldTypeRequiredValuesDefaultNote
acceptedAtstringYes--ISO-8601 timestamp.
Response example
{
  "acceptedAt": "2026-11-04T02:15:09Z"
}
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/checkout

Check out

Hold the order's total on the wallet (→ SUBMITTED). The amount is never an input: it is the order's own total. Send back what you read from GET /checkout so a changed price is refused instead of charged. On error.wallet.insufficient the body carries `shortfall`, `amount`, `balance`: top the prepaid wallet up (POST /wallet/topups) or in the Member Portal, and check out again.

FieldTypeRequiredValuesDefaultNote
fingerprintstring---From GET /checkout. A different quote → 409 error.order.checkout.stale.
expectedAmountnumber---The `amount` you read. A different total → 409 error.order.checkout.stale.
accountIduuid---The account to charge: the `accountId` of one of GET /checkout's `accounts` — PREPAID or ADVANCE. Omitted = the PREPAID wallet. You choose by id, never by kind; an id that is not one of your workspace's accounts is a 404.
Request example
{
  "fingerprint": "{\"origin\":{\"country\":\"TH\",…}}",
  "expectedAmount": 1240,
  "accountId": "a1b2c3d4-0000-4000-8000-0000000000a2"
}
DELETEhttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/checkout

Withdraw the checkout

Release the hold and return the order to CREATED, so it can be edited again. Only while SUBMITTED, and not while a courier booking is live (cancel it first).

FieldTypeRequiredValuesDefaultNote
orderIduuidYes--The order.
orderNostringYes--Its number.
statusstringYes"SUBMITTED" (checkout), "CREATED" (withdraw)-The order's new status.
chargeIdstring---The held charge.
amountnumberYes--The amount held (or released).
currencystringYes--"THB".
balancenumber---The account's balance — unchanged by a hold.
availablenumber---Spendable after the hold.
Response example
{
  "orderId": "3f9a1c62-8d47-4a1e-9b0c-2e5f6a7b8c90",
  "orderNo": "RDOR202611000042",
  "status": "CREATED",
  "chargeId": "c0a8012e-7f11-4b39-9a4e-2f6d1b7c9e10",
  "amount": 1240,
  "currency": "THB",
  "balance": 5000,
  "available": 5000
}

Shipment Label

The Shipment Label tab, for a checked-out order. handoff says which branch applies: pickup (compare, reserve, book the courier, then print the label) or dropoff (print the carton mark and bring the parcel in).

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/handoff

Pickup or drop-off?

Which Shipment Label branch applies — decided by the saved service's pickupGroupId, never by the caller — plus a drop-off's point and claim code.

FieldTypeRequiredValuesDefaultNote
kindstringYes"pickup", "dropoff"-pickup = book a courier; dropoff = print the carton mark and bring the parcel in. From the saved service's pickupGroupId; an order without one is a drop-off.
destinationsarray---Where a courier would take it (pickup only).
dropoffPointobject---The picked drop-off point ({ tenantId, name, address, publicPhone, publicHours }), or null.
claimCodestring---A checked-out drop-off's code, shown at the counter.
dropoffHintstring-"CHECK_OUT_FIRST", "CHOOSE_ANOTHER_SHOP", "PICKUP_SERVICE", "NOT_ACCEPTING", null-What blocks a drop-off, if anything.
labelRequiredboolean---Whether the courier needs the printed label.
tenantIdentitystring---Your workspace's Member ID (RDT-…), as the labels print it.
Response example
{
  "kind": "pickup",
  "destinations": [
    {
      "key": "WAREHOUSE",
      "label": "Parcel Radar warehouse",
      "address": {
        "name": "Parcel Radar",
        "province": "Bangkok",
        "zipcode": "10260"
      }
    }
  ],
  "dropoffPoint": null,
  "claimCode": null,
  "dropoffHint": null,
  "labelRequired": true,
  "tenantIdentity": "RDT-4K7Q2M"
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/destinations

List pickup destinations

Where a courier would take this order, resolved to addresses (key WAREHOUSE or PROVIDER).

FieldTypeRequiredValuesDefaultNote
keystringYes"WAREHOUSE", "PROVIDER"-Pass as `destination`.
labelstringYes--Its name.
addressobjectYes--Its address.
namestringYes--Contact name.
phonestringYes--Phone the courier calls, e.g. "0812345678".
addressstringYes--House number, building, street.
subDistrictstringYes--Tambon / khwaeng (ตำบล / แขวง), in Thai.
districtstringYes--Amphoe / khet (อำเภอ / เขต), in Thai.
provincestringYes--Province (จังหวัด), in Thai.
zipcodestringYes5 digits-Postcode.
Response example
[
  {
    "key": "WAREHOUSE",
    "label": "Parcel Radar warehouse",
    "address": {
      "name": "Parcel Radar",
      "phone": "021234567",
      "address": "99/9 Sukhumvit 101",
      "subDistrict": "บางจาก",
      "district": "พระโขนง",
      "province": "กรุงเทพมหานคร",
      "zipcode": "10260"
    }
  }
]
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/compare

Compare couriers

Every courier that could collect this order's parcels, with its price and whether it can take them, and the winner. Books nothing. The parcels and addresses come from the order.

FieldTypeRequiredValuesDefaultNote
destinationstring-"WAREHOUSE", "PROVIDER""WAREHOUSE"Where the courier takes it.
fromobject---A "Pick up from" other than the order's Ship-From.
namestringYes--Contact name.
phonestringYes--Phone the courier calls, e.g. "0812345678".
addressstringYes--House number, building, street.
subDistrictstringYes--Tambon / khwaeng (ตำบล / แขวง), in Thai.
districtstringYes--Amphoe / khet (อำเภอ / เขต), in Thai.
provincestringYes--Province (จังหวัด), in Thai.
zipcodestringYes5 digits-Postcode.
Request example
{
  "destination": "WAREHOUSE"
}
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup

Reserve the courier

Reserve the winning courier (status PENDING) — nothing is booked at the courier yet. Checked-out orders only. `idempotencyKey` is required: generate one per attempt and reuse it on a retry, so a retried call returns the same booking.

FieldTypeRequiredValuesDefaultNote
idempotencyKeystringYes1–100 chars-Your key for this attempt. Reuse it when you retry.
destinationstring-"WAREHOUSE", "PROVIDER""WAREHOUSE"Where the courier takes it.
courierCodestring---Only when the comparison tied at the cheapest price; anything else is refused.
fromobject---A "Pick up from" other than the order's Ship-From.
namestringYes--Contact name.
phonestringYes--Phone the courier calls, e.g. "0812345678".
addressstringYes--House number, building, street.
subDistrictstringYes--Tambon / khwaeng (ตำบล / แขวง), in Thai.
districtstringYes--Amphoe / khet (อำเภอ / เขต), in Thai.
provincestringYes--Province (จังหวัด), in Thai.
zipcodestringYes5 digits-Postcode.
notestring-≤ 500 chars-A note for the driver.
Request example
{
  "idempotencyKey": "7b0f3c1e-order-42-try-1",
  "destination": "WAREHOUSE"
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup

List the order's bookings

Every courier booking on the order, newest first — cancelled ones included.

FieldTypeRequiredValuesDefaultNote
iduuidYes--The booking (pickupId).
orderIduuidYes--The order.
statusstringYes"PENDING", "BOOKED", "PICKUP_REQUESTED", "COLLECTED", "CANCELLED", "FAILED"-PENDING = reserved; BOOKED = the shipment exists at the courier and the label prints.
courierCodestring---The courier.
trackNostring---The courier's tracking number (first carton) once BOOKED.
quotedPriceThbnumber---The courier's price.
destinationstring-"WAREHOUSE", "PROVIDER"-Where the courier takes it.
lastErrorstring---Why the last booking attempt failed.
shipmentsarray---One per carton: { cartonNo, trackNo, refCode, vendorOrderId, cancelled }.
bookedAtstring---When the shipment was created.
cancelDeadlinestring---Until when DELETE may still cancel it.
labelRequiredboolean---false: the courier needs no printed label.
Response example
[
  {
    "id": "8c1d2e3f-4a5b-4c6d-8e7f-90a1b2c3d4e5",
    "orderId": "3f9a1c62-8d47-4a1e-9b0c-2e5f6a7b8c90",
    "status": "BOOKED",
    "courierCode": "DPKERRY",
    "trackNo": "KEX123456789TH",
    "quotedPriceThb": 45,
    "destination": "WAREHOUSE",
    "lastError": null,
    "shipments": [
      {
        "cartonNo": 1,
        "trackNo": "KEX123456789TH",
        "refCode": "BKK-01",
        "vendorOrderId": "IS-889120",
        "cancelled": false
      }
    ],
    "bookedAt": "2026-11-04T02:20:41Z",
    "cancelDeadline": "2026-11-04T10:00:00Z",
    "labelRequired": true
  }
]
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/{pickupId}/book

Book the courier

Create the shipment at the courier for a reserved (PENDING) booking: one shipment per carton, each with a real tracking number, so the courier label prints (→ BOOKED). A courier that needs no label is asked to collect at the same time. Booking a BOOKED row returns it unchanged. This is a real shipment at the courier.

FieldTypeRequiredValuesDefaultNote
pickupFromobjectYes--Where the courier collects; the label prints it as the sender.
namestringYes--Contact name.
phonestringYes--Phone the courier calls, e.g. "0812345678".
addressstringYes--House number, building, street.
subDistrictstringYes--Tambon / khwaeng (ตำบล / แขวง), in Thai.
districtstringYes--Amphoe / khet (อำเภอ / เขต), in Thai.
provincestringYes--Province (จังหวัด), in Thai.
zipcodestringYes5 digits-Postcode.
Request example
{
  "pickupFrom": {
    "name": "Green Parker",
    "phone": "0973331702",
    "address": "514 Sukhumvit 55",
    "subDistrict": "คลองตันเหนือ",
    "district": "วัฒนา",
    "province": "กรุงเทพมหานคร",
    "zipcode": "10110"
  }
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/{pickupId}/label

Get the Shipment Label

The end of the flow: the Parcel Radar carton mark plus the courier's label, one HTML sheet per carton with its page size in mm. Render each sheet at that size (e.g. print to PDF with a headless browser) and stick them on the cartons. Before BOOKED the courier sheet is a `preview`; a cancelled booking's is `voided`.

FieldTypeRequiredValuesDefaultNote
sheetsarrayYes--One sheet per carton and kind.
kindstringYes"parcelradar", "courier"-parcelradar = the Parcel Radar carton mark; courier = the courier's label.
htmlstringYes--The sheet, as self-contained HTML. Render it at widthMm × heightMm.
widthMmnumberYes--Page width, mm.
heightMmnumberYes--Page height, mm.
copynumberYes--This sheet's carton number (1-based).
copiesnumberYes--How many cartons.
previewboolean---true before the booking is BOOKED: the barcode is a placeholder (the order number). Book first, then print.
voidedboolean---true for a cancelled or failed booking: nothing on it may be used. Do not print it.
compactobject---The same sheet for a 100×65 mm roll ({ html, widthMm, heightMm }), or null.
missingarrayYes--Kinds with no template (string[]); empty when every sheet rendered.
Response example
{
  "sheets": [
    {
      "kind": "parcelradar",
      "html": "<div class=\"label\">…</div>",
      "widthMm": 100,
      "heightMm": 150,
      "copy": 1,
      "copies": 1,
      "preview": false,
      "voided": false,
      "compact": null
    },
    {
      "kind": "courier",
      "html": "<div class=\"label\">…</div>",
      "widthMm": 100,
      "heightMm": 150,
      "copy": 1,
      "copies": 1,
      "preview": false,
      "voided": false,
      "compact": null
    }
  ],
  "missing": []
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/carton-mark

Get the carton mark

The drop-off branch's label: the Parcel Radar carton mark alone (with a checked-out drop-off's claim code and its QR). Nothing is booked.

FieldTypeRequiredValuesDefaultNote
sheetsarrayYes--One sheet per carton and kind.
kindstringYes"parcelradar", "courier"-parcelradar = the Parcel Radar carton mark; courier = the courier's label.
htmlstringYes--The sheet, as self-contained HTML. Render it at widthMm × heightMm.
widthMmnumberYes--Page width, mm.
heightMmnumberYes--Page height, mm.
copynumberYes--This sheet's carton number (1-based).
copiesnumberYes--How many cartons.
previewboolean---true before the booking is BOOKED: the barcode is a placeholder (the order number). Book first, then print.
voidedboolean---true for a cancelled or failed booking: nothing on it may be used. Do not print it.
compactobject---The same sheet for a 100×65 mm roll ({ html, widthMm, heightMm }), or null.
missingarrayYes--Kinds with no template (string[]); empty when every sheet rendered.
Response example
{
  "sheets": [
    {
      "kind": "parcelradar",
      "html": "<div class=\"label\">…</div>",
      "widthMm": 100,
      "heightMm": 100,
      "copy": 1,
      "copies": 1,
      "preview": false,
      "voided": false,
      "compact": null
    }
  ],
  "missing": []
}
DELETEhttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/{pickupId}

Cancel the booking

Cancel the courier collection and every carton's shipment. Idempotent. Allowed until the booking's cancelDeadline; never once collected.

FieldTypeRequiredValuesDefaultNote
cancelledbooleanYes--true.
Response example
{
  "cancelled": true
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/pickup/{pickupId}/tracking

Track the first mile

The courier's timeline for this booking, fetched now. `trackNo` picks one carton's number (default: the first).

FieldTypeRequiredValuesDefaultNote
trackNostring---One of this booking's tracking numbers.
langstring-"en", "th"-The language the courier's feed answers in, where it has one.

Tracking & export documents

Follow the order — its public tracking link and timeline — and read the data its export documents print from.

GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/tracking

Get the tracking link

The order's public tracking page — made to be handed to your customer — and the carriers following it.

FieldTypeRequiredValuesDefaultNote
statestringYes"READY", "PENDING", "NONE", "HIDDEN", "DISABLED"-READY once the link exists; trackingUrl is null until then.
trackingNostring---The order's tracking number.
trackingUrlstring---The public tracking page.
carrierNamestring---The main carrier.
carrierTrackingNostring---Its tracking number.
carrierLegsarray---{ eventType, carrierName, trackingNo, watching } per leg.
Response example
{
  "state": "READY",
  "trackingNo": "PX4K7Q2M9",
  "trackingUrl": "https://paxel.app/t/PX4K7Q2M9",
  "carrierName": "DHL Express",
  "carrierTrackingNo": "1234567890",
  "carrierLegs": []
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/tracking/timeline

Get the tracking timeline

The checkpoints and events the tracking page shows your customer.

FieldTypeRequiredValuesDefaultNote
trackingNostring---The order's tracking number.
trackingUrlstring---The public tracking page.
checkpointsarrayYes--{ eventType, name, checkpointStatus, courierName, courierTrackingNo, events[{ name, detail, occurredAt }] }.
Response example
{
  "trackingNo": "PX4K7Q2M9",
  "trackingUrl": "https://paxel.app/t/PX4K7Q2M9",
  "checkpoints": [
    {
      "eventType": "FIRST_MILE",
      "name": "Picked up",
      "checkpointStatus": "DONE",
      "courierName": "Kerry Express",
      "courierTrackingNo": "KEX123456789TH",
      "events": [
        {
          "name": "Picked up by courier",
          "detail": null,
          "occurredAt": "2026-11-04T07:41:00Z"
        }
      ]
    }
  ]
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{id}/export-documents

Get the export documents' data

What the order's export documents (commercial invoice, packing list, …) print from: the order, its goods and costs, and each document's template as layout blocks with a page size. Export orders only.

FieldTypeRequiredValuesDefaultNote
exportOrderbooleanYes--Whether the order is an export.
goodsDeclaredbooleanYes--Whether the goods lines are filled in.
orderobject---The order as the documents print it. Its route carries exporterOfRecord / importerOfRecord when the order names them.
costsarray---The cost lines.
templatesarray---{ code, blocks, pageWidthMm, pageHeightMm } per document: the ones Parcel Radar has switched on for this order's destination and provider, e.g. "proforma-invoice", "commercial-invoice", "packing-list", "loa".
Response example
{
  "exportOrder": true,
  "goodsDeclared": true,
  "order": {
    "orderNo": "RDOR202611000042"
  },
  "costs": [],
  "templates": [
    {
      "code": "commercial-invoice",
      "blocks": [],
      "pageWidthMm": 210,
      "pageHeightMm": 297
    },
    {
      "code": "packing-list",
      "blocks": [],
      "pageWidthMm": 210,
      "pageHeightMm": 297
    }
  ]
}

GPS tracker

Put a Paxel GPS tracker on an order so its tracking page shows where the parcel is: send the serial number printed on the tracker with the order — in the path as its order number (RDOR…, as on the label, any case) or its id. A tracker can be on one order at a time, and an order carries one tracker at a time — either way the second is refused until the first is taken off. The order needs its tracking page first, which it gets at checkout.

PUThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{order}/tracking-device

Put a tracker on an order

Bind the tracker with this serial number to the order's tracking page. The serial must be a Parcel Radar tracker that is activated and on no other order, and the order must carry no other tracker — take that one off first (DELETE). Sending the same tracker again changes nothing. The key's member needs the Orders edit permission.

FieldTypeRequiredValuesDefaultNote
serialNumberstringYesletters and digits, ≤ 64-The serial number printed on the tracker, e.g. "220606000473". Letters may be in any case.
Request example
{
  "serialNumber": "220606000473"
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{order}/tracking-device

Read the tracker on an order

The tracker on the order now, with its last reported position. attached is false when none is on it. The key's member needs the Orders view permission.

FieldTypeRequiredValuesDefaultNote
orderNostringYes--The order.
shipmentReadybooleanYes--Whether the order has its tracking page yet. It gets one at checkout; a tracker can be added only after that.
attachedbooleanYes--Whether a tracker is on the order now.
serialNumberstring---The tracker's serial number. null when none is attached.
namestring---The tracker's model name.
statusstring-"ACTIVATED", "DEACTIVATED", "EXPIRED"-The tracker's status.
latitudestring---Its last reported position, decimal degrees. null until it has reported.
longitudestring---Its last reported position, decimal degrees.
lastSeenstring-ISO-8601 UTC-When it last reported its position.
Response example
{
  "orderNo": "RDOR202611000103",
  "shipmentReady": true,
  "attached": true,
  "serialNumber": "220606000473",
  "name": "PaXel Tracker (Pro)",
  "status": "ACTIVATED",
  "latitude": "13.7387779",
  "longitude": "100.5670745",
  "lastSeen": "2026-11-06T06:17:45Z"
}
DELETEhttps://api-sandbox.parcelradar.io/api/partner/v1/orders/{order}/tracking-device

Take the tracker off an order

Take the tracker off the order, so it is free for another one. Calling it again, or on an order with no tracker, changes nothing. The key's member needs the Orders edit permission.

FieldTypeRequiredValuesDefaultNote
orderNostringYes--The order.
shipmentReadybooleanYes--Whether the order has its tracking page yet. It gets one at checkout; a tracker can be added only after that.
attachedbooleanYes--Whether a tracker is on the order now.
serialNumberstring---The tracker's serial number. null when none is attached.
namestring---The tracker's model name.
statusstring-"ACTIVATED", "DEACTIVATED", "EXPIRED"-The tracker's status.
latitudestring---Its last reported position, decimal degrees. null until it has reported.
longitudestring---Its last reported position, decimal degrees.
lastSeenstring-ISO-8601 UTC-When it last reported its position.
Response example
{
  "orderNo": "RDOR202611000103",
  "shipmentReady": true,
  "attached": false,
  "serialNumber": null,
  "name": null,
  "status": null,
  "latitude": null,
  "longitude": null,
  "lastSeen": null
}

Wallet top-up

Top up your workspace's prepaid wallet by QR, the way the Member Portal's Wallet menu does: open a QR for an amount, show it to the payer with its countdown, then read the status until it leaves PENDING. The wallet is credited once, the first time the payment is seen — by your status call, the Member Portal, or Parcel Radar's own check every 30 seconds — so a payment still lands if you stop asking. One QR can be open per workspace at a time. On the sandbox environment the QR is a TEST QR: scanning it with a phone camera (or opening its testPayUrl) pays it, with no real money.

POSThttps://api-sandbox.parcelradar.io/api/partner/v1/wallet/topups

Open a top-up QR

Open a QR that tops up the workspace's prepaid wallet by `amount` THB. Show `qrImageDataUri` (or draw `qrPayload`) to the payer with a countdown from `expiresInSeconds`; the QR can be paid with any Thai banking app for 30 minutes. Then read GET /wallet/topups/{merchantOrderNo} every few seconds until the status leaves PENDING. The key's member needs the Top up wallet permission.

FieldTypeRequiredValuesDefaultNote
amountnumberYes10.00 – 1,000,000.00, ≤ 2 decimals-The THB amount to add to the prepaid wallet.
Request example
{
  "amount": 500
}
GEThttps://api-sandbox.parcelradar.io/api/partner/v1/wallet/topups/{merchantOrderNo}

Read a top-up's status

The top-up's status. While it is PENDING, Parcel Radar asks the payment gateway first, so this call can be the one that credits the wallet; poll every 3–5 seconds while you show the QR. SUCCESS carries the receipt number. A payment the bank confirms a little after the QR expired is still credited: an EXPIRED top-up can turn SUCCESS within about 15 minutes. The key's member needs View wallet.

FieldTypeRequiredValuesDefaultNote
merchantOrderNostringYesRDQR…-The top-up's number. Keep it: read the status with it.
statusstringYes"PENDING", "SUCCESS", "EXPIRED", "CANCELLED", "FAILED"-PENDING = the QR can be paid until expiresAt. SUCCESS = paid and credited to the prepaid wallet. EXPIRED / CANCELLED / FAILED = not paid; open a new QR.
amountnumberYes--The amount the QR charges, THB.
currencystringYes"THB"-Always THB.
paymentMethodstringYes"QR"-How it is paid.
qrImageDataUristring-data:image/png;base64,…-The QR as a PNG, ready for an <img src>. Only while PENDING; null after.
qrPayloadstring---The QR's text (Thai QR / PromptPay), to draw the QR yourself. Only while PENDING. On a TEST QR it is the testPayUrl.
expiresAtstring-ISO-8601 UTC-When the QR stops being payable — 30 minutes after it was opened.
expiresInSecondsnumberYes>= 0-The countdown: seconds left until expiresAt, counted by Parcel Radar when it answered (so your users' clocks do not matter). 0 once the top-up is not PENDING.
serverTimestringYesISO-8601 UTC-Parcel Radar's clock when it answered — pairs with expiresInSeconds.
createdAtstring-ISO-8601 UTC-When the QR was opened.
confirmedAtstring-ISO-8601 UTC-When the payment was credited. null until SUCCESS.
receiptNostring-RDTR…-The top-up receipt's number. null until SUCCESS.
providerTradeNostring---The payment gateway's reference. null until SUCCESS.
mockbooleanYes--true for a TEST QR — the sandbox environment's test gateway (no real money). Always false in production.
testPayUrlstring---TEST QR only: the public link the QR encodes. Opening it — by scanning the QR with a phone camera, or in any browser, no sign-in — pays the top-up. Forward it to whoever plays the payer. null on a real QR.
Response example
{
  "merchantOrderNo": "RDQR20261104120000123A1B2C3",
  "status": "SUCCESS",
  "amount": 500,
  "currency": "THB",
  "paymentMethod": "QR",
  "qrImageDataUri": null,
  "qrPayload": null,
  "expiresAt": "2026-11-04T12:30:00Z",
  "expiresInSeconds": 0,
  "serverTime": "2026-11-04T12:04:10Z",
  "createdAt": "2026-11-04T12:00:00Z",
  "confirmedAt": "2026-11-04T12:03:51Z",
  "receiptNo": "RDTR202611000042",
  "providerTradeNo": "FP2026110412035100017",
  "mock": false,
  "testPayUrl": null
}
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/wallet/topups/{merchantOrderNo}/cancel

Cancel a top-up QR

Close a QR nobody paid, so a new one can be opened. Parcel Radar asks the gateway once more first: a payment that already landed is credited and the answer reads SUCCESS — check the status in the answer. Calling it again, or on a settled top-up, changes nothing.

FieldTypeRequiredValuesDefaultNote
merchantOrderNostringYesRDQR…-The top-up's number. Keep it: read the status with it.
statusstringYes"PENDING", "SUCCESS", "EXPIRED", "CANCELLED", "FAILED"-PENDING = the QR can be paid until expiresAt. SUCCESS = paid and credited to the prepaid wallet. EXPIRED / CANCELLED / FAILED = not paid; open a new QR.
amountnumberYes--The amount the QR charges, THB.
currencystringYes"THB"-Always THB.
paymentMethodstringYes"QR"-How it is paid.
qrImageDataUristring-data:image/png;base64,…-The QR as a PNG, ready for an <img src>. Only while PENDING; null after.
qrPayloadstring---The QR's text (Thai QR / PromptPay), to draw the QR yourself. Only while PENDING. On a TEST QR it is the testPayUrl.
expiresAtstring-ISO-8601 UTC-When the QR stops being payable — 30 minutes after it was opened.
expiresInSecondsnumberYes>= 0-The countdown: seconds left until expiresAt, counted by Parcel Radar when it answered (so your users' clocks do not matter). 0 once the top-up is not PENDING.
serverTimestringYesISO-8601 UTC-Parcel Radar's clock when it answered — pairs with expiresInSeconds.
createdAtstring-ISO-8601 UTC-When the QR was opened.
confirmedAtstring-ISO-8601 UTC-When the payment was credited. null until SUCCESS.
receiptNostring-RDTR…-The top-up receipt's number. null until SUCCESS.
providerTradeNostring---The payment gateway's reference. null until SUCCESS.
mockbooleanYes--true for a TEST QR — the sandbox environment's test gateway (no real money). Always false in production.
testPayUrlstring---TEST QR only: the public link the QR encodes. Opening it — by scanning the QR with a phone camera, or in any browser, no sign-in — pays the top-up. Forward it to whoever plays the payer. null on a real QR.
Response example
{
  "merchantOrderNo": "RDQR20261104120000123A1B2C3",
  "status": "CANCELLED",
  "amount": 500,
  "currency": "THB",
  "paymentMethod": "QR",
  "qrImageDataUri": null,
  "qrPayload": null,
  "expiresAt": "2026-11-04T12:30:00Z",
  "expiresInSeconds": 0,
  "serverTime": "2026-11-04T12:00:00Z",
  "createdAt": "2026-11-04T12:00:00Z",
  "confirmedAt": null,
  "receiptNo": null,
  "providerTradeNo": null,
  "mock": false,
  "testPayUrl": null
}
POSThttps://api-sandbox.parcelradar.io/api/partner/v1/wallet/topups/{merchantOrderNo}/mock-pay

Pay a TEST QR (sandbox environment)

Sandbox environment only: have the test gateway pay a TEST QR (`mock: true`) now, or `delaySeconds` from now, so you can test your status handling without a phone. Opening the top-up's `testPayUrl` does the same. The payment lands through the gateway's notification, as a real one does. A real QR is refused and never paid.

FieldTypeRequiredValuesDefaultNote
delaySecondsnumber-0 – 6000Seconds until the pretend payer pays.