---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.0
alternate:
  - https://yandex.com/dev/market/partner-api/doc/en/reference/orders/createOrder.md
  - https://yandex.com/dev/market/partner-api/doc/ru/reference/orders/createOrder.md
  - https://yandex.com/dev/market/partner-api/doc/zh/reference/orders/createOrder.md
  - href: en/reference/orders/createOrder.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/market/partner-api/doc/en/llms.txt

<!-- source: en/api/orders/createOrder.md -->
<div class="openapi">

# Creating an order

<!-- markdownlint-disable-file -->

{% list tabs %}

- Info

  
  <!-- source: en/_auto/method_scopes/createOrder.md -->
  **The method is available for the [LaaS](https://yandex.com/dev/market/partner-api/doc/en/overview/laas.md) model.**

  Not yet available for Market Yandex Go sellers.

  {% cut "**If you are using an API Key token, one of the accesses in the list is required to call the method**" %}

  * inventory-and-order-processing — [Order processing and inventory](https://yandex.com/dev/market/partner-api/doc/en/_auto/scopes_summary/pages/inventory-and-order-processing.md)
  * all-methods — Full account management

  {% endcut %}
  <!-- endsource: en/_auto/method_scopes/createOrder.md -->
  
  
  Creates a new order if the required quantity of goods is in the Market warehouse.
  
  Specify `courierDelivery` for courier delivery or `pickupDelivery` for delivery to the pick-up point. Do not pass both parameters at the same time.
  
  Parameter Value `draft`:
  
  * `true` — Yandex.Market will create an order with the status `RESERVED` and it will wait for confirmation from the store. When you are ready, send the status `PROCESSING` with a sub-status `STARTED` in the method [PUT v2/campaigns/{campaignId}/orders/{orderId}/status](https://yandex.com/dev/market/partner-api/doc/en/reference/orders/updateOrderStatus.md). If you do not do this within an hour after creating the order, yandex.Market will cancel it.
  * `false` — Yandex.Market will create an order with the status `PROCESSING` with a sub-status `STARTED` confirmation is not required.
  
  Parameter Value `fake`:
  
  * `true` — test order. Allows you to check the operation of the store and its API on [test orders](https://yandex.com/dev/market/partner-api/doc/en/concepts/sandbox.md). Such an order will not be shipped and does not affect the remaining balance.
  * `false` — the real order.
  
  
  {% note warning "Перед вызовом метода" %}
  
  
  Get available shipping options — [POST v2/campaigns/{campaignId}/delivery-options](https://yandex.com/dev/market/partner-api/doc/en/reference/delivery-options/getDeliveryOptions.md).
  
  
  {% endnote %}
  
  
  
  <!-- source: en/_auto/method_limits/createOrder.md -->
  |<div style="text-align: left;">**⚙️ Limit:** 10 000 requests per hour</div>|
  |-|
  <!-- endsource: en/_auto/method_limits/createOrder.md -->
  
  
  
  ## Request
  
  <div class="openapi__requests">
  
  <div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">
  
  <div class="openapi__request">
  
  POST {.openapi__method}
  ```text translate=no
  https://api.partner.market.yandex.ru/v1/campaigns/{campaignId}/orders/create
  ```
  
  </div>
  
  </div>
  
  </div>
  
  ### Path parameters
  
  #|
  || **Name** | **Description** ||
  ||
  
  _campaignId_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: integer
  
  The ID of the campaign (store) — The technical identifier that represents your store in the Yandex Market system when working through the API. It is uniquely linked to your store, but it is intended only for automated interaction.
  
  You can find it using a query [GET v2/campaigns](https://yandex.com/dev/market/partner-api/doc/en/reference/campaigns/getCampaigns.md) or find it in the seller's office on the Market. Click on your account icon → **Settings** and in the menu on the left, select **APIs and modules**:
  
  * block **Campaign ID**;
  * tab **Query log** → drop-down list in the block **Show logs**.
  
  ⚠️ Do not confuse it with:
  - the store's identifier, which is displayed in the merchant's personal account.
  - advertising campaigns.
  
  
  _Min value:_{.json-schema-reset .json-schema-assertion} `1`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  <div class="openapi-entity">
  
  ### Body
  
  {% cut "application/json" %}
  
  ```json translate=no
  {
    "order": {
      "externalOrderId": "example",
      "itemsDelivery": [
        {
          "warehouseId": 1,
          "items": [
            {}
          ],
          "deliveryDateInterval": {
            "fromDate": "2025-01-01",
            "toDate": "2025-01-01"
          },
          "deliveryTimeInterval": {
            "fromTime": "example",
            "toTime": "example"
          }
        }
      ],
      "destination": {
        "pickupDelivery": {
          "logisticPointId": 1
        },
        "courierDelivery": {
          "address": {},
          "notes": "example"
        }
      },
      "customer": {
        "firstName": "example",
        "lastName": "example",
        "middleName": "example",
        "phone": "example"
      },
      "packaging": {
        "packageType": "WHITELABEL"
      },
      "paymentType": "PREPAID",
      "draft": false,
      "fake": false
    }
  }
  ```
  
  {% endcut %}
  
  #|
  || **Name** | **Description** ||
  ||
  
  _order_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _customer_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _firstName_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  Name.
  
  _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
  _Max length:_{.json-schema-reset .json-schema-assertion} `512`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  ||
  
  _lastName_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  Surname.
  
  _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
  _Max length:_{.json-schema-reset .json-schema-assertion} `512`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  ||
  
  _phone_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  Phone number.
  
  Format: `+<country code><region_code><phone number>`.
  
  
  _Min length:_{.json-schema-reset .json-schema-assertion} `5`
  
  _Max length:_{.json-schema-reset .json-schema-assertion} `16`
  
  _Pattern:_{.json-schema-reset .json-schema-assertion} `^\+[0-9]+$`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  ||
  
  _middleName_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  **Type**: string
  
  Middle name.
  
  _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
  _Max length:_{.json-schema-reset .json-schema-assertion} `512`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  Details of the recipient of the order or the sender of the refund.
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "firstName": "example",
    "lastName": "example",
    "middleName": "example",
    "phone": "example"
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _destination_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _courierDelivery_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _address_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: object
  
  {% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}
  
  - **Type**: object
  
    #|
    ||
  
    _fullAddress_{.json-schema-reset .json-schema-property .json-schema-required}
    {.table-cell}|
    **Type**: string
  
    The full address, down to the house number.
  
    _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
    _Max length:_{.json-schema-reset .json-schema-assertion} `512`
  
    _Example:_{.json-schema-reset .json-schema-example} `example`
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    The delivery address.
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "fullAddress": "example"
    }
    ```
  
    {% endcut %}
  
  - **Type**: object
  
    #|
    ||
  
    _apartment_{.json-schema-reset .json-schema-property}
    {.table-cell}|
    **Type**: string
  
    Apartment or office number.
  
    _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
    _Max length:_{.json-schema-reset .json-schema-assertion} `16`
  
    _Example:_{.json-schema-reset .json-schema-example} `example`
    {.table-cell}
    ||
    ||
  
    _entrance_{.json-schema-reset .json-schema-property}
    {.table-cell}|
    **Type**: string
  
    Entrance number.
  
    _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
    _Max length:_{.json-schema-reset .json-schema-assertion} `16`
  
    _Example:_{.json-schema-reset .json-schema-example} `example`
    {.table-cell}
    ||
    ||
  
    _floor_{.json-schema-reset .json-schema-property}
    {.table-cell}|
    **Type**: integer
  
    Floor.
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "entrance": "example",
      "floor": 0,
      "apartment": "example"
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  The delivery address.
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "fullAddress": "example",
    "entrance": "example",
    "floor": 0,
    "apartment": "example"
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _notes_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  **Type**: string
  
  Comment on the order.
  
  _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
  _Max length:_{.json-schema-reset .json-schema-assertion} `3000`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  Information about courier delivery.
  
  Do not transmit together with `pickupDelivery`.
  
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "address": {
      "fullAddress": "example",
      "entrance": "example",
      "floor": 0,
      "apartment": "example"
    },
    "notes": "example"
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _pickupDelivery_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _logisticPointId_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: integer
  
  ID of the pick-up point.
  
  It can be found using the method [POST v1/businesses/{businessId}/logistics-points](https://yandex.com/dev/market/partner-api/doc/en/reference/logistic-points/getLogisticPoints.md).
  
  
  _Min value:_{.json-schema-reset .json-schema-assertion} `1`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  Information about delivery to the pick-up point.
  
  Do not transmit together with `courierDelivery`.
  
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "logisticPointId": 1
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  Delivery information.
  
  Do not transmit at the same time `courierDelivery` and `pickupDelivery`.
  
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "pickupDelivery": {
      "logisticPointId": 1
    },
    "courierDelivery": {
      "address": {
        "fullAddress": "example",
        "entrance": "example",
        "floor": 0,
        "apartment": "example"
      },
      "notes": "example"
    }
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _externalOrderId_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  The external order ID in the store's system.
  
  _Min length:_{.json-schema-reset .json-schema-assertion} `1`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  ||
  
  _itemsDelivery_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  {% cut "**Type**: object[]" %}
  
  #|
  ||
  
  _deliveryDateInterval_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _fromDate_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string&lt;date&gt;
  
  The beginning of the interval.
  
  Date format: `YYYY-MM-DD`.
  
  
  _Example:_{.json-schema-reset .json-schema-example} `2025-01-01`
  {.table-cell}
  ||
  ||
  
  _toDate_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string&lt;date&gt;
  
  End of the interval.
  
  Date format: `YYYY-MM-DD`.
  
  
  _Example:_{.json-schema-reset .json-schema-example} `2025-01-01`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  The range of delivery dates.
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "fromDate": "2025-01-01",
    "toDate": "2025-01-01"
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _items_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: object[]
  
  The list of products in the order.
  
  Within a single query, all values are `offerId` they must be unique. It is not allowed to transfer two objects with the same name. `offerId`.
  
  
  _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
  _Max items:_{.json-schema-reset .json-schema-assertion} `1000`
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  [
    {
      "offerId": "example",
      "count": 1,
      "price": {
        "value": 0,
        "currencyId": "RUR"
      },
      "vat": "NO_VAT"
    }
  ]
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _warehouseId_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: integer
  
  ID of the fulfillment warehouse of the Market.
  
  Get it using the method [POST v2/campaigns/{campaignId}/delivery-options](https://yandex.com/dev/market/partner-api/doc/en/reference/delivery-options/getDeliveryOptions.md).
  
  
  _Min value:_{.json-schema-reset .json-schema-assertion} `1`
  {.table-cell}
  ||
  ||
  
  _deliveryTimeInterval_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _fromTime_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  The beginning of the interval.
  
  Format: `HH:MM`.
  
  
  _Pattern:_{.json-schema-reset .json-schema-assertion} `^([0-1][0-9]&#124;2[0-3]):[0-5][0-9]$`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  ||
  
  _toTime_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  End of the interval.
  
  Format: `HH:MM`.
  
  
  _Pattern:_{.json-schema-reset .json-schema-assertion} `^([0-1][0-9]&#124;2[0-3]):[0-5][0-9]$`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  The delivery time interval.
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "fromTime": "example",
    "toTime": "example"
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  The list of products in the order.
  
  _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
  _Max items:_{.json-schema-reset .json-schema-assertion} `1000`
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  [
    {
      "warehouseId": 1,
      "items": [
        {
          "offerId": "example",
          "count": 1,
          "price": {},
          "vat": "NO_VAT"
        }
      ],
      "deliveryDateInterval": {
        "fromDate": "2025-01-01",
        "toDate": "2025-01-01"
      },
      "deliveryTimeInterval": {
        "fromTime": "example",
        "toTime": "example"
      }
    }
  ]
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _packaging_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  {% cut "**Type**: object" %}
  
  #|
  ||
  
  _packageType_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  **Type**: string
  
  Packaging requirements:
  
  * `WHITELABEL` — box.
  
  * `BRAND` — [branded packaging](*brand-package) the store.
  
  If you don't pass it `packageType`, the order will arrive in a box or without packaging.
  
  
  _Enum:_{.json-schema-reset .json-schema-value} `WHITELABEL`, `BRAND`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  Rules for packing goods in an order.
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "packageType": "WHITELABEL"
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  ||
  
  _paymentType_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  Order payment type:
  
  * `PREPAID` — payment at checkout.
  
  
  _Const:_{.json-schema-reset .json-schema-value} `PREPAID`
  
  _Example:_{.json-schema-reset .json-schema-example} `example`
  {.table-cell}
  ||
  ||
  
  _draft_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  **Type**: boolean
  
  Indicates whether an order draft has been created.
  
  * `true` — Yandex.Market will create an order with the status `RESERVED` and it will wait for confirmation from the store.
  * `false` — Yandex.Market will create an order with the status `PROCESSING` with a sub-status `STARTED` and it will start processing it, no additional confirmations are required.
  
  
  _Default:_{.json-schema-reset .json-schema-value} `false`
  {.table-cell}
  ||
  ||
  
  _fake_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  **Type**: boolean
  
  Indicates a test order.
  
  * `true` — allows you to check the operation of the store and its API on [test orders](https://yandex.com/dev/market/partner-api/doc/en/concepts/sandbox.md). Such an order will not be shipped and does not affect the remaining balance.
  * `false` — the real order.
  
  
  _Default:_{.json-schema-reset .json-schema-value} `false`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  Order information.
  
  Transmit the selected delivery option from the method response [POST v1/campaigns/{campaignId}/delivery-options](https://yandex.com/dev/market/partner-api/doc/en/reference/delivery-options/getDeliveryOptions.md).
  
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "externalOrderId": "example",
    "itemsDelivery": [
      {
        "warehouseId": 1,
        "items": [
          {}
        ],
        "deliveryDateInterval": {
          "fromDate": "2025-01-01",
          "toDate": "2025-01-01"
        },
        "deliveryTimeInterval": {
          "fromTime": "example",
          "toTime": "example"
        }
      }
    ],
    "destination": {
      "pickupDelivery": {
        "logisticPointId": 1
      },
      "courierDelivery": {
        "address": {
          "fullAddress": "example",
          "entrance": "example",
          "floor": 0,
          "apartment": "example"
        },
        "notes": "example"
      }
    },
    "customer": {
      "firstName": "example",
      "lastName": "example",
      "middleName": "example",
      "phone": "example"
    },
    "packaging": {
      "packageType": "WHITELABEL"
    },
    "paymentType": "PREPAID",
    "draft": false,
    "fake": false
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  </div>
  
  ## Responses
  
  <div class="openapi__response__code__200">
  
  ## 200 OK
  
  Information about created orders.
  
  <div class="openapi-entity">
  
  ### Body
  
  {% cut "application/json" %}
  
  ```json translate=no
  {
    "status": "OK",
    "result": {
      "orders": [
        {
          "id": 0
        }
      ]
    }
  }
  ```
  
  {% endcut %}
  
  **Type**: object
  
  {% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}
  
  - {% cut "**Type**: object" %}
  
    #|
    ||
  
    _status_{.json-schema-reset .json-schema-property .json-schema-required}
    {.table-cell}|
    **Type**: string
  
    The type of response.
    Possible values:
    * `OK` — There are no errors.
    * `ERROR` — an error occurred while processing the request.
  
  
    _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% endcut %}
  
    The standard wrapper for server responses.
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "status": "OK"
    }
    ```
  
    {% endcut %}
  
  - {% cut "**Type**: object" %}
  
    #|
    ||
  
    _result_{.json-schema-reset .json-schema-property}
    {.table-cell}|
    {% cut "**Type**: object" %}
  
    #|
    ||
  
    _orders_{.json-schema-reset .json-schema-property .json-schema-required}
    {.table-cell}|
    {% cut "**Type**: object[]" %}
  
    #|
    ||
  
    _id_{.json-schema-reset .json-schema-property .json-schema-required}
    {.table-cell}|
    **Type**: integer
  
    The order ID.
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% endcut %}
  
    Orders created.
  
    _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    [
      {
        "id": 0
      }
    ]
    ```
  
    {% endcut %}
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% endcut %}
  
    Information about created orders.
  
    One order for each warehouse.
  
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "orders": [
        {
          "id": 0
        }
      ]
    }
    ```
  
    {% endcut %}
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% endcut %}
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "result": {
        "orders": [
          {
            "id": 0
          }
        ]
      }
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  </div>
  
  </div>
  
  <div class="openapi__response__code__400">
  
  ## 400 Bad Request
  
  The request contains incorrect data. [Learn more about errors when working with orders](https://yandex.com/dev/market/partner-api/doc/en/concepts/error-codes.md#orders)
  
  
  <div class="openapi-entity">
  
  ### Body
  
  {% cut "application/json" %}
  
  ```json translate=no
  {
    "status": "OK",
    "errors": [
      {
        "code": "example",
        "message": "example"
      }
    ]
  }
  ```
  
  {% endcut %}
  
  **Type**: object
  
  {% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}
  
  - **Type**: object
  
    {% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}
  
    - **Type**: object
  
      #|
      ||
  
      _status_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The type of response.
      Possible values:
      * `OK` — There are no errors.
      * `ERROR` — an error occurred while processing the request.
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      The standard wrapper for server responses.
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "status": "OK"
      }
      ```
  
      {% endcut %}
  
    - **Type**: object
  
      #|
      ||
  
      _errors_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      {% cut "**Type**: object[]" %}
  
      #|
      ||
  
      _code_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The error code.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      Description of the error.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      A list of errors.
  
      _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      [
        {
          "code": "example",
          "message": "example"
        }
      ]
      ```
  
      {% endcut %}
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "errors": [
          {
            "code": "example",
            "message": "example"
          }
        ]
      }
      ```
  
      {% endcut %}
  
    {% endcut %}
  
    A standard wrapper for server errors.
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "status": "OK",
      "errors": [
        {
          "code": "example",
          "message": "example"
        }
      ]
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  </div>
  
  </div>
  
  <div class="openapi__response__code__401">
  
  ## 401 Unauthorized
  
  The authorization data is not specified in the request. [More information about the error](https://yandex.com/dev/market/partner-api/doc/en/concepts/error-codes.md#401)
  
  <div class="openapi-entity">
  
  ### Body
  
  {% cut "application/json" %}
  
  ```json translate=no
  {
    "status": "OK",
    "errors": [
      {
        "code": "example",
        "message": "example"
      }
    ]
  }
  ```
  
  {% endcut %}
  
  **Type**: object
  
  {% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}
  
  - **Type**: object
  
    {% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}
  
    - **Type**: object
  
      #|
      ||
  
      _status_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The type of response.
      Possible values:
      * `OK` — There are no errors.
      * `ERROR` — an error occurred while processing the request.
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      The standard wrapper for server responses.
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "status": "OK"
      }
      ```
  
      {% endcut %}
  
    - **Type**: object
  
      #|
      ||
  
      _errors_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      {% cut "**Type**: object[]" %}
  
      #|
      ||
  
      _code_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The error code.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      Description of the error.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      A list of errors.
  
      _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      [
        {
          "code": "example",
          "message": "example"
        }
      ]
      ```
  
      {% endcut %}
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "errors": [
          {
            "code": "example",
            "message": "example"
          }
        ]
      }
      ```
  
      {% endcut %}
  
    {% endcut %}
  
    A standard wrapper for server errors.
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "status": "OK",
      "errors": [
        {
          "code": "example",
          "message": "example"
        }
      ]
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  </div>
  
  </div>
  
  <div class="openapi__response__code__403">
  
  ## 403 Forbidden
  
  The authorization data is incorrect or access to the resource is prohibited. [More information about the error](https://yandex.com/dev/market/partner-api/doc/en/concepts/error-codes.md#403)
  
  <div class="openapi-entity">
  
  ### Body
  
  {% cut "application/json" %}
  
  ```json translate=no
  {
    "status": "OK",
    "errors": [
      {
        "code": "example",
        "message": "example"
      }
    ]
  }
  ```
  
  {% endcut %}
  
  **Type**: object
  
  {% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}
  
  - **Type**: object
  
    {% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}
  
    - **Type**: object
  
      #|
      ||
  
      _status_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The type of response.
      Possible values:
      * `OK` — There are no errors.
      * `ERROR` — an error occurred while processing the request.
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      The standard wrapper for server responses.
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "status": "OK"
      }
      ```
  
      {% endcut %}
  
    - **Type**: object
  
      #|
      ||
  
      _errors_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      {% cut "**Type**: object[]" %}
  
      #|
      ||
  
      _code_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The error code.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      Description of the error.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      A list of errors.
  
      _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      [
        {
          "code": "example",
          "message": "example"
        }
      ]
      ```
  
      {% endcut %}
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "errors": [
          {
            "code": "example",
            "message": "example"
          }
        ]
      }
      ```
  
      {% endcut %}
  
    {% endcut %}
  
    A standard wrapper for server errors.
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "status": "OK",
      "errors": [
        {
          "code": "example",
          "message": "example"
        }
      ]
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  </div>
  
  </div>
  
  <div class="openapi__response__code__420">
  
  ## 420 Method Failure
  
  The resource access limit has been exceeded. [More information about the error](https://yandex.com/dev/market/partner-api/doc/en/concepts/error-codes.md#420)
  
  <div class="openapi-entity">
  
  ### Body
  
  {% cut "application/json" %}
  
  ```json translate=no
  {
    "status": "OK",
    "errors": [
      {
        "code": "example",
        "message": "example"
      }
    ]
  }
  ```
  
  {% endcut %}
  
  **Type**: object
  
  {% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}
  
  - **Type**: object
  
    {% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}
  
    - **Type**: object
  
      #|
      ||
  
      _status_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The type of response.
      Possible values:
      * `OK` — There are no errors.
      * `ERROR` — an error occurred while processing the request.
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      The standard wrapper for server responses.
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "status": "OK"
      }
      ```
  
      {% endcut %}
  
    - **Type**: object
  
      #|
      ||
  
      _errors_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      {% cut "**Type**: object[]" %}
  
      #|
      ||
  
      _code_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The error code.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      Description of the error.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      A list of errors.
  
      _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      [
        {
          "code": "example",
          "message": "example"
        }
      ]
      ```
  
      {% endcut %}
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "errors": [
          {
            "code": "example",
            "message": "example"
          }
        ]
      }
      ```
  
      {% endcut %}
  
    {% endcut %}
  
    A standard wrapper for server errors.
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "status": "OK",
      "errors": [
        {
          "code": "example",
          "message": "example"
        }
      ]
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  </div>
  
  </div>
  
  <div class="openapi__response__code__500">
  
  ## 500 Internal Server Error
  
  Internal error of Yandex. Market. [More information about the error](https://yandex.com/dev/market/partner-api/doc/en/concepts/error-codes.md#500)
  
  <div class="openapi-entity">
  
  ### Body
  
  {% cut "application/json" %}
  
  ```json translate=no
  {
    "status": "OK",
    "errors": [
      {
        "code": "example",
        "message": "example"
      }
    ]
  }
  ```
  
  {% endcut %}
  
  **Type**: object
  
  {% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}
  
  - **Type**: object
  
    {% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}
  
    - **Type**: object
  
      #|
      ||
  
      _status_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The type of response.
      Possible values:
      * `OK` — There are no errors.
      * `ERROR` — an error occurred while processing the request.
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      The standard wrapper for server responses.
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "status": "OK"
      }
      ```
  
      {% endcut %}
  
    - **Type**: object
  
      #|
      ||
  
      _errors_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      {% cut "**Type**: object[]" %}
  
      #|
      ||
  
      _code_{.json-schema-reset .json-schema-property .json-schema-required}
      {.table-cell}|
      **Type**: string
  
      The error code.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      Description of the error.
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      A list of errors.
  
      _Min items:_{.json-schema-reset .json-schema-assertion} `1`
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      [
        {
          "code": "example",
          "message": "example"
        }
      ]
      ```
  
      {% endcut %}
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% cut "**Example**" %}{.json-schema-example}
  
      ```json translate=no
      {
        "errors": [
          {
            "code": "example",
            "message": "example"
          }
        ]
      }
      ```
  
      {% endcut %}
  
    {% endcut %}
  
    A standard wrapper for server errors.
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "status": "OK",
      "errors": [
        {
          "code": "example",
          "message": "example"
        }
      ]
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  </div>
  
  </div>
        

- Console

  ```openapi-sandbox translate=no
  pathParams:
    - description: "The ID of the campaign (store) — The technical identifier that represents your store in the Yandex Market system when working through the API. It is uniquely linked to your store, but it is intended only for automated interaction.\n\nYou can find it using a query [GET\_v2/campaigns](../../reference/campaigns/getCampaigns.md) or find it in the seller's office on the Market. Click on your account icon → **Settings** and in the menu on the left, select **APIs and modules**:\n\n* block **Campaign ID**;\n* tab **Query log** → drop-down list in the block **Show logs**.\n\n⚠️ Do not confuse it with:\n- the store's identifier, which is displayed in the merchant's personal account.\n- advertising campaigns.\n"
      name: campaignId
      in: path
      required: true
      schema:
        type: integer
        format: int64
        minimum: 1
  searchParams: []
  headers: []
  body: |-
    {
      "order": {
        "externalOrderId": "example",
        "itemsDelivery": [
          {
            "warehouseId": 1,
            "items": [
              {}
            ],
            "deliveryDateInterval": {
              "fromDate": "2025-01-01",
              "toDate": "2025-01-01"
            },
            "deliveryTimeInterval": {
              "fromTime": "example",
              "toTime": "example"
            }
          }
        ],
        "destination": {
          "pickupDelivery": {
            "logisticPointId": 1
          },
          "courierDelivery": {
            "address": {},
            "notes": "example"
          }
        },
        "customer": {
          "firstName": "example",
          "lastName": "example",
          "middleName": "example",
          "phone": "example"
        },
        "packaging": {
          "packageType": "WHITELABEL"
        },
        "paymentType": "PREPAID",
        "draft": false,
        "fake": false
      }
    }
  schema:
    type: object
    required:
      - order
    properties:
      order:
        type: object
        description: "Order information.\n\nTransmit the selected delivery option from the method response [POST\_v1/campaigns/{campaignId}/delivery-options](../../reference/delivery-options/getDeliveryOptions.md).\n"
        required:
          - externalOrderId
          - itemsDelivery
          - destination
          - customer
          - packaging
          - paymentType
        properties:
          externalOrderId:
            description: The external order ID in the store's system.
            type: string
            minLength: 1
          itemsDelivery:
            description: The list of products in the order.
            type: array
            items:
              type: object
              description: The list of products in the order.
              required:
                - warehouseId
                - items
                - deliveryDateInterval
              properties:
                warehouseId:
                  description: "ID of the fulfillment warehouse of the Market.\n\nGet it using the method [POST\_v2/campaigns/{campaignId}/delivery-options](../../reference/delivery-options/getDeliveryOptions.md).\n"
                  type: integer
                  format: int64
                  minimum: 1
                items:
                  type: array
                  description: >
                    The list of products in the order.
  
  
                    Within a single query, all values are `offerId`
                    they must be unique. It is not allowed to transfer two objects
                    with the same name. `offerId`.
                  minItems: 1
                  maxItems: 1000
                  items:
                    description: The product is in the order.
                    type: object
                    required:
                      - price
                    allOf:
                      - description: The product is in the order or return.
                        type: object
                        required:
                          - offerId
                          - count
                        properties:
                          offerId:
                            description: "Your SKU —\_the product ID in your system.\n\nUsage rules SKU:\n\n* For each product SKU there must be one.\n\n* Already set SKU it cannot be released and reused for another product. Each product should receive a new identifier that has never been used in your catalog before.\n\nSKU The product can be changed in the seller's account on the Market. Read about how to do this. [in the Help of the Market for sellers](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku).\n\n\n:::no-translate\n{% note warning %}\n:::\n\n\nSpaces at the beginning and end of the value are automatically deleted. For example, `\"  SKU123  \"` and `\"SKU123\"` they will be treated as identical values.\n\n\n:::no-translate\n{% endnote %}\n:::\n\n\n[What is SKU and how to assign it](https://yandex.ru/support/marketplace/assortment/add/index.html#fields)\n"
                            type: string
                            pattern: ^(?=.*\S.*)[^\x00-\x08\x0A-\x1f\x7f]{1,255}$
                            x-transform: trim
                            minLength: 1
                            maxLength: 255
                          count:
                            description: The number of product units.
                            type: integer
                            format: int32
                            minimum: 1
                            maximum: 1000
                      - properties:
                          price:
                            description: The price of the product.
                            type: object
                            required:
                              - value
                              - currencyId
                            properties:
                              value:
                                description: The price of the product.
                                type: number
                                minimum: 0
                                exclusiveMinimum: true
                              currencyId:
                                type: string
                                description: >
                                  Currency codes:
  
  
                                  * `RUR` — the
                                  Russian ruble.
  
                                  * `UAH` — the
                                  Ukrainian hryvnia.
  
                                  * `BYR` — the
                                  Belarusian ruble.
  
                                  * `KZT` —
                                  Kazakhstani tenge.
  
                                  * `UZS` — Uzbek
                                  sum.
                                enum:
                                  - RUR
                                  - USD
                                  - EUR
                                  - UAH
                                  - AUD
                                  - GBP
                                  - BYR
                                  - BYN
                                  - DKK
                                  - ISK
                                  - KZT
                                  - CAD
                                  - CNY
                                  - NOK
                                  - XDR
                                  - SGD
                                  - TRY
                                  - SEK
                                  - CHF
                                  - JPY
                                  - AZN
                                  - ALL
                                  - DZD
                                  - AOA
                                  - ARS
                                  - AMD
                                  - AFN
                                  - BHD
                                  - BGN
                                  - BOB
                                  - BWP
                                  - BND
                                  - BRL
                                  - BIF
                                  - HUF
                                  - VEF
                                  - KPW
                                  - VND
                                  - GMD
                                  - GHS
                                  - GNF
                                  - HKD
                                  - GEL
                                  - AED
                                  - EGP
                                  - ZMK
                                  - ILS
                                  - INR
                                  - IDR
                                  - JOD
                                  - IQD
                                  - IRR
                                  - YER
                                  - QAR
                                  - KES
                                  - KGS
                                  - COP
                                  - CDF
                                  - CRC
                                  - KWD
                                  - CUP
                                  - LAK
                                  - LVL
                                  - SLL
                                  - LBP
                                  - LYD
                                  - SZL
                                  - LTL
                                  - MUR
                                  - MRO
                                  - MKD
                                  - MWK
                                  - MGA
                                  - MYR
                                  - MAD
                                  - MXN
                                  - MZN
                                  - MDL
                                  - MNT
                                  - NPR
                                  - NGN
                                  - NIO
                                  - NZD
                                  - OMR
                                  - PKR
                                  - PYG
                                  - PEN
                                  - PLN
                                  - KHR
                                  - SAR
                                  - RON
                                  - SCR
                                  - SYP
                                  - SKK
                                  - SOS
                                  - SDG
                                  - SRD
                                  - TJS
                                  - THB
                                  - TWD
                                  - BDT
                                  - TZS
                                  - TND
                                  - TMM
                                  - UGX
                                  - UZS
                                  - UYU
                                  - PHP
                                  - DJF
                                  - XAF
                                  - XOF
                                  - HRK
                                  - CZK
                                  - CLP
                                  - LKR
                                  - EEK
                                  - ETB
                                  - RSD
                                  - ZAR
                                  - KRW
                                  - NAD
                                  - TL
                                  - UE
                          vat:
                            description: >
                              VAT on the product or delivery:
  
  
                              * `NO_VAT` — VAT is
                              not charged, it is used only for certain types of
                              services.
  
  
                              * `VAT_0` — 0% VAT.
                              For example, it is used for the sale of goods
                              exported in the customs procedure of export, or for
                              the provision of services for the international
                              transportation of goods.
  
  
                              * `VAT_10` — 10% VAT.
                              For example, it is used in the sale of certain food
                              and medical products.
  
  
                              * `VAT_10_110` — VAT
                              10/110. 10% VAT, applicable only for
                              prepayment.
  
  
                              * `VAT_20` — VAT 20%.
                              Basic VAT from 2019 to January 1, 2026.
  
  
                              * `VAT_20_120` — VAT
                              20/120. VAT is 20%, applicable only
                              for prepayment.
  
  
                              * `VAT_18` — VAT 18%.
                              Basic VAT until 2019.
  
  
                              * `VAT_18_118` — VAT
                              18/118. VAT was used until January 1,
                              2019 for prepayment.
  
  
                              * `VAT_12` — VAT is
                              12%. It is used only in Uzbekistan.
  
  
                              * `VAT_05` — VAT is
                              5%. VAT for the simplified taxation system (USN).
  
  
                              * `VAT_07` — VAT is
                              7%. VAT for the simplified taxation system (USN).
  
  
                              * `VAT_22` — VAT is
                              22%. Basic VAT starting from January 1, 2026.
  
  
                              * `UNKNOWN_VALUE` —
                              unknown type.
                            type: string
                            enum:
                              - NO_VAT
                              - VAT_0
                              - VAT_10
                              - VAT_10_110
                              - VAT_20
                              - VAT_20_120
                              - VAT_18
                              - VAT_18_118
                              - VAT_12
                              - VAT_05
                              - VAT_07
                              - VAT_22
                              - UNKNOWN_VALUE
                deliveryDateInterval:
                  type: object
                  description: The range of delivery dates.
                  required:
                    - fromDate
                    - toDate
                  properties:
                    fromDate:
                      type: string
                      format: date
                      description: |
                        The beginning of the interval.
  
                        Date format: `YYYY-MM-DD`.
                    toDate:
                      type: string
                      format: date
                      description: |
                        End of the interval.
  
                        Date format: `YYYY-MM-DD`.
                deliveryTimeInterval:
                  type: object
                  description: The delivery time interval.
                  required:
                    - fromTime
                    - toTime
                  properties:
                    fromTime:
                      type: string
                      description: |
                        The beginning of the interval.
  
                        Format: `HH:MM`.
                      pattern: ^([0-1][0-9]|2[0-3]):[0-5][0-9]$
                    toTime:
                      type: string
                      description: |
                        End of the interval.
  
                        Format: `HH:MM`.
                      pattern: ^([0-1][0-9]|2[0-3]):[0-5][0-9]$
            minItems: 1
            maxItems: 1000
          destination:
            type: object
            description: >
              Delivery information.
  
  
              Do not transmit at the same time `courierDelivery`
              and `pickupDelivery`.
            properties:
              pickupDelivery:
                type: object
                description: |
                  Information about delivery to the pick-up point.
  
                  Do not transmit together with `courierDelivery`.
                required:
                  - logisticPointId
                properties:
                  logisticPointId:
                    type: integer
                    description: "ID of the pick-up point.\n\nIt can be found using the method [POST\_v1/businesses/{businessId}/logistics-points](../../reference/logistic-points/getLogisticPoints.md).\n"
                    format: int64
                    minimum: 1
              courierDelivery:
                type: object
                description: |
                  Information about courier delivery.
  
                  Do not transmit together with `pickupDelivery`.
                required:
                  - address
                properties:
                  address:
                    type: object
                    description: The delivery address.
                    allOf:
                      - type: object
                        description: The delivery address.
                        required:
                          - fullAddress
                        properties:
                          fullAddress:
                            type: string
                            description: The full address, down to the house number.
                            minLength: 1
                            maxLength: 512
                      - properties:
                          entrance:
                            type: string
                            description: Entrance number.
                            minLength: 1
                            maxLength: 16
                          floor:
                            type: integer
                            format: int32
                            description: Floor.
                          apartment:
                            type: string
                            description: Apartment or office number.
                            minLength: 1
                            maxLength: 16
                  notes:
                    type: string
                    description: Comment on the order.
                    minLength: 1
                    maxLength: 3000
          customer:
            type: object
            description: Details of the recipient of the order or the sender of the refund.
            required:
              - firstName
              - lastName
              - phone
            properties:
              firstName:
                type: string
                description: Name.
                minLength: 1
                maxLength: 512
              lastName:
                type: string
                description: Surname.
                minLength: 1
                maxLength: 512
              middleName:
                type: string
                description: Middle name.
                minLength: 1
                maxLength: 512
              phone:
                type: string
                description: |
                  Phone number.
  
                  Format: `+<country code><region_code><phone number>`.
                minLength: 5
                maxLength: 16
                pattern: ^\+[0-9]+$
          customerUid:
            type: integer
            format: int64
            description: >-
              The recipient's UID in Yandex. It is supported only for internal
              partners.
            x-hidden: true
          packaging:
            type: object
            description: Rules for packing goods in an order.
            properties:
              packageType:
                description: >
                  Packaging requirements:
  
  
                  * `WHITELABEL` — box.
  
  
                  * `BRAND` — [branded
                  packaging](*brand-package) the store.
  
  
                  If you don't pass it `packageType`, the order
                  will arrive in a box or without packaging.
                type: string
                enum:
                  - WHITELABEL
                  - BRAND
          paymentType:
            description: |
              Order payment type:
  
              * `PREPAID` — payment at checkout.
            type: string
            enum:
              - PREPAID
          draft:
            type: boolean
            description: >
              Indicates whether an order draft has been created.
  
  
              * `true` — Yandex.Market will create
              an order with the status `RESERVED` and it will wait
              for confirmation from the store.
  
              * `false` — Yandex.Market will create
              an order with the status `PROCESSING` with a
              sub-status `STARTED` and it will start processing it,
              no additional confirmations are required.
            default: false
          fake:
            type: boolean
            description: >
              Indicates a test order.
  
  
              * `true` — allows you to check the
              operation of the store and its API on [test
              orders](../../concepts/sandbox.md). Such an order
              will not be shipped and does not affect the remaining balance.
  
              * `false` — the real order.
            default: false
  bodyType: application/json
  method: post
  security:
    - type: apiKey
      name: 'Api-Key'
      in: header
    - type: oauth2
      x-inline: true
      flows:
        implicit:
          authorizationUrl: https://oauth.yandex.ru/authorize
          scopes:
            market:partner-api: API Яндекс.Маркета / Поиска по товарам для партнеров
  path: v1/campaigns/{campaignId}/orders/create
  host: https://api.partner.market.yandex.ru
  
  ```
        

{% endlist %}


</div>
<!-- endsource: en/api/orders/createOrder.md -->

[*brand-package]: Bring it in advance to the Market warehouse where your goods are stored.

[*Deprecated]: No longer supported, please use an alternative and newer version.