Frontend API
Methods to manage orders placed by a customer.
Return a list of orders placed by a customer, with offset pagination using limit and page.
You can also use the same method to return orders that have shipments with tracking information.
List account orders
await swell.account.listOrders({
limit: 10,
page: 2
})
Return a single account order by ID.
Get an account order
await swell.account.getOrder('5fab561fb4a4d83c776f45bd')