Skip to main content

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-TypeValue
Content-Typeapplication/json

Body (raw)

{
"userId": "<string>",
"aboutMe": "<string>",
"website": "<string>",
"name": "<string>",
"photo": "<string>",
"phone": "<string>",
"actionBy": "<string>",
"category": "UNREGISTERED"
}

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

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!