Get Current User
GET/api/supplier-portal/me
The signed-in supplier user with their supplier, the merchant's branding, the portal capabilities to show and their notification preferences. capabilities.dropship is true only when the merchant enabled it AND the supplier actually has dropship purchase orders or dropship warehouses. has_password tells whether password sign-in is available.
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.
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
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthorized
Response Headers
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.