Change password for signed-in user
Note: Use this endpoint to change a user’s password
The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
OK
User
true: User is active
false: User is not active
true
Time user was registered
"2020-04-15T10:08:04.246Z"
Time user's registration expires
"2020-04-15T10:08:04.246Z"
User roles
"customer"
User's full name
User's telephone numbers and details
User's email address
Extra user details
XXX
"XXX"
Merchant account ID
"xxxxxcxxxxxxxxxxxxxx"
User ID
"6169b2d892a5f30009d76480"
User address
Additional user details
Time user was created
"2020-04-15T10:08:04.246Z"
Time user was last updated
"2020-04-15T10:08:04.246Z"