v1

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

Subscribe a business

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

This endpoint lets you subscribe a business to 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}/subscribe

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

subscription_datenumber

Timestamp representing the date on which the subscription will start

productsProduct[]

List of products

planstring

Any string that define your offer

Example request

{
  "subscription_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
  }
}