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#

  1. 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).
  2. Sort the businesses by creation date, newest to oldest.

Output#