curl --request DELETE \
--url https://api.partoo.co/v2/business/{business_id} \
--header 'x-APIKey: <api-key>'{
"id": "5409c35a97bbc544d8e26737",
"status": "success"
}This endpoint lets you delete a business. You need to have WRITEaccess on this business.
curl --request DELETE \
--url https://api.partoo.co/v2/business/{business_id} \
--header 'x-APIKey: <api-key>'{
"id": "5409c35a97bbc544d8e26737",
"status": "success"
}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.
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.
Was this page helpful?