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

  • 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

  • Email address

  • Default language

  • Phone number

  • ShiftWorks user linked to regular user

  • Default store in case user has multi-unit role use feature 'Unit switch only'

Responses

  • 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