Create User
Users
Create User
Create a new user account for the vendor
POST
Create User
V2 Alpha — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Create a new user account for the authenticated vendor. ThevendorId is automatically derived from the vendor token, and the user type is always set to vendor. Optionally send an invitation email to the new user.
Vendor Token Required — This endpoint requires a vendor-scoped JWT token. Merchant tokens will receive a 403 error.
Use Cases
- Invite team members to the vendor portal
- Automate account provisioning for new vendor staff
Request Body
Email address for the new user. Must be a valid email format.
Password for the new user (minimum 6 characters).
Vendor name label for the user.
Whether the account is immediately active.
Enable email notifications for the user.
Send an invitation email to the new user.
User profile information.
Permission configuration object for granular access control.
Response
201
Error Responses
409