> For the complete documentation index, see [llms.txt](https://developer.emporix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.emporix.io/value-stream-modeller/value-stream-examples/order-splitting.md).

# Order Splitting

The Order Splitting value stream template is an intelligent, automated solution that enhances fulfillment efficiency by dynamically dividing orders across warehouses, vendors, products, or delivery schedules. The process template adapts to real-time logistics, inventory, and customer preferences to ensure smooth and cost-effective order processing.

## Key features

| Feature                          | Description                                                         |
| -------------------------------- | ------------------------------------------------------------------- |
| **Configurable rules**           | Defines custom order split logic without modifying backend code.    |
| **Operational efficiency**       | Reduces fulfillment delays, shipping costs, and stockouts.          |
| **Enhanced customer experience** | Delivers faster, more reliable, and personalized shipping at scale. |

## Process template flow

The process template begins when a new order is placed which triggers the workflow. Once triggered, the system fetches the complete order data to ensure all necessary details are available for processing. Each item in the order is then routed at the product level according to its vendor, allowing for vendor-specific handling and fulfillment. The routing logic is designed to be flexible and extendable, making it possible to incorporate additional factors in the future, such as different references or delivery addresses. Based on this routing, individual sub‑orders are created for each vendor, ensuring clear separation and streamlined processing. Once all sub‑orders are created and logged, the process is completed.

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

### Process trigger

The process starts when a new order is placed by a customer.

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

### Splitting the order

When the process starts, the order is split into suborders assigned to different vendors. The suborders are logged for processing and the delivery is aligned.

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

{% hint style="success" %}
If you're interested in learning more about the order splitting mechanism or want to import the process using a JSON template, see the tutorial provided in our API documentation - [How does vendor work with order splitting?](/api-references/api-guides/companies-and-customers/vendor-service/vendor.md#how-does-vendor-work-with-order-splitting).
{% endhint %}


---

# 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://developer.emporix.io/value-stream-modeller/value-stream-examples/order-splitting.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.
