Skip to content

Register new account

POST
/auth/register

Создание нового аккаунта

Request Body

application/json
JSON
{
  
"email": "user@example.com",
  
"display_name": "BMW Parts Store",
  
"password": "SecurePass123"
}

Responses

Account created

application/json
JSON
{
  
"data": {
  
  
"id": 5,
  
  
"display_name": "BMW Parts Store",
  
  
"avatar_url": "https://s3.partizap.ru/avatars/5.webp",
  
  
"city_id": 0,
  
  
"rating": "4.85",
  
  
"reviews_count": 127,
  
  
"products_count": 342,
  
  
"created_at": "string",
  
  
"email": "string",
  
  
"phone": "+79991234567",
  
  
"account_type": "string",
  
  
"email_verified": true,
  
  
"district_id": 0,
  
  
"metro_station_id": 0,
  
  
"is_active": true,
  
  
"is_admin": true
  
}
}

Playground

Server
Body

Samples

Powered by VitePress OpenAPI