Creates a new customer in the system.
POST/api/customer
The system checks for existing customers by document ID and email address. If returnIfExist is true, it returns the existing customer instead of throwing an error. When returnIfExist is true and a GlobalId is provided, the existing customer is matched by GlobalId first, falling back to document ID and email address when no GlobalId match is found.
Request
Responses
- 200
- 400
- 403
Customer created successfully
Invalid customer data or Api Error
Unauthenticated user