---
title: "Unsubscribe a business"
method: POST
path: "/business/{business_id}/unsubscribe"
tags: ["Businesses", "Subscriptions"]
deprecated: true
---

# Unsubscribe a business

`POST /business/{business_id}/unsubscribe`

## Request

- Base URL: `https://api.partoo.co/v2`
- URL: `https://api.partoo.co/v2/business/{business_id}/unsubscribe`
- Auth: API key in header `x-APIKey`
- TypeScript: <https://skmtc.dev/partoo/apis/partoo-rest-api/docs/business/:business_id/unsubscribe/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

<b>⚠️ This endpoint is deprecated. Please use the new endpoint [`/business/{business_id}/plans`](/api-reference/subscriptions/update-businesss-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.

## Path parameters

- `business_id` string, required

## Request body

- object
  - `canceling_date` number: Timestamp representing the date on which the subscription will stop to be valid
  - `products` Product[]: List of products

## Response `200`

OK

- object
  - `presence_management` union
    - ProductSubscribeResponseObject
      - `subscription_date` integer: Date on which the subscription was activated
      - `status` 'active'
    - ProductUnsubscribeResponseObject
      - `canceling_date` integer: Date on which the subscription was canceled
      - `status` 'inactive'
  - `review_management` union
    - ProductSubscribeResponseObject
      - `subscription_date` integer: Date on which the subscription was activated
      - `status` 'active'
    - ProductUnsubscribeResponseObject
      - `canceling_date` integer: Date on which the subscription was canceled
      - `status` 'inactive'
  - `review_booster` union
    - ProductSubscribeResponseObject
      - `subscription_date` integer: Date on which the subscription was activated
      - `status` 'active'
    - ProductUnsubscribeResponseObject
      - `canceling_date` integer: Date on which the subscription was canceled
      - `status` 'inactive'
  - `messages` union
    - ProductSubscribeResponseObject
      - `subscription_date` integer: Date on which the subscription was activated
      - `status` 'active'
    - ProductUnsubscribeResponseObject
      - `canceling_date` integer: Date on which the subscription was canceled
      - `status` 'inactive'

## Other responses

- `400`: Your request is incorrect
- `401`: You are not authenticated
- `403`: You are not allowed to perform this action
- `404`: Resource does not exist

---

[API](https://skmtc.dev/partoo/apis/partoo-rest-api.md) - [All operations](https://skmtc.dev/partoo/apis/partoo-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/partoo/apis/partoo-rest-api/revisions/dcb8190f5a29?raw)
