> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chift.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Order

### Definition

In the POS API, an order is a record of items a customer selected for purchase at a point of sale. It holds the list of items, quantities, prices, and the associated payment information.

<Note>
  "Order" also exists in the [E-commerce API](/unified-apis/ecommerce/concepts/order) (an online purchase) and the [PMS API](/unified-apis/pms/concepts/order) (services consumed during a guest stay).
</Note>

### Purpose

Orders capture what a customer bought in a single transaction at the point of sale.

### Relationships

* An order belongs to a location.
* It contains one or more line items referencing products.
* It is linked to one or more payments.

### Endpoints

#### Read

| Method | Endpoint                                                              | Description                   |
| ------ | --------------------------------------------------------------------- | ----------------------------- |
| GET    | [Get orders](/api-reference/endpoints/point-of-sale/get-orders)       | Retrieve the list of orders   |
| GET    | [Get one order](/api-reference/endpoints/point-of-sale/get-one-order) | Retrieve a single order by ID |

#### Write

| Method | Endpoint                                                            | Description              |
| ------ | ------------------------------------------------------------------- | ------------------------ |
| PATCH  | [Update order](/api-reference/endpoints/point-of-sale/update-order) | Update an existing order |

### See also

* [Locations](/unified-apis/pos/concepts/location)
* [Customers](/unified-apis/pos/concepts/customer)
