Update User
Users
Update User
Update an existing user account belonging to the vendor
PUT
Update User
V2 Alpha — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Update an existing user account belonging to the authenticated vendor. Only fields included in the request body are updated. Returns 404 if the user does not belong to the vendor.Vendor Token Required — This endpoint requires a vendor-scoped JWT token. Merchant tokens will receive a 403 error.
Use Cases
- Update team member permissions or approval status
- Reset a user’s password from the vendor portal
Path Parameters
The user ObjectId to update.
Request Body
Updated email address. Must be a valid email format.
Updated password (minimum 6 characters).
Whether the account is active.
Enable or disable email notifications.
Updated profile information.
Updated permission configuration object.
Response
200
Error Responses
404
409