Create a customer
POST/api/v1/customer
Creates a customer under your business and returns the new record, including its id. Only email and name are required (dateOfBirth and gender are optional), and the email must not already belong to an existing user (409). Use the returned id as userId when submitting data via POST /api/v1/customer/add-data.
Request
Responses
- 201
- 400
- 401
- 409
- 500
Customer created successfully
Validation failed
Business session is required
Customer with this email already exists
Internal server error