Get Available Dispatchers

You can get the list of the available dispatchers here

POST {{ BASE_URL }}/api/order/dispatchers

Request Body

Name
Type
Description

longitude*

Decimal

longitude*

Decimal

{
  "isSuccessful": true,
  "message": "string",
  "code": "string",
  "data": [
    {
      "photo": {
        "cloudinaryId": "string",
        "url": "string"
      },
      "isOnline": true,
      "ratings": [
        {
          "id": 0,
          "value": 0,
          "comment": "string",
          "serviceType": "Petrol",
          "date": "2023-11-09T08:57:43.667Z"
        }
      ],
      "averageRating": 0,
      "dispatcherId": 0,
      "firstName": "string",
      "lastName": "string",
      "totalCost": 0,
      "merchantPrice": 0,
      "deliveryFee": 0,
      "longitude": 0,
      "latitude": 0,
      "totalDelivery": 0
    }
  ]
}

Last updated