bosOnline
  1. API Boscod
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh Token
    • Product
      • Inventory
      • Download Inventory
      • Download Variant
      • Update Inventory
      • Get Category
      • Get Edit Product
      • Product List
      • Edit Product Detail (Product Detail)
      • product
      • Delete Product
      • Edit Status Product (Product List)
      • Download Product (Product List)
      • Product Detail
      • Product Variant
      • Edit Status Variant (Product Detail)
      • Update Variant
      • Upload Image
      • Cek SKU
    • Form
      • Form
      • Edit Form
      • Form Detail
      • Edit Status Form (Product Detail)
      • Form list
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
    • Order
      • Checkout
        • Request Create Order
        • Request Create Order Abandoned
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
      • Edit Payment Method
      • Detail Order
      • Edit Customer Order
      • Edit Another Fee
      • Order List
      • Confirm Payment
      • Update Payment Method
      • Update Pengiriman Kurir
      • Update Status Order
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
        • Get Revenue
      • Store
      • Cek SubDomain
      • Get Region
      • Store
      • Warehouse
      • On Boarding
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Tips
      • Announcement
      • Edit Subdomain
    • API Boscod
      • Cek Ongkir
        GET
      • Wilayah
        GET
      • Tracking Order
        GET
      • Reset Password
        GET
      • Warehouse
        POST
      • Order Shipping
        POST
      • winpay service
        POST
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Data Deletion
      • Default Warehouse
      • Me
    • Staff
      • Staff
      • Delete staff
      • Create Staff
      • Edit Status Staff
    • Rekening
      • Bank List
      • Get Rekening List
      • Rekening Detail
      • Create Rekening
      • Edit Rekening
      • Delete Rekening
      • Edit Status Rekening
    • Voucher
      • List Voucher
      • Edit Voucher Status
      • Voucher
      • List Voucher Checkout
      • Delete Voucher
  • AdminBosOnline
    • Dashboard
      • Recap Store
      • Revenue
      • Order Recap
  1. API Boscod

Cek Ongkir

Testing
GET
/ongkir
Endpoint ini digunakan untuk cek ongkir ke API BosCOD
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/ongkir?sender_addr_id=14900&receiver_addr_id=15780&item_weight=1&w=10&h=10&i=10&form_id=6bed868b-2415-4101-9026-9290760b9c95&courier_code=idx'
Response Response Example
{
    "data": [
        {
            "cod": 1,
            "courier_name": "IDEXPRESS",
            "drop_off": "1",
            "etd": "1-3",
            "max_price": 18000,
            "price": 14400,
            "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"
        }
    ]
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
sender_addr_id
integer 
optional
Example:
14900
receiver_addr_id
integer 
optional
Example:
15780
item_weight
integer 
optional
Example:
1
w
integer 
optional
Example:
10
h
integer 
optional
Example:
10
i
integer 
optional
Example:
10
form_id
string 
optional
Example:
6bed868b-2415-4101-9026-9290760b9c95
courier_code
string 
optional
Example:
idx

Responses

🟢200Success
application/json
Body
data
array [object {12}] 
required
cod
integer 
required
courier_name
string 
required
drop_off
string 
required
etd
string 
required
max_price
integer 
required
price
integer 
required
service_code
string 
required
service_name
string 
required
shipping_type
string 
required
volume_price
integer 
required
rating
integer 
required
courier_code
string 
required
Modified at 2025-06-19 10:20:55
Previous
Edit Subdomain
Next
Wilayah
Built with