Update a single user

Updates the user identified by login. Errors are returned with HTTP 200 as {id: "", success: false, errors}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Only the provided fields are updated.

string
required
length ≤ 100

Login of the user to update (identifies the user, USER0022 if unknown)

integer

Profile ID (must exist, USER0017)

string
length ≤ 50

Last name

string
length ≤ 30
string
length ≤ 100

Contact email address (validated)

string
length ≤ 50

Parsed and stored in E.164 format (default region FR). Must not be empty if sent.

password

Back-office password. Hashed server-side.

integer
enum
Allowed:
string
length between 2 and 2

ISO 639-1 language code; must exist

integer
enum

Back-office access

Allowed:
integer
enum

API access

Allowed:
string

Code of the default store / point of sale (must exist, USER0014)

stores
array of strings

Store codes to link. ["*"] = all stores, [] = no store. A store already linked to the user is rejected (USER0028).

stores
string
length ≤ 100
date

Entry date (YYYY-MM-DD). Any other length is stored as 0000-00-00.

date

Leaving date (YYYY-MM-DD). Any other length is stored as 0000-00-00.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json