Get orders history
Description#
Allows the clients to fetch their past orders.
Input#
Pagination inputs#
Mechanism#
- Select only order entityorders that have the following Entity propertystatus:
- Cancelled.
- Cancelled by admin.
- Delivered.
- Sort the results by order date, from most recent to least recent.
Output#
- Array of order entityorders.