Skip to main content

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.

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.

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