---
title: Interface: UseOrders
slug: chord-ui/interface-useorders
docTags: 
createdAt: 2023-11-06T15:03:31.906Z
---

[react-autonomy](docId\:zoZ6W56ubpPACr0PO0GLS).UseOrders

`UseOrders` contains the data and methods returned by the
[useOrders](docId\:LjuHoyiPuYGEePUjHdJKW) hook.

## Properties

### error

• **error**: `Error`

### Defined in

[packages/react-autonomy/src/hooks/use-orders.ts:107](https://github.com/chordcommerce/chord-ui/blob/2b105e1/packages/react-autonomy/src/hooks/use-orders.ts#L107)

***

### isFetching

• **isFetching**: `boolean`

### Defined in

[packages/react-autonomy/src/hooks/use-orders.ts:106](https://github.com/chordcommerce/chord-ui/blob/2b105e1/packages/react-autonomy/src/hooks/use-orders.ts#L106)

***

### isLoaded

• **isLoaded**: `boolean`

### Defined in

[packages/react-autonomy/src/hooks/use-orders.ts:105](https://github.com/chordcommerce/chord-ui/blob/2b105e1/packages/react-autonomy/src/hooks/use-orders.ts#L105)

***

### 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](docId\:LjuHoyiPuYGEePUjHdJKW) automatically calls this.

### Defined in

[packages/react-autonomy/src/hooks/use-orders.ts:113](https://github.com/chordcommerce/chord-ui/blob/2b105e1/packages/react-autonomy/src/hooks/use-orders.ts#L113)

***

### orders

• **orders**: ([`OrderBig`](docId\:DVIAOg1oIcYzDwppPPgmo) | [`OrderSmall`](docId\:Z13HTO4uTQiqx0HaZXiqe))\[]

### Defined in

[packages/react-autonomy/src/hooks/use-orders.ts:104](https://github.com/chordcommerce/chord-ui/blob/2b105e1/packages/react-autonomy/src/hooks/use-orders.ts#L104)
