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

Shipping Fee

Developing
GET
/v1/courier/rates
Calculates and returns detailed shipping rates from multiple courier services based on package specifications and shipping parameters. Supports dimensional weight calculation and includes courier performance ratings.

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/courier/rates?destination_id=14900&origin_id=15780&weight=1&courier_code=idx&length=10&height=10&width=10' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
[
    {
        "cod": 1,
        "courier_name": "IDEXPRESS",
        "drop_off": "1",
        "etd": "2-3",
        "max_price": 14500,
        "price": 11600,
        "service_code": "00",
        "service_name": "STD",
        "shipping_type": "regular",
        "volume_price": 6000,
        "rating": 0,
        "courier_code": "idx"
    },
    {
        "cod": 1,
        "courier_name": "IDEXPRESS",
        "drop_off": "1",
        "etd": "3-5",
        "max_price": 50000,
        "price": 47500,
        "service_code": "06",
        "service_name": "IDTruck",
        "shipping_type": "cargo",
        "volume_price": 4000,
        "rating": 0,
        "courier_code": "idx"
    }
]
🟠400Bad Request
🟠404Record Not Found
Modified at 2025-03-04 02:57:50
Previous
List Courier
Next
Shipping Fee (SSE)
Built with