Profile

Update user profile

Changed on

Update the authenticated user's profile with fields defined by ProfileUpdate (name, organization, address, country, VAT number, other tax ID, etc.). Email is not editable here.

The optional other tax ID is printed on new invoices, without tax verification or any effect on VAT.

Behavior

  • Only whitelisted fields from ProfileUpdate are applied.

Response Returns the updated profile.

patch/profile

Request

Request body

first_namestring nullable
last_namestring nullable
organizationstring nullable
addressstring nullable
address_line2string nullable
phonestring nullable
zip_codestring nullable
regionstring nullable
citystring nullable
countrystring nullable
tva_numberstring nullable
other_tax_idstring nullable

Optional local tax identifier printed on invoices. Not verified and does not affect VAT.

Example request

{
  "country": "US",
  "first_name": "John",
  "last_name": "Doe",
  "organization": "Acme Inc"
}

Response

User profile updated successfully.

idinteger required
first_namestring required
last_namestring required
organizationstring nullable required
emailstring required
addressstring nullable required
address_line2string nullable required
citystring nullable required
regionstring nullable required
zip_codestring nullable required
countrystring nullable required
phonestring nullable required
tva_numberstring nullable required
other_tax_idstring nullable
adminboolean required
is_uploaderboolean nullable
timestampstring date-time required
subscription_start_datestring date-time nullable required
subscription_end_datestring date-time nullable required
subscription_activeboolean nullable required
subscription_pointsinteger nullable required
subscription_gbinteger nullable
extra_pointsinteger nullable
extra_gbinteger nullable
last_gb_resetstring date-time nullable
stripe_subscription_idstring nullable required
plan_idinteger nullable required
can_prepare_databasesboolean
parent_user_idinteger nullable
team_rolestring nullable
email_confirmedboolean required
last_loginstring date-time nullable required
last_login_ipstring nullable required
registration_ipstring nullable required
campaign_codestring nullable required
register_bystring nullable required
bannedboolean required
apistring nullable required
twofa_enabledboolean required
twofa_pin_enabledboolean
twofa_totp_enabledboolean
has_passwordboolean
referral_codestring nullable
referral_percentagenumber nullable
referral_percentage_renewalnumber nullable
last_points_resetstring date-time nullable

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the new optional request property

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status