Update

The Update method is used to update the exisiting booking. You need to provide details such as the pickup location, delivery location, package weight, and delivery date and time. To use this method, send a POST request to the following endpoint:

Environment Host Endpoint
Test
https://test.xpl.ph/Api/
API/Waybill/WaybillUpdate
Live
https://api.riderx.team/v2/
API/Waybill/WaybillUpdate

Response Body Parameters

Parameters Type Character Limit Required Description

Request

curl --location --request POST 'https://test.xpl.ph/Api/API/Waybill/WaybillUpdate' --header 'Authorization: Bearer < AUTHENTICATION_TOKEN >' --header 'Content-Type: application/json' --data-raw '{ "ServiceType": "Door to Door", "trackingNumber": "RDRXTEST20230314-001", "referenceNumber1": "DR00000001", "referenceNumber2": "", "referenceNumber3": "", "referenceNumber4": "", "referenceNumber5": "", "pickupDate": "2023-03-07 15:00:00.000", "expectedDeliveryDate": "2023-03-07 15:00:00.000", "paymentMethod": "", "codAmount": "550.00", "declaredValue": "500.00", "quantity": "3", "shipperName": "ABC Company", "shipperAddress": "Phase 1 Block 13 Pilar Village", "shipperCountry": "PH", "shipperAddress1": "Luzon", "shipperAddress2": "NCR", "shipperAddress3": "Las Pinas", "shipperAddress4": "B.F. INTERNATIONAL VILLAGE", "shipperPostal": "1234", "shipperContact": "09181234567", "shipperEmail": "abc@gmail.com", "shipperLongitude": "11.222222", "shipperLatitude": "22.333333", "consigneeName": "Juan Santos", "consigneeAddress": "Phase 1 Block 13 Pilar Village", "consigneeCountry": "PH", "consigneeAddress1": "Luzon", "consigneeAddress2": "NCR", "consigneeAddress3": "Las Pinas", "consigneeAddress4": "PAMPLONA 2", "consigneePostal": "1234", "consigneeContact": "09181234568", "consigneeEmail": "juan@gmail.com", "consigneeLongitude": "11.222221", "consigneeLatitude": "22.333331", "returnName": "ABC Company", "returnAddress": "Phase 1 Block 13 Pilar Village ", "returnCountry": "PH", "returnAddress1": "Luzon", "returnAddress2": "NCR", "returnAddress3": "Las Pinas", "returnAddress4": "PAMPLONA", "returnPostal": "1234", "returnContact": "09181234567", "returnEmail": "abc@gmail.com", "returnLongitude": "11.222222", "returnLatitude": "22.333333", "itemDescription": "office supplies", "handlingInstruction": "Handle with care", "merchantName": "ABC Company", "packageType": "Documents", "packageLength": "10", "packageWidth": "20", "packageHeight": "30", "Packagevolume": "1.71", "PackageWeight": "1.71" }'

Request Body Parameters

Parameters Type Description

Response

{ "ResponseMessage": "Waybill has been successfully updated", "ResponseDetail": "Transaction Success" }