As a Logged-in User
I need to view and update my account profile details, such as contact info and preferences
So that other users can communicate with me accurately when coordinating item pickups.
Details and Assumptions
- This endpoint must be protected; it requires a valid authentication token (JWT) in the request header.
- Users should only be allowed to modify their own profile data.
Acceptance Criteria
Given an authenticated user sends an update request with new profile information
When the PUT request is processed by the profile endpoint
Then the database should update the user's details and return a 200 OK status with the updated profile
As a Logged-in User
I need to view and update my account profile details, such as contact info and preferences
So that other users can communicate with me accurately when coordinating item pickups.
Details and Assumptions
Acceptance Criteria