> For the complete documentation index, see [llms.txt](https://docs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akinon.com/technical-guides/oms/fulfillment/shipments.md).

# Shipments

Shipments involve three fundamental concepts:

* Packaging
* Shipment
* Continuous Shipment Status Tracking

A package can only be shipped after it has been properly packaged, meaning it has been updated to the **Packed (`packed`)** status. This status can be achieved either by sending an HTTP request to the OMS or through the Instore application.

## <mark style="color:red;">Packaging and Shipping Process​</mark> <a href="#packaging-and-shipping-process" id="packaging-and-shipping-process"></a>

Here's a simplified breakdown of the packaging and shipping process:

1. The OMS initiates the shipping process by sending a request to the relevant shipping company. This request includes all necessary information such as the package's contents and the customer's delivery address.
2. A shipment record is created when the package reaches the **Packed (`packed`)** status. Initially, this record contains no additional information.
3. Upon receiving the package from the store or warehouse, store/warehouse employees are responsible for updating the package's status from **Packed (`packed`)** to **Shipped (`shipped`)** using the OMS services or screens.
4. Subsequently, the OMS continuously communicates with the shipping company, requesting updates on the package's status. It analyzes the responses and updates the status accordingly:
   * **Delivered (`delivered`)** for successful deliveries
   * **Delivery Failed (`delivery_failed`)** for unsuccessful deliveries\\

     <figure><img src="/files/dJ5LraXPj9F2ASUIQlzO" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">Real-time Status Updates​</mark> <a href="#real-time-status-updates" id="real-time-status-updates"></a>

Every time the OMS updates a shipment status, it reflects these changes in Omnitron. This ensures that the status of packaged items in the relevant order is accurately tracked during the entire process, from packaging and shipping to delivery or non-delivery.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.akinon.com/technical-guides/oms/fulfillment/shipments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
