Skip to main content

Update Notification Preferences

PUT 

/api/supplier-portal/me/notifications

Set which emails the signed-in user receives.

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: preferences (required object of event => boolean; known events: po_sent, po_changed, reminders, payments — unknown keys are ignored, omitted events keep their current value), daily_digest (required, boolean). 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