PATCH /api/users/me
Update the current user’s profile information, including name and preferences. All fields are optional.Authentication
This endpoint requires a valid JWT token in the Authorization header.Request Body
All fields are optional. Only include the fields you want to update.User’s first name (minimum 2 characters)
User’s last name (minimum 2 characters)
Preferred currency code (exactly 3 characters, e.g., ARS, USD, EUR)
Day of month when fiscal period starts (1-28). Used for monthly reports and budget calculations.
Response
Returns the updated user object.User UUID
User’s email address
Updated first name
Updated last name
Updated preferred currency
Updated fiscal start day
Example Requests
- Update Name
- Update Currency
- Update Fiscal Day
cURL
JavaScript
Example Response
Validation Rules
First Name & Last Name
First Name & Last Name
- Must be at least 2 characters long
- Cannot be empty strings
- Should contain valid characters
Currency
Currency
- Must be exactly 3 characters (ISO 4217 format)
- Examples: ARS, USD, EUR, GBP, JPY
- The app supports multi-currency transactions
Fiscal Start Day
Fiscal Start Day
- Must be an integer between 1 and 28
- Day 28 is the maximum to ensure validity across all months
- Used for monthly budget periods and reports
Error Responses
400 - Validation Error
400 - Validation Error
401 - Unauthorized
401 - Unauthorized
404 - User Not Found
404 - User Not Found
Impact of Currency Change
Fiscal Start Day Usage
ThefiscalStartDay setting affects:
- Budget Periods: Budgets are calculated from this day of the month
- Monthly Reports: Financial summaries use this as the period boundary
- Dashboard: Month-to-date calculations respect this setting
fiscalStartDay = 15, January’s budget period runs from Jan 15 to Feb 14.
Related Endpoints
Get Profile
Retrieve current profile information
Register
Create a new user account
