Interfaces
Interface: UseOrders
react-autonomy.UseOrders
UseOrders contains the data and methods returned by the useOrders hook.
• error: Error
• isFetching: boolean
• isLoaded: boolean
• loadOrders: LoadOrdersOverload
Loads all orders that the customer might have for the store. This function should only need to be called in exceptional circumstances, as useOrders automatically calls this.
• orders: (OrderBig | OrderSmall)[]