Registrations
Entry Point: /registrations/{scope}/newaccount
The registrations resource family enables you to create new customers.
Register New Account
Register a new account for a customer.
You cannot create a new customer if a customer is already logged into Cortex API. For example, if a customer logged on through a web browser, the customer cannot create a new customer until the customer logs out. If you attempt to create a customer when a customer is logged in, Cortex API throws an error.
All the fields in the registration form must be filled out to create a customer.
Workflow
- Start with root
GET
the link with rel: newaccountform- Fill out the form
POST
the form using the link with rel: registeraction
Request Fields
registrations.new-account-registration
Type: Name | Description | Type |
---|---|---|
given-name | The first name associated with new account. | string |
family-name | The last name associated with new account. | string |
username | The username associated with new account. Username should be the customer’s email address. By default, Cortex API is expecting a customer’s email address for their username . Your implementation of Cortex API may differ, so check with your system administrator for your username rules. | string |
password | The password associated with new account. | string |