DriverPartnerOrdersApi
All URIs are relative to https://business.apis.kesk.app/v1
| Method | HTTP request | Description |
|---|---|---|
| getDriverPartnerDriverOrderDetails | GET /vendors/{vendor_id}/drivers/{driver_id}/orders/{order_id} | Get order details |
| getDriverPartnerDriverOrders | GET /vendors/{vendor_id}/drivers/{driver_id}/orders | List driver orders |
| updateDriverPartnerDriverOrder | PUT /vendors/{vendor_id}/drivers/{driver_id}/orders/{order_id} | Update order status |
getDriverPartnerDriverOrderDetails
DriverOrderResponse getDriverPartnerDriverOrderDetails(vendor_id, driver_id, order_id)
Get order details
Retrieves comprehensive details about a specific order including customer information, delivery address, items, and current status.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | The ID of the vendor organization | [default to null] |
| driver_id | Long | The ID of the driver viewing the order | [default to null] |
| order_id | Long | The ID of the order to retrieve | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
getDriverPartnerDriverOrders
PaginatedResponse_DriverOrderResponse getDriverPartnerDriverOrders(vendor_id, driver_id, status, type, page, per_page)
List driver orders
Retrieves all orders assigned to the driver with filtering options for status and type. Supports pagination and order history viewing.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | The ID of the vendor organization | [default to null] |
| driver_id | Long | The ID of the driver whose orders to list | [default to null] |
| status | OrderStatus | Filter by order status | [optional] [default to null] [enum: Pending, Accepted, Preparing, Ready, Enroute, Delivered, Completed, Failed, Cancelled] |
| type | OrderListType | Filter by order list type (history/assigned) | [optional] [default to null] [enum: history, assigned] |
| page | Integer | Page number for pagination | [optional] [default to null] |
| per_page | Integer | Number of items per page | [optional] [default to null] |
Return type
PaginatedResponse_DriverOrderResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
updateDriverPartnerDriverOrder
DriverOrderResponse updateDriverPartnerDriverOrder(vendor_id, driver_id, order_id, delivery_confirmation_photo, status, reason)
Update order status
Updates the order status during delivery or service completion. Supports status transitions and delivery confirmation photo uploads.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | The ID of the vendor organization | [default to null] |
| driver_id | Long | The ID of the driver updating the order | [default to null] |
| order_id | Long | The ID of the order to update | [default to null] |
| delivery_confirmation_photo | List | [default to null] | |
| status | String | [optional] [default to null] | |
| reason | String | [optional] [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: multipart/form-data
- Accept: application/json; charset=utf-8