Tarif

API mendapatkan tarif

Good to know: All the methods shown below are synced to an example Swagger file URL and are kept up to date automatically with changes to the API.

Domestic

Mendapatkan harga tarif domestic

POST /tarif/domestic

Request Body

Name
Type
Description

origin_code*

String

destination_code*

String

weight*

int

{
    "success": true,
    "res": {
        "code": 200,
        "message": "OK"
    },
    "message": "success get tariff domestic",
    "data": {
        "detail": {
            "origin": "TAPUNG HULU, KAMPAR (PKU)",
            "destination": "KABUH, JOMBANG (MJK)",
            "weight": "1"
        },
        "data": [
            {
                "name": "JNE",
                "service_type": "REG23",
                "leadtime": "3 - 4 hari",
                "image": "https://stg-lms.saitrans.id/images/vendor_courier/jne.png",
                "total": 45000,
                "insurance_fee": 0,
                "insurance_value": 0,
                "minimum_kilo": 0,
                "tariff": 45000,
                "goods": [
                    {
                        "goods_name": "lorem",
                        "goods_type": "document",
                        "weight": "1",
                        "vol_longth": 1,
                        "vol_width": 1,
                        "vol_height": 1,
                        "qty": 1,
                        "vol_weight": 1,
                        "billed_weight": 1,
                        "price": 45000
                    }
                ]
            },
            {
                "name": "Ninja",
                "service_type": "Standard",
                "leadtime": " ? Hari",
                "image": "https://stg-lms.saitrans.id/images/vendor_courier/1686715774.png",
                "total": 46000,
                "insurance_fee": 0,
                "insurance_value": 0,
                "minimum_kilo": 0,
                "tariff": 46000,
                "goods": [
                    {
                        "goods_name": "lorem",
                        "goods_type": "document",
                        "weight": "1",
                        "vol_longth": 1,
                        "vol_width": 1,
                        "vol_height": 1,
                        "qty": 1,
                        "vol_weight": 1,
                        "billed_weight": 1,
                        "price": 46000
                    }
                ]
            }
        ]
    }
}

Ekspor

Mendapatkan harga tarif ekspor

POST /tarif/international

Request Body

Name
Type
Description

origin_code

String

destination_code

String

weight

Int

pickup_domestic

String

Impor

Mendapatkan harga tarif impor

POST /tarif/import

Request Body

Name
Type
Description

origin_code

String

destination_code

String

weight

Int

pickup_domestic

String

Last updated