v1

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

Update business's plans

This endpoint lets you update the plans of a business.<br /> You need to be a Provider to access this endpoint.<br /> ⚠️You need to send <b>all the plans</b>, those not sent will be removed. We advise you to call the GET endpoint first. ⚠️

post/business/{business_id}/plans

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

Example request

{
  "plans": [
    {
      "name": "presence_management",
      "enabled": true,
      "expiration_date": "2026-01-01"
    },
    {
      "name": "review_management",
      "enabled": false
    }
  ]
}

Response

OK

business_idstring

Business id

status'success'

Request status

Example response

{
  "business_id": "5409c35a97bbc544d8e26737"
}