DELETE
/
stores
/
company
/
{company_id}
Delete Company
curl --request DELETE \
  --url https://api-staging.luladelivery.store/stores/company/{company_id}
{
  "success": true
}
This endpoint permanently removes a company from the system. This is an irreversible operation that will delete the company record and may cascade to associated entities like stores, orders, and customer data.
Destructive Operation: This action cannot be undone. All company data, associated stores, and related information will be permanently deleted from the system.

Path Parameters

company_id
string
required
The unique identifier of the company to delete

Prerequisites

Before deleting a company, ensure:

Deletion Impact

Response

success
boolean
Indicates whether the deletion operation was successful

Response Example

{
    "success": true
}

Error Scenarios

Alternative Approaches

Best Practice: Consider using the Update Company endpoint to set active: 0 or change status to “Churned” instead of permanent deletion. This preserves valuable business data while effectively removing the company from active operations.
Compliance: Ensure deletion complies with data retention policies, GDPR requirements, and any regulatory obligations in your jurisdiction.