Get businesses list
Description#
Allows the admin to view the businesses.
Input#
Pagination inputs#
Business name query#
- Type
- String
Active#
- Type
- Boolean
- Validation
- Required
region entityRegion#
Mechanism#
- Filter as follows:
- Entity propertyBusiness name containing the query string (if provided).
- Entity propertyActive matching the provided state.
- Entity propertyRegion matching the provided region (if provided).
- Sort the businesses by creation date, newest to oldest.
Output#
- Array of business entitybusinesses with the following data:
- Business name
- Thumbnail
- Region
- Published
- Available