Status Values & Error Reference
Data Models
Branch Status Values
active: Branch is operational.inactive: Branch is not operational.paused: Branch is temporarily paused.
Sales Register Status Values
active: Register is operational.inactive: Register is not in use.maintenance: Register is under maintenance.
Error Responses
All endpoints return consistent error structures:
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid input data. |
| 401 | Unauthorized - Missing or invalid JWT token. |
| 403 | Forbidden - Insufficient permissions for the resource. |
| 404 | Not Found - Resource doesn't exist. |
| 500 | Internal Server Error. |
Example Error
{
"message": "Error description"
}Updated 20 days ago