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

# Orders (OMS)

> Capture customer orders centrally, route them to a fulfilling store and advance them through their lifecycle in the Solya POS Centrale.

The **Order Management System (OMS)** captures customer orders centrally, routes
each one to the store that will fulfil it, and advances it through its lifecycle.
It is how a network handles orders that are not a simple over-the-counter sale.

## What it is for

* **Capture** an order with its customer and lines.
* **Route** the order to the store best placed to fulfil it (informed by
  [network availability](/en/centrale/reseau-atp)).
* **Advance** the order through its stages, with the ability to **revert** a
  step if needed.

## Key screens and actions

<Steps>
  <Step title="Capture an order">
    The capture view records the order's customer and lines and creates the order.
  </Step>

  <Step title="Route to a store">
    Assign the order to a fulfilling store so the right location picks and
    prepares it.
  </Step>

  <Step title="Advance through the lifecycle">
    Move the order forward stage by stage; the order detail view shows its current
    state and history.
  </Step>

  <Step title="Revert if needed">
    Step an order back to an earlier stage to correct a mistake.
  </Step>
</Steps>

## In the API

| Capability       | Endpoints                                                     |
| ---------------- | ------------------------------------------------------------- |
| List & detail    | `GET /v1/orders`, `GET /v1/orders/{id}`                       |
| Capture          | `POST /v1/orders`                                             |
| Route            | `POST /v1/orders/{id}/route`                                  |
| Advance / revert | `POST /v1/orders/{id}/advance`, `POST /v1/orders/{id}/revert` |

See the [API Reference](/en/developers/overview) for full details, and
[transfers](/en/centrale/transferts) for moving the stock an order may require.
