List businesses
API operation: Open the endpoint in Scalar
Use GET /business to list businesses. The operation is Business.findAll.business.
The operation supports public discovery and can use type, location, dropdownoption, params, offset, limit, timestamp, and other operation-specific query values. Not every parameter combination is valid; support can depend on project configuration.
mode=dashboard is authenticated. In the list controller it accepts administrators, business managers, and driver managers, then applies role-specific visibility. The ordinary discovery flow can filter businesses by delivery context without dashboard mode.
GET https://api.ordering.co/v400/en/YOUR_PROJECT/business?type=1&location=40.7539143,-73.9810162¶ms=zones,name,slug
The archived guide described only delivery, pickup, and eat-in. The operation supports additional order types; the supported order types can depend on project configuration.
For fields and expansions, see Business model and Business special requests.
OpenAPI reference
Operation: GET /business
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
params | string | No | Comma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields. |
orderBy | string | No | Field to sort by, with - prefixed for descending order. Multiple fields can be chained with commas. |
where | string | No | JSON filter over the fields the model declares as filterable. Valid fields for each resource are exposed in its x-ordering-whereable schema extension. |
page | integer | No | Page number, starting at 1. Applies only to lists that return a pagination block. |
page_size | integer | No | Number of items per page. |
dropdownoption | integer | No | — |
dropdown_option_id | integer | No | — |
city | string | No | — |
disabled_business | boolean | No | — |
limit | integer | No | — |
location | string | No | Location filter serialized as lat,lng. The legacy flow also accepts a JSON-encoded object with lat and lng. |
menu_id | integer | No | — |
mode | string | No | — |
offset | integer | No | — |
order_type_id | integer | No | — |
timestamp | integer | No | — |
type | integer | No | — |
v | string | No | — |
Header parameters
| Name | Type | Required | Description |
|---|---|---|---|
X-APP-X | string | No | — |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |