Permissions

Cached consent preferences for communication channels

Update cached user permission flags

post

Stores communication permission flags for a basket/user pair.

Throttling scope: user-permissions.

Header parameters
CookiestringRequired

Session cookie header (e.g. sessionid=abc123)

X-CSRFTokenstringRequired

CSRF token header for unsafe methods (POST/PUT/PATCH/DELETE)

Body
uidstringRequired

User identifier used by permission cache

basketintegerRequired

Active basket identifier

sms_allowedbooleanOptional

SMS communication consent

call_allowedbooleanOptional

Call communication consent

email_allowedbooleanOptional

Email communication consent

whatsapp_allowedbooleanOptional

WhatsApp communication consent

Responses
post
/users/permissions/

No content

Last updated

Was this helpful?