Update Business State
PATCHhttps://api.staging.powerapi.com/api/v1/businesses/:id/state
Update State of given business
Request
Responses
- 200
Update State of given business
Authorization: http
name: bearertype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
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"
}
}
}'
ResponseClear