PUT
/
stores
/
company
/
{company_id}
/
offboard
Offboard Company
curl --request PUT \
  --url https://api-staging.luladelivery.store/stores/company/{company_id}/offboard
{
  "success": true
}
This endpoint starts the offboarding process for a company, which is a safer alternative to permanent deletion. Offboarding allows for a controlled wind-down of operations while maintaining data integrity and compliance requirements.

What is Offboarding?

Offboarding is a structured process that:
  • Gracefully transitions the company out of active service
  • Preserves historical data for compliance and reporting
  • Ensures proper closure of ongoing operations
  • Maintains audit trails for business purposes
  • Allows for potential reactivation if needed
Offboarding vs Deletion: Unlike deletion, offboarding preserves all company data while marking the company as no longer active. This approach is recommended for compliance and business continuity.

Path Parameters

company_id
string
required
The unique identifier of the company to offboard

Offboarding Process

Post-Offboarding Effects

Response

success
boolean
Indicates whether the offboarding process was successfully initiated

Response Example

{
    "success": true
}

Reactivation Process

Best Practices

Error Scenarios

Timing Considerations: Plan offboarding during low-activity periods to minimize impact on customers and operations. Consider timezone differences if serving multiple regions.
Compliance: Offboarding maintains compliance with data retention requirements while safely removing companies from active service. This approach is preferred over deletion for regulated industries.