Get business subscriptions
GEThttps://api.staging.powerapi.com/api/v2/businesses/:business_id/subscriptions
This endpoint lets you access the subscriptions of a business
Request
Path Parameters
business_id stringrequired
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
presence_management
object
required
review_management
object
required
review_booster
object
required
messages
object
required
{
"presence_management": {
"status": "inactive"
},
"review_management": {
"status": "inactive"
},
"review_booster": {
"status": "inactive"
},
"messages": {
"status": "inactive"
}
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
location stringrequired
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
curl -L 'https://api.staging.powerapi.com/api/v2/businesses/:business_id/subscriptions' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear