Edit User

This API endpoint is used to modify users info, there are some different ways to modify user which depend on the type of user modifier and the type of user modified.
A user is updated with Post because the image modification, happen the same with other endpoints which model contain image modification.

🚧

User Level Restrictions

  • Only the Admin (Level 0) can edit any user.
  • Any user type can edit his own information.

📘

Verification code

Is a field only required to change the cellphone if is already verified or to mark the cellphone as verified is not
To get the verification code Verify Twilio

Using Ordering SDK

const response = await ordering.users(userId).save();
Language
Credentials
Header
Click Try It! to start a request and see the response here!