- 19 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Create Customer/Patient
- Updated on 19 Nov 2024
- 1 Minute to read
- Print
- DarkLight
This API is used to add a Customeror or Patient to the Relay platform.
Contains the API key needed.
Client ID
A customer onboard JSON document
Required field that specifies the product group Id that will be assigned to the Customer or Patient. A Customer or Patient can only be assigned to a single product group.
Uniquely identifies a Customer or Patient.
A second identifier representing the Customer or Patient.
Contains the first name of the Customer or Patient.
Contains the middle name of the Customer or Patient.
Contains the last name of the Customer or Patient.
Contains the date of birth of the Customer or Patient. Format (yyyy-mm-dd).
Contains the last 4 digits of the Customer or Patient.
Identifies the gender of the Customer or Patient.
Identifies the first line of the address.
Identifies the second line of the address.
Identifies the city of the address.
Identifies the state or province of the address.
Identifies postal code of the address.
Identifies country of the address.
Identifies the channel type of the channel_addr field.
Contains the channel address.
Identifies the consent of the Customer or Patient.
OK - The Customer or Patient was successfully loaded.
Bad Request - There was an issue with the request. The response body will contain additional information related to the bad request.
Unauthorized - The API token does not have authorization to the requested resource.
Not Found - The requested resource was not found. Please verify the route parameter.
Conflict - Indicates the request could not be processed. A common reason is when attempting to create a new Customer or Patient, but the ID already exists in the system.
Server Error - An unexpected server error occurred. The response body should contain additional information related to the server error. Please retry your request.