List package types
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.
All package types.
application/json- response
statusCode*integermessage*stringdata*array<>curl -X GET 'https://sandbox-api.fastrac.example/b2b/order/category-item'{ "statusCode": 200, "message": "Request successful.", "data": [ { "id": "1", "category": "Elektronik" }, { "id": "2", "category": "Fashion" }, { "id": "8", "category": "Frozen" } ]}Was this page helpful?
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.
Get shipping rates POST
Quotes a shipment for one courier or for every courier of a type. Each result is saved as a **shipping rate** with a `shippingRateCode` that is valid until `validUntil`. Pass that code to **Create an order** to book the shipment at the quoted price. Requires the `READ_SHIPPING_RATES` permission. Quoting with `codOption.isCod: true` also requires `USE_COD`.