Updates the currently authorized user's information such as name, email, and password.
PUT
/2024-09/users/current
curl \
--request PUT 'https://app.merchanthq.com/api/2024-09/users/current' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"John Doe","email":"john.doe@example.com"}'
Request examples
{
"name": "John Doe",
"email": "john.doe@example.com"
}
Response examples (401)
{
"message": "Unauthorized"
}
Response examples (404)
{
"message": "Not found"
}