Log In
POST/api/supplier-portal/auth/login
Optional email + password sign-in for supplier users who set a password when accepting their invitation.
Body: email (required, valid email), password (required, string). Wrong credentials, unknown emails and inactive accounts all return the same generic 401. Rate limited: 10 per minute.
Successful sign-in returns {access_token, token_type, user}. When the email has logins under several suppliers, the response is instead {requires_account_selection: true, selection_token, accounts: [{id, supplier_name}]} — finish with Select Account within 10 minutes.
Request
Responses
- 200
- 401
- 422
- 429
OK
Response Headers
Unauthorized
Response Headers
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
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.