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
Here is the translation of the table to English:
Param | DataType | Nullable | Description |
---|---|---|---|
origin | int | false | ID of the sender's district |
subdistrict_origin | int | true | ID of the sender's village, used for RPX, POS, and Paxel |
destination | int | false | ID of the customer's subdistrict |
subdistrict_destination | int | true | ID of the recipient's village, used for RPX, POS, and Paxel |
weight | int | false | Total weight of the package in grams (actual weight of the package). If the dimensional weight is greater than the actual weight, the dimensional weight is used |
insurance | int | true | Filled if the package requires insurance (1 true, 0 false) |
item_value | int | true | Must be filled if insurance is filled. Or filled to calculate the COD cost of the package (if COD) |
courier | string or array | true | To get the list of couriers, please contact us |
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" : ["jnt","jne"]
}
Response
{
"status": true,
"method": "shipping_price",
"text": "Success",
"details": {
"origin_district_id": 2127,
"origin_subdistrict_id": 17653,
"destination_district_id": 2123,
"destination_subdistrict_id": 17665,
"origin_latitude": 0,
"origin_longitude": 0,
"weight": 1000,
"item_value": 5000,
"width": 180,
"length": 20,
"insurance": 0,
"height": 20,
"expeditions": [
"jnt",
"jne"
],
"origin": 2127,
"destination": 2123,
"origin_kelurahan": 17653,
"destination_kelurahan": 17665,
"courier": [
"jnt",
"jne"
]
},
"results": [
{
"service": "jne",
"service_name": "JNE City to City",
"service_type": "CTC23",
"insurance": "0",
"cost": "120000",
"etd": "1-2",
"cod": true,
"group": "regular",
"drop": true,
"cut_off_time": null,
"force_insurance": false,
"discount_campaign": {
"discount": 0,
"discount_percentage": 0,
"discount_campaign_id": 0,
"discount_type": ""
},
"discount_amount": 12000,
"discount_percentage": 0.1,
"discount_type": "both",
"setting": {
"cod_fee": "0.03",
"minimum_cod_fee": "2500",
"insurance_fee": "0.002",
"insurance_add_cost": "5000"
}
},
{
"service": "jne",
"service_name": "JNE Trucking",
"service_type": "CTCJTR23",
"insurance": "0",
"cost": "60000",
"etd": "3-4",
"cod": false,
"group": "cargo",
"drop": true,
"cut_off_time": null,
"force_insurance": false,
"discount_campaign": {
"discount": 0,
"discount_percentage": 0,
"discount_campaign_id": 0,
"discount_type": ""
},
"discount_amount": 6000,
"discount_percentage": 0.1,
"discount_type": "both",
"setting": {
"cod_fee": "0.03",
"minimum_cod_fee": "2500",
"insurance_fee": "0.002",
"insurance_add_cost": "5000"
}
},
{
"service": "jnt",
"service_name": "J&T JND",
"service_type": "JND",
"insurance": "0",
"cost": "120000",
"etd": "1-2",
"cod": false,
"group": "next_day",
"drop": false,
"cut_off_time": null,
"force_insurance": false,
"discount_campaign": {
"discount": 0,
"discount_percentage": 0,
"discount_campaign_id": 0,
"discount_type": ""
},
"discount_amount": 12000,
"discount_percentage": 0.1,
"discount_type": "both",
"setting": {
"cod_fee": "0.04",
"minimum_cod_fee": "2500",
"insurance_fee": "0.002",
"insurance_add_cost": 0
}
}
]
}
Here is the translation of the table and additional instructions to English:
Field | Description |
---|---|
service | Service code from the courier registered in the KiriminAja system |
service_name | Service name from the courier registered in the KiriminAja system |
service_type | Service type code from the courier registered in the KiriminAja system |
cost | Shipping cost |
cod | COD support for this service |
group | Service grouping for simplicity needs in the app |
drop | Dropoff support for this service |
settings | Configuration and calculation of COD fee and Insurance fee. The values for cod_fee and insurance_fee are already divided by 100 |
Please save the selected service data to your system. We need the cost value for you to send as the shipping_cost parameter in the package object array.