SIGN UP BUSINESS USER
POST
/auth/signup/businessRequest
Header Params
X-Tonic-Env
string
required
Example:
development
Body Params application/json
name
string
required
password
string
required
phoneNumber
string
required
username
string
required
email
string
required
country
string
required
business
object
required
name
string
required
website
string
required
description
string
required
Example
{
"name": "Akinbiyi Fatunmbi",
"password": "Computer7,",
"phoneNumber": "+2347038784406",
"username": "akinpiers",
"email": "akinbiyi@thetonictech.com",
"country": "Nigeria",
"business": {
"name": "Akinpiers's Business",
"website": "https://thetonictech.com",
"description": "About this business"
}
}
Request samples
Responses
201 SIGN UP BUSINESS USER(201)
422 SIGN UP BUSINESS USER(422)
201 SIGN UP BUSINESS USER
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
message
string
required
success
boolean
required
data
object
required
name
string
required
email
string
required
phoneNumber
string
required
username
string
required
business
object
required
meta
object
required
settings
object
required
Example201 SIGN UP BUSINESS USER
{
"message": "data fetched",
"success": true,
"data": {
"name": "Michael George",
"email": "george@thetonictech.com",
"phoneNumber": "2348000000000",
"username": "michaelgeorge_1730672802298",
"business": {
"name": "Mikkycody's Business",
"website": "https://thetonictech.com",
"description": "About this business"
}
},
"meta": {
"settings": {}
}
}
Last modified: 10 days ago