Fetches a list of orders that belongs to the user with the id specified
- userIdThis is the userId of the user
- limitThis is the limit as to how many orders to fetch
- offsetThis indicates the number of orders to skip before fetching the next set, it works along with limit
[Order]
[Order]- idThis is the id of this order
- userIdThis is the userId of the user that has the order
- productCategoryThis is the product category of this order
- productNameThis is the product name of this order
- quantityThis is the quantity of this order
- totalPriceThis is the total price of this order
- orderDateThis is the date the order was placed
- statusThis is the status of this order, it can be Pending, Shipped or Delivered
- shippingAddressThis is the address where the order is to be delivered
- paymentMethodThis is the method that this order is to be paid for after or before delivery
- userUserThis is the user that has this order