Flit
  1. Schemas
Flit
  • Flit Client API
    • Pricing
      • Check Serviceability and Calculate Price
    • Orders
      • Create New Order
      • Cancel Order
      • Get Order Details
    • Schemas
      • Schemas
        • Order
        • Error
      • Response
        • UnauthorizedError
        • InternalServerError
  1. Schemas

Order

{
    "_id": "507f1f77bcf86cd799439011",
    "orderId": "FLT-2024-00001",
    "status": "pending",
    "pickupLocation": {
        "address": "123 Koramangala, Bangalore",
        "name": "John Doe",
        "phone": "+919876543210",
        "latitude": 12.9352,
        "longitude": 77.6245
    },
    "dropLocation": {
        "address": "456 Indiranagar, Bangalore",
        "name": "Jane Smith",
        "phone": "+919876543211",
        "latitude": 12.9716,
        "longitude": 77.5946
    },
    "itemDescription": "food items",
    "grandTotal": 85,
    "paymentMethod": "cash",
    "createdAt": "2024-01-15T10:30:00.000Z",
    "deliveryPhoto": "https://s3.amazonaws.com/flit-bucket/delivery-photos/507f1f77bcf86cd799439011.jpg"
}
Built with