Skip to main content

Update Business State

PATCH 

https://api.staging.powerapi.com/api/v1/businesses/:id/state

Update State of given business

Request

Responses

Update State of given business

Authorization: http

name: bearertype: httpscheme: bearerbearerFormat: JWT
curl -L -X PATCH 'https://api.staging.powerapi.com/api/v1/businesses/:id/state' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"data": {
"id": "string",
"type": "businesses",
"attributes": {
"state": "draft"
}
}
}'
Request Collapse all
Base URL
https://api.staging.powerapi.com
Auth
Parameters
— pathrequired
Body required
{
  "data": {
    "id": "string",
    "type": "businesses",
    "attributes": {
      "state": "draft"
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!