Get Order

GET {{BASE_URL}}/api/order/{{orderId}}

{
  "isSuccessful": true,
  "message": "string",
  "code": "string",
  "data": {
    "id": 0,
    "dispatcher": {
      "id": 0,
      "firstName": "string",
      "lastName": "string",
      "phone": "string",
      "email": "string",
      "photoUrl": "string",
      "addedDate": "2023-11-09T19:03:56.062Z",
      "lastKnownLocation": {
        "longitude": 0,
        "latitude": 0
      },
      "locationLastUpdated": "2023-11-09T19:03:56.062Z",
      "isOnline": true,
      "rating": 0
    },
    "productType": "string",
    "status": "string",
    "requestTime": "2023-11-09T19:03:56.062Z",
    "deploymentTime": "2023-11-09T19:03:56.062Z",
    "arrivalTime": "2023-11-09T19:03:56.062Z",
    "completionTime": "2023-11-09T19:03:56.062Z",
    "cancelationTime": "2023-11-09T19:03:56.062Z",
    "deliveryLocation": "string",
    "additionalInfo": "string",
    "deliveryCoordinates": {
      "longitude": 0,
      "latitude": 0
    },
    "route": [
      {
        "location": {
          "longitude": 0,
          "latitude": 0
        }
      }
    ],
    "baseFare": 0,
    "quantity": 0,
    "productUnitCost": 0,
    "totalProductCost": 0,
    "unitDistanceRate": 0,
    "distance": 0,
    "totalDistanceCost": 0,
    "unitTimeCost": 0,
    "totalTimeCost": 0,
    "totalDeliveryCharge": 0,
    "totalCost": 0,
    "rating": 0,
    "estimatedDistance": "string",
    "estimatedTime": "string",
    "paymentType": "string",
    "deliveryFee": 0,
    "size": 0
  }
}

Last updated