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

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

`UseOrder` contains all the data and methods returned by the
[useOrder](docId\:B58V0XkCcy-QMcyDzO7m2) hook.

## Properties

### error

• **error**: `Error`

### Defined in

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

***

### isFetching

• **isFetching**: `boolean`

### Defined in

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

***

### isLoaded

• **isLoaded**: `boolean`

### Defined in

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

***

### loadOrder

• **loadOrder**: (`orderNumber`: `string`) => `Promise`\<[`OrderBig`](docId\:DVIAOg1oIcYzDwppPPgmo)>

### Type declaration

▸ (`orderNumber`): `Promise`\<[`OrderBig`](docId\:DVIAOg1oIcYzDwppPPgmo)>

### Parameters

| Name          | Type     |
| ------------- | -------- |
| `orderNumber` | `string` |

### Returns

`Promise`\<[`OrderBig`](docId\:DVIAOg1oIcYzDwppPPgmo)>

### Defined in

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

***

### order

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

### Defined in

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