Businesses
Subscriptions
Unsubscribe a business
<b>⚠️ This endpoint is deprecated. Please use the new endpoint /business/{business_id}/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.
post/business/{business_id}/unsubscribe
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
{
"canceling_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
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.