Loyalty.lt
Authentication

Update User Preferences

Update the authenticated user's preferences

PUT/{locale}/shop/auth/preferences

Update the authenticated user's preferences

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/en/shop/auth/preferences" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "message": "Preferences updated successfully",  "data": {    "key1": "value1",    "key2": "value2"  }}