v1

latestOpenAPI 3.1.0© Copyright Partoo2026-07-26163503484.0 KB
Businesses
Subscriptions

Unsubscribe a business

<b>⚠️ This endpoint is deprecated. Please use the new endpoint /business/{business_id}/plans instead. ⚠️</b>

This endpoint lets you unsubscribe a business from one or several Partoo products.

You need to have WRITE access on the business you want to subscribe.

You need to have PROVIDER to be able to perform this action.

post/business/{business_id}/unsubscribe

Path parameters

business_idstring required

Business id.

It may be replaced by c-{code} where code is the store code, which should be unique per organization. This can be used only for ORG_ADMIN, GROUP_MANAGER and BUSINESS_MANAGER users.

Request body

canceling_datenumber

Timestamp representing the date on which the subscription will stop to be valid

productsProduct[]

List of products

Example request

{
  "canceling_date": 1540628702,
  "products": [
    "presence_management"
  ]
}

Response

OK

Example response

{
  "presence_management": {
    "subscription_date": 1540628702
  },
  "review_management": {
    "subscription_date": 1540628702
  },
  "review_booster": {
    "subscription_date": 1540628702
  },
  "messages": {
    "subscription_date": 1540628702
  }
}