Add 1
Body
Required
-
gender
string Values are
MALE
,FEMALE
,ANY
, orNONE
. -
category
string Values are
MECHANIC
,PLUMBER
,ELECTRICIAN
,BUSINESS
,PERSONAL_SHOPPER
,HOUSE_KEEPING
,CARPENTER
,GENERATOR_REPAIR
,HOME_INSTALLER
,GUEST
, orUSER
. -
specialties
array[string] -
consent
string Values are
NONE
,YES
, orNO
. -
first_name
string -
last_name
string -
email_address
string -
phone_information
object Additional properties are allowed.
POST
/business/associate/add
curl \
--request POST 'https://sandbox.serchservice.com/api/v1/business/associate/add' \
--header "Content-Type: application/json" \
--data '{"gender":"MALE","category":"MECHANIC","specialties":["string"],"consent":"NONE","first_name":"string","last_name":"string","email_address":"string","phone_information":{"phone_number":"string","country_code":"string","iso_code":"string","country":"string"}}'
Request examples
{
"gender": "MALE",
"category": "MECHANIC",
"specialties": [
"string"
],
"consent": "NONE",
"first_name": "string",
"last_name": "string",
"email_address": "string",
"phone_information": {
"phone_number": "string",
"country_code": "string",
"iso_code": "string",
"country": "string"
}
}
Response examples (200)
{
"status": "100 CONTINUE",
"code": 42,
"message": "string",
"data": [
{
"profile": {
"id": "string",
"category": "string",
"image": "string",
"gender": "string",
"status": "string",
"avatar": "string",
"certificate": "string",
"rating": 42.0,
"more": {
"last_signed_in": "string",
"number_of_rating": 42,
"number_of_shops": 42,
"total_service_trips": 42,
"total_shared": 42
},
"specializations": [
{
"id": 42,
"special": "string",
"category": "string",
"image": "string",
"avatar": "string"
}
],
"first_name": "string",
"last_name": "string",
"email_address": "string",
"phone_info": {
"phone_number": "string",
"country_code": "string",
"iso_code": "string",
"country": "string"
},
"verification_status": "REQUESTED",
"business_information": {
"name": "string",
"description": "string",
"address": "string",
"logo": "string"
}
},
"verified": true,
"status": "SUSPENDED"
}
]
}