LaundryAPI
  1. Orders
LaundryAPI
  • Authentication
    • Signup
      POST
    • Resend Verification Code
      POST
    • Verify phone number
      POST
    • Login
      POST
    • Refresh Token
      GET
    • Forgot Password
      POST
    • Reset Password
      PATCH
    • Update Password
      PATCH
    • Logout
      POST
  • Users
    • Get Me
      GET
    • Update Me
      PATCH
    • Delete Me
      DELETE
    • Get All Users
      GET
    • Update User
      PATCH
    • Delete User
      DELETE
    • Create Delivery
      POST
    • Create Admin
      POST
  • Items
    • Get all items
      GET
    • Get Single item
      GET
    • Create item
      POST
    • Update item
      PATCH
    • Delete item
      DELETE
  • Orders
    • Get all orders
      GET
    • Orders within range time
      GET
    • Single Order
      GET
    • Create Order
      POST
    • Delete order
      DELETE
    • Update Order
      PATCH
  • Branches
    • All Branches
    • Single Branch
    • branch's orders
    • Nearest Branches
    • Create Branch
    • update branch
    • Delete branch
  • Notifications
    • All Notifications
    • Create notification
    • Delete Notification
  • Banners
    • All Banners
    • Create Banner
    • Delete Banners
  • WhatsApp
    • initialize whatsapp Session
  • Settings
    • Set Vat Value
    • get Vat Value
  1. Orders

Single Order

GET
http://82.180.154.188:4352/orders/68449802ecd9437297a059ac
Last modified:2025-06-11 17:36:14
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://82.180.154.188:4352/orders/68449802ecd9437297a059ac' \
--header 'Authorization: Bearer '
Response Response Example
{
    "status": "success",
    "data": {
        "order": {
            "_id": "68449802ecd9437297a059ac",
            "user": {
                "_id": "68378af89f567a349f209877",
                "name": "ADMIN",
                "email": "admin@gmail.com",
                "phoneNumber": "201000000000",
                "location": {
                    "type": "Point",
                    "coordinates": [
                        34,
                        23
                    ],
                    "area": "خميس مشيط",
                    "floorNo": "54554"
                }
            },
            "branch": {
                "_id": "68252ebc35681134c64c0a28",
                "name": "juddah Branch",
                "location": {
                    "type": "Point",
                    "coordinates": [
                        30.111111,
                        30.111112
                    ],
                    "area": "juddah"
                },
                "workingDays": [
                    {
                        "day": "Saturday",
                        "isActive": true,
                        "timeRanges": [
                            {
                                "from": "08:00",
                                "to": "12:00"
                            },
                            {
                                "from": "16:00",
                                "to": "20:00"
                            }
                        ]
                    },
                    {
                        "day": "Sunday",
                        "isActive": false,
                        "timeRanges": []
                    }
                ]
            },
            "pickUpDateFrom": "2025-04-11T14:00:00.000Z",
            "pickUpDateTo": "2025-04-11T16:00:00.000Z",
            "deliveryDateFrom": "2025-04-12T14:00:00.000Z",
            "deliveryDateTo": "2025-04-12T16:00:00.000Z",
            "status": "PICKEDUP",
            "priceOfPackage": 30,
            "createdAt": "2025-06-07T19:50:26.807Z",
            "updatedAt": "2025-06-11T17:10:14.771Z",
            "__v": 0,
            "delivery": null,
            "items": [
                {
                    "item": {
                        "_id": "6839ac879acc3a8e983ef55c",
                        "name": "Hat",
                        "priceWashAndIron": 10,
                        "priceIronOnly": 9,
                        "priceDryClean": 12,
                        "__v": 0
                    },
                    "quantity": 2,
                    "serviceType": "WashAndIron",
                    "_id": "6849b876e6256dd9e0035546"
                },
                {
                    "item": {
                        "_id": "6839adf19acc3a8e983ef568",
                        "name": "socks",
                        "priceWashAndIron": 2,
                        "priceIronOnly": 1,
                        "priceDryClean": 1,
                        "__v": 0
                    },
                    "quantity": 1,
                    "serviceType": "DryClean",
                    "_id": "6849b876e6256dd9e0035547"
                }
            ],
            "price": 12
        }
    }
}

Request

Header Params
Authorization
string 
required
Example:
Bearer {{JWT}}

Responses

🟢200OK
application/json
Body
status
string 
required
data
object 
required
order
object 
required
Modified at 2025-06-11 17:36:14
Previous
Orders within range time
Next
Create Order
Built with