Company Register
POST/auth/register
Registrar una Nueva Empresa y usuario admin
Request
- application/json
Body
Para registrar una Nueva Empresa, con el Usuario Admin
- Array [
- ]
name string
socialName string
accountType string
address object
Modelo de AddressGoogleMaps
address_components object[]
long_name string
short_name string
types string[]
formatted_address string
geometry object
location object
lat number
lng number
location_type string
viewport object
south number
west number
north number
east number
place_id string
plus_code object
compound_code string
global_code string
types string[]
invoice_data object
taxid string
email string
phone string
name_address string
user object
name string
lastname string
email string
password string
birthDate string
timezone string
Responses
- 200
- 406
Example response
- application/json
- Schema
- Example (from schema)
Schema
status numberrequired
data object
{
"status": 0,
"data": {}
}
Example response
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
Possible values: non-empty
, [ALREADY_EXIST
, ALREADY_FAV
, CODE_EXPIRED
, DATA_WRONG
, DB_ERROR
, DUPLICATED_DATA
, ERROR_SAVING
, FORM_DATA_NOT_VALID
, NO_TOKEN
, NOT_FOUND
, PASSWORD_NOT_VALID
, PROP_PRIVATE
, SMTP_SEND_FAILED
, TOKEN_NOT_VALID
, USER_ALREADY_EXIST
, USER_NOT_ALLOWED
, USER_NOT_FOUND
, USER_RELOGIN
, USER_WITHOUT_PASSWORD
]
status numberrequired
Possible values: [200
, 201
, 202
, 204
, 301
, 400
, 401
, 403
, 404
, 405
, 406
, 408
, 418
, 500
, 501
, 503
]
Codigo Error Http
{
"message": "USER_WITHOUT_PASSWORD",
"status": 200
}
Loading...