List courier services
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.
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>.
courier_code*stringCourier code from List couriers. Case-insensitive.
The courier and its services.
application/json- response
statusCode*integermessage*stringdata*curl -X GET 'https://sandbox-api.fastrac.example/b2b/courier/service?courier_code=string'{ "statusCode": 200, "message": "Courier services retrieved successfully.", "data": { "courierCode": "JNE", "courierId": 3, "isEnabled": true, "supportedTypes": [ "REGULAR" ], "services": [ { "id": 12, "code": "REG", "courierCode": "JNE", "courierId": 3, "name": "JNE Reguler", "type": "REGULAR", "vehicle": null, "defaultDiscountPercentage": 10, "etdMinimumDay": 2, "etdMaximumDay": 3, "isEnabled": true, "volumetricConversion": 6000, "freeRts": false, "shippingRateTtlSeconds": 900 }, { "id": 13, "code": "YES", "courierCode": "JNE", "courierId": 3, "name": "JNE YES", "type": "NEXTDAY", "vehicle": null, "defaultDiscountPercentage": 5, "etdMinimumDay": 1, "etdMaximumDay": 1, "isEnabled": true, "volumetricConversion": 6000, "freeRts": false, "shippingRateTtlSeconds": null } ] }}Was this page helpful?
List couriers GET
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.
List package types GET
Returns the package categories you can declare. Send the `id` (as a number) as `packages[].packageTypeId` in **Get shipping rates**. Some courier services refuse certain categories; such services are left out of the quote. No authentication is required.