Create Business
POST/businesses/
Create Business
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
namestringrequired
locationIdstringrequired
phonestring
emailstring
websitestring
addressstring
citystring
postalCodestring
statestring
countrystring
descriptionstring
{
"name": "Microsoft",
"locationId": "5DP4iH6HLkQsiKESj6rh",
"phone": "+18832327657",
"website": "www.xyz.com",
"address": "street adress",
"city": "new york",
"postalCode": "12312312",
"state": "new york",
"country": "us",
"description": "business description"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success Value
buisenessobjectrequired
Business Response
{
"success": true,
"buiseness": {
"id": "63771dcac1116f0e21de8e12",
"name": "Microsoft",
"phone": "string",
"website": "microsoft.com",
"address": "string",
"city": "string",
"description": "string",
"state": "string",
"postalCode": "string",
"country": "united states",
"updatedBy": {},
"locationId": "string",
"createdBy": {},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
}