# Order Dispatched This endpoint allows merchants to notify the Keeta platform that a courier has picked up the order and the delivery is in progress for merchant self-delivery orders. 1. This API is exclusively for where the merchant manages their own delivery service. 2. Calling this endpoint updates the order status to indicate that the courier has collected the order and delivery is underway. 3. The courier information provided helps customers track their delivery and contact the delivery person if needed. 4. 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 or . Endpoint: POST /order/dispatched Version: v.1.0.0 ## Request fields (application/json): - `orderViewId` (integer, required) Unique identifier for orders on Keeta platform Example: 123456789 - `shopId` (integer, required) Unique identifier of the Keeta store Example: 987654321 - `courierInfo` (object) Comprehensive courier information for self-delivery orders, including personal details, contact information, and vehicle specifications. - `courierInfo.courierId` (integer) Unique identifier for the courier, generated by the vendor system Example: 123456 - `courierInfo.courierName` (string) Full name of the courier responsible for delivery Example: "أحمد محمد" - `courierInfo.courierPhone` (string) Primary contact phone number of the courier Example: "501234567" - `courierInfo.courierVehicle` (integer) Type of vehicle used by the courier for delivery: Enum: 1, 2, 3, 4 - `courierInfo.courierPhoneInterCode` (string) International dialing code for the courier phone number (e.g., "+966" for Saudi Arabia) Example: "+966" - `courierInfo.vehiclePlateNumber` (string) License plate number of the delivery vehicle Example: "DXB-A-12345" - `courierInfo.courierLastName` (string) Last name (family name) of the courier Example: "محمد" - `courierInfo.courierFirstName` (string) First name (given name) of the courier Example: "أحمد" ## Response 200 fields (application/json): - `code` (integer, required) A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully. - `message` (string, required) Text description corresponding to the status code, explaining the operation result or error cause to users. Example: "Success"