Deactivate a business.
Business/deactivate - Is used if you wish to pause a business, but don't want to delete it. The business will not show in the Business Dashboard anymore and Users can't access it until it is reactivated. This will also remove the business from your monthly bill.
Name | Type | Required | Example | Description |
---|---|---|---|---|
businessId | integer | yes | 6418 | The business id. |
clientId | string(40) | yes | 04f78...9f9f3 | Client id is a unique user identifier provided by GatherUp. |
hash | string(64) | yes | bd13a40...303f3c5 | Hash is a digital request signature. Learn how to generate hash here. |
{ "businessId":6418, "clientId":"80338307b78b8d84c8b4d40e63e235cc312fcebe", "hash":"3b288032e87d12c08c95dc8a96128f19ec1ec207af383328413d18f9e0aaf1fd" }
{ "errorCode":0, "errorMessage":"Success" }
errorCode | errorMessage |
---|---|
-1 | Unknown error |
1 | Invalid hash sign |
2 | Invalid clientId |
3 | Server error - please contact support |
32 | Provided parameters are invalid |
25 | Business does not exist |
41 | Business was not deactivated |