LaundryAPI
  1. Users
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
    • 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
  1. Users

Update Me

PATCH
http://82.180.154.188:4352/users/me
Last modified:2025-04-11 12:23:35
Updates the logged-in user's profile information. Requires authorization. The user must be authenticated to make changes to their own data.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'http://82.180.154.188:4352/users/me' \
--header 'Authorization: Bearer ' \
--form 'location="<longitude>"' \
--form 'location="<latitude>"' \
--form 'area="خميس مشيط"' \
--form 'floorNo="54554"'
Response Response Example
{"status":"success"}

Request

Header Params
Authorization
string 
required
Example:
Bearer {{JWT}}
Body Params multipart/form-data
name
string 
optional
Example:
Mostafa Elsawy
phoneNumber
string 
optional
Example:
01025723911
bio
string 
optional
Example:
Hellow this is me
location
array[string]
optional
An array of length 2 containing longitude and latitude
Example:
["<longitude>","<latitude>"]
area
string 
optional
Example:
خميس مشيط
buildingNo
string 
optional
Example:
1111
floorNo
string 
optional
Example:
54554
apartmentNo
string 
optional
Example:
2332
buildingLockCode
string 
optional
Example:
12332
securityGuardMobile
string 
optional
Example:
132312

Responses

🟢200OK
application/json
Body
status
string 
required
Previous
Get Me
Next
Delete Me
Built with