auth

Registers a new account

post/auth/register

Request body

loginstring required

email address

passwordstring required
fnamestring required

first name

lnamestring required

last name

discount_codestring

optional discount code

Example request

{
  "login": "john@jjf.com",
  "password": "8yfqwiuy@!$",
  "fname": "John",
  "lname": "Smith"
}

Response

successful registration

statusstring
user_idinteger

Example response

{
  "status": "OK",
  "user_id": 979877
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.