API Intergrate

API Intergrate

Delivery APIs are written in REST & SOAP technology. Get familiar with them & visit the detailed API Doc.

Request

                        
                            
                "service": "GetRates",
                "params": {
                    "to_address": {
                        "province_id": 13, 
                        "province_name": "ខេត្តកំពង់ស្ពឺ",
                        "district_id": 96,
                        "district_name": "ស្រុកភ្នំស្រួច",
                        "commune_id": "7168",
                        "commune_name": "ឃុំត្រែងត្រយឹង"
                    },
                    "from_address": {
                        "province_id": "3",
                        "province_name": "ខេត្តកំពត",
                        "district_id": "10",
                        "district_name": "ស្រុកដងទង់",
                        "commune_id": "6402",
                        "commune_name": "ឃុំខ្ជាយខាងត្បូង"
                    },
                    "parcels": [
                        {
                            "item_type": null,        
                            "total_dimension_cm": 0,  
                            "total_weight_grams": 600
                        }
                    ],
                    "carrier_code": "CP"
                }  
                          
                        

Respone

                          
                            
                "Result": "OK",
                "data": [
                {
                    "carrier": "CP",
                    "carrier_id": "CP",
                    "carrier_label": "CP",
                    "rate": 3.68,
                    "delivery_days": 3,
                    "service": "ភ្នំពេញ-ស្រុក"
                }]
                          
                        
                      

Request

                        
                            
                "service": "Ship",
                "params": {
                    "to_address": {
                        "name": "Seak Chanry",
                        "company": "GIS",
                        "phone": "639452082715",
                        "email": "seakchanry@gmail.com",
                        "country": "Cam",
                        "city": "1",
                        "zip": "120308",
                        "province_id": "3",
                        "province_name": "ខេត្តកំពង់ស្ពឺ",
                        "district_id": "10",
                        "district_name": "ស្រុកសំរោងទង",
                        "commune_id": "7236",
                        "commune_name": "ឃុំព្នាយ",
                        "village_id": "1",
                        "village_name": "",
                        "street_id": "1",
                        "lat": "12.00102391082",
                        "lng": "104.30102391082",
                        "address": "# 230 ST 123, Commune VEAL VONG, istrict PRAMPIR MAKARA, City/Province PHNOM PENH"
                    },
                    "from_address": {
                        "name": "Duck Chandane",
                        "company": "Kess",
                        "phone": "9272918555",
                        "email": "dukchandanegmail.com",
                        "city": "1",
                        "zip": "120308",
                        "province_id": "3",
                        "province_name": "ខេត្តកំពង់ស្ពឺ",
                        "district_id": "10",
                        "district_name": "ស្រុកសំរោងទង",
                        "commune_id": "7236",
                        "commune_name": "ឃុំព្នាយ",
                        "village_id": "2",
                        "village_name": "",
                        "street_id" : 1, 
                        "lat": "12.00102391082",
                        "lng": "104.30102391082",
                        "address": "Commune Olampik, District BOENG KENG KANG, City/Province PHNOM PENH"
                    },
                    "parcels": [
                        {
                            "item_type": null,    
                            "total_dimension_cm": 60, 
                            "total_weight_grams": 1000  
                        },
                    ],
                    "items": [
                        {
                            "description": "Online product",    
                            "quantity": 4,                      
                            "total_weight_grams": 200,          
                            "total_warranty_costs": 24          
                        },
                        {
                            "description": "Online product test",    
                            "quantity": 4,                      
                            "total_weight_grams": 200,          
                            "total_warranty_costs": 24          
                        }
                    ],
                    "total_amount": "50 USD",
                    "carrier_name": "KESS_DELIVERY",
                    "carrier_service": "KESS DELIVERY",
                    "carrier_code": "CP", 
                    "currency": "KHR",
                    "order_no": "574580", 
                    "payment_method": "KESS", 
                    "note": "Ship by 25/06/2018"
                }  
                          
                        

Respone

                          
                            
                "Result": "OK",
                "data": {
                    "success": true,
                    "new_order_no": "1510254183630",
                    "tracking_carrier": "CP",
                    "tracking_number": "574580",
                    "additional_tracking_numbers": [],
                    "status": "1"
                }
                          
                        
                      

Request

                        
                            
            "service": "GetTracking",
            "params": {
                "code": "574580"
            }  
                          
                        

Respone

                          
                            
                "Result": "OK",
                "data": {
                    "carrier_name": "CP",
                    "carrier_logo": "https://devdelivery.kesspay.io/storage/shippers/September2025/PqUmKxz2elrCfqhrI0Bs.png",
                    "events": [
                        {
                            "event_date": "2025-10-15T04:18:07.000000Z",
                            "country": "KH (CAMBODIA)",
                            "event_type": "Shipment Requested",
                            "location": null,
                            "mail_category": "",
                            "next_office": "",
                            "reason": "",
                            "signatory_nm": "",
                            "status_code": "000",
                            "event_type_kh": "សំណើរសុំដឹកជញ្ជូន"
                        }
                    ]
                }