Interfaces

Interface: UseOrders

react-autonomy.UseOrders

UseOrders contains the data and methods returned by the useOrders 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 useOrders automatically calls this.

Defined in



orders

orders: (OrderBig | OrderSmall)[]

Defined in