Updated User Registration API (markdown)

Tom Bloor 2017-04-25 21:40:56 +01:00
parent 8b634a748c
commit 34ddacf1a6

@ -1,7 +1,5 @@
# User Registration API # User Registration API
_Last Updated 2017-04-22_
## `POST /api/register` ## `POST /api/register`
Takes a `application/json` payload. The JSON can be one of the following types: Takes a `application/json` payload. The JSON can be one of the following types:
@ -18,7 +16,8 @@ Takes a `application/json` payload. The JSON can be one of the following types:
token : <signup token>, token : <signup token>,
usertype : 'customer', usertype : 'customer',
email : <email (used for login)>, email : <email (used for login)>,
name : <preferred user name>, display_name : <preferred user name>,
full_name : <customer full name>,
postcode : <customer postcode>, postcode : <customer postcode>,
age_range : <age range key>, age_range : <age range key>,
password : <password (used for login)> password : <password (used for login)>