Order//
- Update Courier Information
Order Dispatched
Order Delivered
Update Delivery Tracking Information
Update Courier Informatio...
This endpoint allows merchants to update courier information for merchant self-delivery orders, including courier name, phone number, vehicle information, and other delivery-related details.
Notes:
- This API is exclusively for merchant self-delivery orders where the merchant manages their own delivery service.
- Updated courier information helps customers track their delivery and contact the delivery person.
- This API can be called multiple times to update different courier details as needed.
- At least one courier information field must be provided in the request.
- This API can only be called after the order has been accepted by the merchant. It cannot be used to update orders that have been completed or cancelled,
- https://open.mykeeta.com/api/openhttps://open.mykeeta.com/api/open/order/updateCourierInfo
curl -i -X POST \
https://open.mykeeta.com/api/open/order/updateCourierInfo \
-H 'Content-Type: application/json' \
-d '{
"orderViewId": 123456789,
"shopId": 987654321,
"courierInfo": {
"courierId": 123456,
"courierName": "أحمد محمد",
"courierPhone": "501234567",
"courierVehicle": 3,
"courierPhoneInterCode": "966",
"vehiclePlateNumber": "DXB-A-12345",
"courierLastName": "محمد",
"courierFirstName": "أحمد"
}
}'Courier information update successful
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
| Enum Value | Description |
|---|---|
| 0 | The request was executed successfully. |
| Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
Example:0
Response
{ "code": 0, "message": "Success" }