---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.4
alternate:
  - https://yandex.com/dev/market/partner-api/doc/en/step-by-step/laas-order-status-model.md
  - https://yandex.com/dev/market/partner-api/doc/ru/step-by-step/laas-order-status-model.md
  - https://yandex.com/dev/market/partner-api/doc/zh/step-by-step/laas-order-status-model.md
  - href: https://yandex.com/dev/market/partner-api/doc/en/step-by-step/laas-order-status-model.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/dev/market/partner-api/doc/en/llms.txt
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/market/partner-api/doc/en/llms.txt


# How do the statuses of LaaS orders change?

The status change diagram shows the stages that the order goes through and the logic of transitions between statuses. This will help you correlate the statuses of Yandex. Market and your system, set up integration with Yandex.Market correctly, and avoid transmitting unnecessary statuses and sub-statuses.

**Designations:**

* The diagram shows the order statuses and substates at each stage in the format `Status of the Sub-status`. For example, `PROCESSING STARTED`.

* The arrows show the transitions between the stages, and their color — when this transition occurs:

    * green — The store's status has changed.
    * blue — The market has changed its status.
    * orange — cancellation of an order by one of the parties.

<!-- source: en/_includes/mermaid/laas-order-status-graph.md -->
```mermaid
%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#FDF3E8',
      'primaryTextColor': '#000000',
      'primaryBorderColor': '#BA9C80',
      'lineColor': '#BA9C80',
      'secondaryColor': '#FDF3E8',
      'tertiaryColor': '#FDF3E8',
      'noteBkgColor': '#FED58D'
    }
  }
}%%

flowchart TD
    PartnerCreation(Your store created an order) --> Started[RESERVED]
    Started[RESERVED] -->|Order can be assembled| Processing[PROCESSING STARTED]
    Started[RESERVED] -->|Order canceled| Cancelled[CANCELLED Substatus]
    Processing[PROCESSING STARTED] -->|Order canceled| Cancelled[CANCELLED Substatus]
    Processing[PROCESSING STARTED] -->|Order is being assembled| Packaging[PROCESSING PACKAGING]
    Packaging[PROCESSING PACKAGING] -->|Order canceled| Cancelled[CANCELLED Substatus]
    Packaging[PROCESSING PACKAGING] -->|Order assembled| ReadyToShip[PROCESSING READY_TO_SHIP]
    ReadyToShip[PROCESSING READY_TO_SHIP] -->|Order shipped| Shipped[PROCESSING SHIPPED]
    Shipped[PROCESSING SHIPPED] -->|Order handed over for delivery| DeliveryReceived[DELIVERY DELIVERY_SERVICE_RECEIVED]
    DeliveryReceived[DELIVERY DELIVERY_SERVICE_RECEIVED] -->|Order accepted at pickup point| PickupReceived[PICKUP PICKUP_SERVICE_RECEIVED]
    PickupReceived[PICKUP PICKUP_SERVICE_RECEIVED] -->|Storage period expired| CancelledPickupExpired[CANCELLED PICKUP_EXPIRED]
    PickupReceived[PICKUP PICKUP_SERVICE_RECEIVED] -->|Order delivered| Delivered[DELIVERED DELIVERY_SERVICE_DELIVERED]
    DeliveryReceived[DELIVERY DELIVERY_SERVICE_RECEIVED] -->|Order delivered| Delivered[DELIVERED DELIVERY_SERVICE_DELIVERED]
    PickupReceived[PICKUP PICKUP_SERVICE_RECEIVED] -->|Order canceled| Cancelled[CANCELLED Substatus]
    DeliveryReceived[DELIVERY DELIVERY_SERVICE_RECEIVED] -->|Order canceled| Cancelled[CANCELLED Substatus]
    ReadyToShip[PROCESSING READY_TO_SHIP] -->|Order canceled| Cancelled[CANCELLED Substatus]

    linkStyle 0,1 stroke:green,stroke-width:2px;
    linkStyle 4,6,7,8,9,10,11,12 stroke:blue,stroke-width:2px;
    linkStyle 2,3,5,13,14,15 stroke:orange,stroke-width:2px;

    style PartnerCreation stroke:green,stroke-width:3px;
    style Processing stroke:green,stroke-width:3px;
    style Cancelled stroke:orange,stroke-width:3px;
```
<!-- endsource: en/_includes/mermaid/laas-order-status-graph.md -->

## Decoding the scheme {#details}

#|
||**Status, sub-status, and stage description**|**Who is changing the status**|**Methods by which the status is changed or information about the order is received in this status**||

||The store has created an order.|Shop|[POST v1/campaigns/{campaignId}/orders/create](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/createOrder.md)||

||`RESERVED`

The order is reserved.

The store's confirmation is pending.|Yandex. Market|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)||

||`PROCESSING`<br>`STARTED`

The market processes the order.|Shop|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)

[PUT v2/campaigns/{campaignId}/orders/{orderId}/status](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/updateOrderStatus.md)||

||`PROCESSING`<br>`PACKAGING`

The market collects the order.|Yandex. Market|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)||

||`PROCESSING`<br>`READY_TO_SHIP`

The market has collected the order.|Yandex. Market|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)||

||`PROCESSING`<br>`SHIPPED`

The market has shipped the order.|Yandex. Market|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)||

||`DELIVERY`<br>`DELIVERY_SERVICE_RECEIVED`

The order has been delivered.|Yandex. Market|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)||

||`PICKUP`<br>`PICKUP_SERVICE_RECEIVED`

The order has been accepted at the PVZ.|Yandex. Market|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)||

||`DELIVERY`<br>`DELIVERY_SERVICE_DELIVERED`

The order has been delivered.|Yandex. Market|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)||

||`CANCELLED`<br>
[Substates](#cancelled-substatuses)

The order has been cancelled.

To cancel an order, pass the sub-status `SHOP_FAILED`.|
Yandex. Market

Shop|[POST v1/businesses/{businessId}/orders](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/getBusinessOrders.md)

[POST notification](https://yandex.com/dev/market/partner-api/doc/en/push-notifications/reference/sendNotification.md)

[PUT v2/campaigns/{campaignId}/orders/{orderId}/status](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/updateOrderStatus.md)||
|#

## Substates when canceling an order {#cancelled-substatuses}

* `RESERVATION_EXPIRED` — The store did not confirm the reserved order within 60 minutes.
* `SHOP_FAILED` — the store cancelled the order.
* `PICKUP_EXPIRED` — the storage period of the order in the PVZ has expired.
* `DELIVERY_PROBLEMS` — The market couldn't deliver the order.
* `LOST` — the order is lost.

Other values may also be returned. You don't need to process them.
