Get Pricing
Get a list of available shipping costs and services along with the fees for each service that you can integrate into your system.
[POST] /api/mitra/v5/shipping_price
Diclaimer: There are separate APIs for Pos Indonesia, RPX, and Paxel services. Please contact our technical team for more information.
Volumetric
Shipment Category | Formula |
---|---|
Regular (Including Next Day, Same Day) | width * length * height / 6 |
Trucking | width * length * height / 4 |
The result of the above calculation is in grams. If the value from the above calculation is greater than the actual weight, then the calculated dimensional weight value will be sent when making a call to this endpoint page.
Request
Param | DataType | Nullable | Description |
---|---|---|---|
origin | int | false | ID dari kecamatan pengirim |
subdistrict_origin | int | true | ID dari kelurahan pengirim, dipakai untuk RPX, POS, dan Paxel |
destination | int | false | ID dari kecamatan customer |
subdistrict_destination | int | true | ID dari kelurahan penerima, dipakai untuk RPX, POS, dan Paxel |
weight | int | false | Akumulasi berat paket dalam gram (berat paket aktual). Jika berat dimensi lebih besar dari berat aktual paket maka yang dikirimkan adalah berat dimensi |
insurance | int | true | Diisi jika paket membutuhkan asuransi (1 true, 0 false) |
item_value | int | true | Wajib diisi jika insurance diisi. Atau diisi untuk menghitung biaya COD dari paket (jika COD) |
courier | string or array | true | Untuk mengetahui list kurir silahkan hubungi kami |
The origin and destination data within the KiriminAja area do not guarantee the availability of rates for all courier services. Service availability follows the areas provided by the couriers to our system.
{
"item_value": 5000,
"insurance": 0,
"origin": 2127,
"destination": 2123,
"subdistrict_origin": 17653,
"subdistrict_destination": 17665,
"length":20,
"width":180,
"height":20,
"weight": 1000,
"courier" : ["ncs"]
}
Response
{
"status": true,
"text": "Berhasil",
"method": "shipping_price",
"details": {
"origin": "Depok",
"destination": "Depok",
"weight": "1000"
},
"results": [
{
"service": "jne",
"service_name": "JNE City to City",
"service_type": "CTC",
"cost": "10000",
"etd": "1-2",
"cod": true,
"group": "regular",
"drop": true,
"settings": {
"cod_fee": "0.03",
"minimum_cod_fee": "2500",
"insurance_fee": "0.002",
"insurance_add_cost": "5000"
}
},
{
"service": "jnt",
"service_name": "J&T Reguler",
"service_type": "EZ",
"etd": "3-4",
"cod": true,
"cost": "7000",
"group": "regular",
"drop": false,
"settings": {
"cod_fee": "0.04",
"minimum_cod_fee": "2500",
"insurance_fee": "0.002",
"insurance_add_cost": 0
}
},
{
"service": "sicepat",
"service_name": "Sicepat SiUntung",
"service_type": "SIUNT",
"cost": "10000",
"etd": "1-2",
"cod": true,
"group": "regular",
"drop": true,
"settings": {
"cod_fee": "0.03",
"minimum_cod_fee": "2500",
"insurance_fee": "0.0025",
"insurance_add_cost": "10000"
}
}
]
}
Response Explaination
Field | Description |
---|---|
service | Kode layanan dari kurir yang terdata di sistem KiriminAja |
service_name | Nama layanan dari kurir yang terdata di sistem KiriminAja |
service_type | Kode tipe layanan dari kurir yang terdata di sistem KiriminAja |
cost | Biaya ongkos kirim |
cod | Dukungan cod untuk layanan ini |
group | Grouping layanan untuk kebutuhan simplicity app |
drop | Dukungan dropoff untuk layanan ini |
settings | Konfigurasi dan perhitungan COD fee, Insurance fee. Nilai cod_fee dan insurance_fee sudah terbagi dengan 100 |
Harap untuk menyimpan data service yang akan dipilih ke sistem anda, kami membutuhkan nilai cost untuk anda kirimkan sebagai parameter shipping_cost di object dalam array paket