boscod OpenAPI
  1. Orders
boscod OpenAPI
  • Introduction
  • Shipping label
  • Errors
  • Changelog
  • API
    • Coverage Area
      • Provinces
      • Cities
      • Districts
      • Search Area
    • Rates
      • List Courier
      • Shipping Fee
      • Shipping Fee (SSE)
    • Orders
      • Create Order
        POST
      • Cancel Order
        POST
      • Detail Order
        GET
      • Tracking
        GET
      • Estimation Rates
        GET
  • Webhook
  1. Orders

Estimation Rates

Developing
GET
/v1/order/estimation_rates
To get the shipping fee from origin and destination inputted

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.boscod.com:4004/v1/order/estimation_rates?courier_id=idx&service_code=06&cod=20000&item_value=1&item_weight=1&item_width=10&item_height=10&item_length=10&insurance=1&sender_addr_id=15112&receiver_addr_id=15112' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "max_price": 50000,
    "price": 47500,
    "insurance": 0,
    "cod_fee": 300,
    "cod_fee_ppn": 0,
    "total": 47933,
    "etd_from": 3,
    "etd_thru": 5,
    "calculated_weight": 0
}
Modified at 2025-07-01 07:49:50
Previous
Tracking
Built with