Skip to main content
POST
/
business
/
{business_id}
/
plans
Update business's plans
curl --request POST \
  --url https://api.partoo.co/v2/business/{business_id}/plans \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "plans": [
    {
      "name": "presence_management",
      "enabled": true,
      "expiration_date": "2026-01-01"
    },
    {
      "name": "review_management",
      "enabled": false
    }
  ]
}'
{
  "business_id": "5409c35a97bbc544d8e26737",
  "status": "success"
}

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Path Parameters

business_id
string
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.

Body

application/json
plans
object[]

The exhaustive list of the business' plans.

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

Response

OK

Result object

business_id
string

Business id

Example:

"5409c35a97bbc544d8e26737"

status
enum<string>

Request status

Available options:
success