Skip to main content
POST
/
org
/
{org_id}
/
plans
Update organization's plans
curl --request POST \
  --url https://api.partoo.co/v2/org/{org_id}/plans \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "plans": [
    {
      "name": "presence_management",
      "expiration_date": "2026-01-01"
    },
    {
      "name": "review_management"
    }
  ]
}'
{
  "org_id": 42,
  "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

org_id
integer
required

Organization id

Body

application/json
plans
object[]

The exhaustive list of the organization's plans.

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

Response

OK

Result object

org_id
integer

Organization id

Example:

42

status
enum<string>

Request status

Available options:
success