> ## 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 E-commerce API, an order is a record of a purchase made by a customer on an online store. It holds the list of items, quantities, prices, shipping details, and payment status.

<Note>
  "Order" also exists in the [PMS API](/unified-apis/pms/concepts/order) (services consumed during a guest stay) and the [POS API](/unified-apis/pos/concepts/order) (items selected at a point of sale).
</Note>

### Purpose

Orders capture each purchase made through the online store.

### Relationships

* An order belongs to a customer.
* It contains line items referencing products.
* It is linked to a payment method.

### Endpoints

#### Read

| Method | Endpoint                                                                            | Description                   |
| ------ | ----------------------------------------------------------------------------------- | ----------------------------- |
| GET    | [Get all orders](/api-reference/endpoints/ecommerce/get-all-orders)                 | Retrieve all orders           |
| GET    | [Get one specific order](/api-reference/endpoints/ecommerce/get-one-specific-order) | Retrieve a single order by ID |

#### Write

| Method | Endpoint                                                              | Description        |
| ------ | --------------------------------------------------------------------- | ------------------ |
| POST   | [Create an order](/api-reference/endpoints/ecommerce/create-an-order) | Create a new order |

### See also

* [Customers](/unified-apis/ecommerce/concepts/customer)
* [Products](/unified-apis/ecommerce/concepts/product)
