...
Method | POST | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description | creates a new customer profile | This method will begin an email validated registration process. The merchant id, email, and password are the only required fields. You may also provide the first and last name to pre-populate the account. Upon successful email verification, any prior orders associated with the email address will be updated and assigned to the newly created account. | |||||||||
Cookies |
| A new account cannot be created if the customer is logged in. They must log out first to create an account. | |||||||||
Path Parameters | none | ||||||||||
Query Parameters |
| ||||||||||
Headers |
| ||||||||||
Receives Json | MyAccount object | ||||||||||
Returns Json | MyAccount object | the return object will contain the customer profile id (unique identifier) If the merchant account does not allow customer profiles, a 400 Bad Request is returned. If the email is already registered for this merchant, a 400 Bad Request is returned. password is not returned. a string of asterisks is returned instead. | |||||||||
Example |
|
...