Interface: UseOrders
react-autonomyreact-autonomy.UseOrders
UseOrders contains the data and methods returned by the useOrdersuseOrders hook.
Properties
error
• error: Error
Defined in
isFetching
• isFetching: boolean
Defined in
isLoaded
• isLoaded: boolean
Defined in
loadOrders
• 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 useOrdersuseOrders automatically calls this.
Defined in
orders
• orders: (OrderBigOrderBig | OrderSmallOrderSmall)[]