Get order list

Description#

Allows the admin to view the orders.

Input#

Pagination inputs#

Order ID query#

  • Type
    • String

Business name query#

  • Type
    • String

Client name query#

  • Type
    • String

Delivery method#

Order state#

Active order#

  • Type
    • Boolean

Mechanism#

  1. Filter as follows:
    • Entity propertyBusiness name containing the query string (if provided).
    • Entity propertyClient name containing the query string (if provided).
    • Entity propertyOrder ID containing the query string (if provided).
    • Active order matching the value (if provided. If not, does nothing).
    • Entity propertyOrder state matching the provided state.
    • Entity propertyDelivery method matching the provided state.
  2. Sort the orders by creation date, newest to oldest.

Output#