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
200
Permissions updated
No content
400
Validation error
post/users/permissions/
POST /users/permissions/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
X-CSRFToken: text
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"uid": "text",
"basket": 1,
"sms_allowed": true,
"call_allowed": true,
"email_allowed": true,
"whatsapp_allowed": true
}No content
Last updated
Was this helpful?

