Update Business
PUT /api/v1/businesses/:businessId
Description
Update business by ID
Request
-
URL:
/api/v1/businesses/:businessId -
Auth: Bearer Token
Headers
-
Content-Type: application/json -
Authorization: Bearer (Added as a part of the security scheme)
/api/v1/businesses/:businessId
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"userId": "<string>",
"aboutMe": "<string>",
"website": "<string>",
"name": "<string>",
"photo": "<string>",
"phone": "<string>",
"actionBy": "<string>",
"category": "UNREGISTERED"
}
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 200
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /api/v1/businesses/:businessId \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!