Unsubscribe a business
DELETE/api/v2/businesses/:business_id/subscriptions
This endpoint lets you unsubscribe a business to one or several products
Request
Path Parameters
- application/json
 
Body
required
Date of cancellation (UNIX timestamp)
Possible values: [presence_management, review_management, review_booster, messages]
List of products being canceled
Responses
- 200
 - 400
 - 401
 - 403
 - 404
 - 422
 - 500
 
- application/json
 
- Schema
 - Example (from schema)
 
Schema
presence_management
object
required
Possible values: [active, inactive]
Status of the management
review_management
object
required
Possible values: [active, inactive]
Status of the management
review_booster
object
required
Possible values: [active, inactive]
Status of the management
messages
object
required
Possible values: [active, inactive]
Status of the management
{
  "presence_management": {
    "status": "inactive"
  },
  "review_management": {
    "status": "inactive"
  },
  "review_booster": {
    "status": "inactive"
  },
  "messages": {
    "status": "inactive"
  }
}
- application/json
 
- Schema
 - Example (from schema)
 
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
 
- Schema
 - Example (from schema)
 
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
 
- Schema
 - Example (from schema)
 
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
 
- Schema
 - Example (from schema)
 
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
 
- Schema
 - Example (from schema)
 
Schema
Array [
]
HTTP status code
Error message
Possible values: [query, body, response, param]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
  "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
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}