v1

latestSwagger 2.02026-07-13301635.0 KB
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
}
All 30 operations