Skip to main content

Update Current User Profile

PUT 

/api/supplier-portal/me

Update the signed-in user's own profile.

Buyer portal token

Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.

Body: name (required, max 255), phone (optional, max 50), timezone (optional, IANA timezone such as America/Los_Angeles; datetimes in the portal display in this zone, falling back to the supplier's). Returns the updated current user.

Authentication: supplier-portal bearer token. Every request re-checks the user and supplier: a deactivated user gets 401 with reason: user_inactive; a supplier whose portal was switched off (or that was archived) gets 401 with reason: portal_disabled.

Request​

Responses​

OK

Response Headers
    Content-Type