Update preferences
Partially updates the current user's preferences. Only the fields explicitly included in the patch payload are changed; omitted fields are left as-is. Supports updating email, phone number, default store and default language. Permissions: All users.
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body·
Patch document containing only the fields to update.
User preferences update model
- Type: stringEmail
Email address
- Type: stringLanguage
I D Default language
- Type: stringPhone
Number Phone number
- Type: stringFormat: uuidShift
Works User I D ShiftWorks user linked to regular user
- Type: integerStore
I D Default store in case user has multi-unit role use feature 'Unit switch only'
Responses
- 200
OK
Request Example for patch/v2/Account/Preferences
curl /v2/Account/Preferences \
--request PATCH \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{
"Email": "",
"PhoneNumber": "",
"StoreID": 1,
"ShiftWorksUserID": "",
"LanguageID": ""
}'
No Body
