List couriers
Returns the couriers you can quote, with branding for your checkout UI. Use code as
courierCode in Get shipping rates. A courier is usable only when isOperational is
true (the courier is enabled and has at least one enabled service).
Requires the READ_SHIPPING_RATES permission. Results are cached for up to 15 minutes.
bearerAuthAuthorizationBearer <token>An access token from the OAuth2 client-credentials grant. Exchange your API key
(client_id + client_secret) at the token endpoint and send
Authorization: Bearer <access_token>.
type?stringOnly couriers that offer this type. EXPRESS is accepted as an alias of REGULAR. Case-insensitive.
"INSTANT""REGULAR""EXPRESS"search?stringFilter by courier name or code.
isEnabled?stringOnly enabled (true, 1) or disabled (false, 0) couriers. Omit for both.
"true""false""1""0"Couriers matching the filters.
application/json- response
statusCode*integermessage*stringdata*array<>curl -X GET 'https://sandbox-api.fastrac.example/b2b/courier/all'{ "statusCode": 200, "message": "Couriers retrieved successfully.", "data": [ { "code": "JNE", "name": "JNE", "isEnabled": true, "hasEnabledServices": true, "isOperational": true, "logoUrl": "https://cdn.fastrac.example/couriers/jne.png", "logoUrlBw": "https://cdn.fastrac.example/couriers/jne-bw.png", "logoSquareUrl": "https://cdn.fastrac.example/couriers/jne-square.png", "bgColor": "#0B3C8C", "supportedCourierTypes": [ "REGULAR" ] }, { "code": "LALAMOVE", "name": "Lalamove", "isEnabled": true, "hasEnabledServices": true, "isOperational": true, "logoUrl": "https://cdn.fastrac.example/couriers/lalamove.png", "logoUrlBw": null, "logoSquareUrl": null, "bgColor": "#F16622", "supportedCourierTypes": [ "INSTANT" ] } ]}Was this page helpful?
Look up a postal code GET
Returns every subdistrict that uses a postal code, with its full region hierarchy. One postal code often covers several subdistricts, so let the user pick one. No authentication is required. Note that `subdistrictId` is a **number** here; send it as a string in rate requests.
List courier services GET
Returns one courier and all its services (for example JNE Reguler and JNE YES), with the service type, vehicle, estimated delivery days and default discount. Use it to show which services exist before quoting; prices come only from **Get shipping rates**. Requires the `READ_SHIPPING_RATES` permission.