---
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: zh/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/zh/llms.txt

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

# 创建订单

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

{% list tabs %}

- Info

  
  <!-- source: zh/_auto/method_scopes/createOrder.md -->
  **方法适用于模式[拉斯](https://yandex.com/dev/market/partner-api/doc/zh/overview/laas.md).**

  目前不适用于卖家Market Yandex Go.

  {% cut "**如果您使用API-Key令牌，调用该方法时需要具备列表中可用权限之一**" %}

  * inventory-and-order-processing — [订单处理和商品核算](https://yandex.com/dev/market/partner-api/doc/zh/_auto/scopes_summary/pages/inventory-and-order-processing.md)
  * all-methods — 全面管理账户

  {% endcut %}
  <!-- endsource: zh/_auto/method_scopes/createOrder.md -->
  
  
  如果所需数量的货物在市场仓库中，则创建新订单。
  
  指定 `courierDelivery` 速递派递或 `pickupDelivery` 送到收件点。 不要在同一时间传递这两个参数。
  
  参数值 `draft`:
  
  * `true` — 燕基科斯.市场将创建一个具有状态的订单 `RESERVED` 它将等待商店的确认。 准备好后，发送状态 `PROCESSING` 具有子状态 `STARTED` 在方法 [PUT v2/campaigns/{campaignId}/orders/{orderId}/status](https://yandex.com/dev/market/partner-api/doc/zh/reference/orders/updateOrderStatus.md). 如果您在创建订单后一小时内不这样做，yandex。市场将取消它。
  * `false` — 燕基科斯.市场将创建一个具有状态的订单 `PROCESSING` 具有子状态 `STARTED` 不需要确认。
  
  参数值 `fake`:
  
  * `true` — 测试顺序。 允许您检查商店及其API的操作 [测试订单](https://yandex.com/dev/market/partner-api/doc/zh/concepts/sandbox.md). 这样的订单将不会发货，也不会影响余额。
  * `false` — 真正的秩序。
  
  
  {% note warning "Перед вызовом метода" %}
  
  
  获取可用的运输选项 — [POST v2/campaigns/{campaignId}/delivery-options](https://yandex.com/dev/market/partner-api/doc/zh/reference/delivery-options/getDeliveryOptions.md).
  
  
  {% endnote %}
  
  
  
  <!-- source: zh/_auto/method_limits/createOrder.md -->
  |<div style="text-align: left;">**⚙️ 限额:** 10 000 请求 每小时</div>|
  |-|
  <!-- endsource: zh/_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
  
  广告系列（商店）的ID — 通过API工作时，代表您在Yandex市场系统中的商店的技术标识符。 它与您的商店唯一链接，但仅用于自动交互。
  
  您可以使用查询找到它 [GET v2/campaigns](https://yandex.com/dev/market/partner-api/doc/zh/reference/campaigns/getCampaigns.md) 或者在市场上的卖家办公室找到它。 点击您的帐户图标→ **设置** 在左边的菜单中，选择 **Api和模块**:
  
  * 座 **运动ID**;
  * 标签 **查询日志** →块中的下拉列表 **显示日志**.
  
  ⚠️ 不要把它与:
  - 商店的标识符，显示在商家的个人帐户中。
  - 广告活动。
  
  
  _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
  
  姓名。
  
  _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
  
  姓。
  
  _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
  
  电话号码。
  
  格式: `+<国家代码><region_code><电话号码>`.
  
  
  _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
  
  中间名。
  
  _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 %}
  
  订单收件人或退款发件人的详细信息。
  
  {% 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
  
    完整的地址，直到门牌号码。
  
    _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}
  
    送货地址。
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "fullAddress": "example"
    }
    ```
  
    {% endcut %}
  
  - **Type**: object
  
    #|
    ||
  
    _apartment_{.json-schema-reset .json-schema-property}
    {.table-cell}|
    **Type**: string
  
    公寓或办公室号码。
  
    _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
  
    入口号码。
  
    _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
  
    地板。
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% cut "**Example**" %}{.json-schema-example}
  
    ```json translate=no
    {
      "entrance": "example",
      "floor": 0,
      "apartment": "example"
    }
    ```
  
    {% endcut %}
  
  {% endcut %}
  
  送货地址。
  
  {% 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
  
  对订单进行评论。
  
  _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 %}
  
  关于快递的信息。
  
  不要与 `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。
  
  使用该方法可以找到 [POST v1/businesses/{businessId}/logistics-points](https://yandex.com/dev/market/partner-api/doc/zh/reference/logistic-points/getLogisticPoints.md).
  
  
  _Min value:_{.json-schema-reset .json-schema-assertion} `1`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  送到取件点的信息。
  
  不要与 `courierDelivery`.
  
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "logisticPointId": 1
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  交付信息。
  
  不要在同一时间传送 `courierDelivery` 和 `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
  
  商店系统中的外部订单ID。
  
  _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;
  
  间隔的开始。
  
  日期格式: `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;
  
  间隔的结束。
  
  日期格式: `YYYY-MM-DD`.
  
  
  _Example:_{.json-schema-reset .json-schema-example} `2025-01-01`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  交货日期的范围。
  
  {% 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[]
  
  订单中的产品列表。
  
  在单个查询中，所有值都是 `offerId` 它们必须是独一无二的。 不允许传输具有相同名称的两个对象。 `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。
  
  使用方法获取它 [POST v2/campaigns/{campaignId}/delivery-options](https://yandex.com/dev/market/partner-api/doc/zh/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
  
  间隔的开始。
  
  格式: `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
  
  间隔的结束。
  
  格式: `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 %}
  
  的递送时间间隔。
  
  {% cut "**Example**" %}{.json-schema-example}
  
  ```json translate=no
  {
    "fromTime": "example",
    "toTime": "example"
  }
  ```
  
  {% endcut %}
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  订单中的产品列表。
  
  _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
  
  包装要求:
  
  * `WHITELABEL` — 盒子。
  
  * `BRAND` — [品牌包装](*brand-package) 那家商店。
  
  如果你不通过它 `packageType`，订单将在一个盒子或没有包装到达。
  
  
  _Enum:_{.json-schema-reset .json-schema-value} `WHITELABEL`, `BRAND`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  在订单中包装货物的规则。
  
  {% 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
  
  订购付款类别:
  
  * `PREPAID` — 结账时付款。
  
  
  _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
  
  指示是否已创建订单草稿。
  
  * `true` — 燕基科斯.市场将创建一个具有状态的订单 `RESERVED` 它将等待商店的确认。
  * `false` — 燕基科斯.市场将创建一个具有状态的订单 `PROCESSING` 具有子状态 `STARTED` 它将开始处理它，不需要额外的确认。
  
  
  _Default:_{.json-schema-reset .json-schema-value} `false`
  {.table-cell}
  ||
  ||
  
  _fake_{.json-schema-reset .json-schema-property}
  {.table-cell}|
  **Type**: boolean
  
  指示测试顺序。
  
  * `true` — 允许您检查商店及其API的操作 [测试订单](https://yandex.com/dev/market/partner-api/doc/zh/concepts/sandbox.md). 这样的订单将不会发货，也不会影响余额。
  * `false` — 真正的秩序。
  
  
  _Default:_{.json-schema-reset .json-schema-value} `false`
  {.table-cell}
  ||
  |#{.json-schema-properties}
  
  {% endcut %}
  
  订单信息。
  
  从方法响应传输所选传递选项 [POST v1/campaigns/{campaignId}/delivery-options](https://yandex.com/dev/market/partner-api/doc/zh/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
  
  有关已创建订单的信息。
  
  <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
  
    响应的类型。
    可能的值:
    * `OK` — 没有错误。
    * `ERROR` — 处理请求时出错。
  
  
    _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% endcut %}
  
    服务器响应的标准包装器。
  
    {% 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
  
    的订单ID。
    {.table-cell}
    ||
    |#{.json-schema-properties}
  
    {% endcut %}
  
    订单创建。
  
    _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 %}
  
    有关已创建订单的信息。
  
    每个仓库一个订单。
  
  
    {% 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
  
  请求包含不正确的数据。 [详细了解处理订单时的错误](https://yandex.com/dev/market/partner-api/doc/zh/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
  
      响应的类型。
      可能的值:
      * `OK` — 没有错误。
      * `ERROR` — 处理请求时出错。
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      服务器响应的标准包装器。
  
      {% 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
  
      的错误代码。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      错误的描述。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      错误列表。
  
      _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 %}
  
    服务器错误的标准包装器。
  
    {% 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
  
  请求中未指定授权数据。 [有关错误的更多信息](https://yandex.com/dev/market/partner-api/doc/zh/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
  
      响应的类型。
      可能的值:
      * `OK` — 没有错误。
      * `ERROR` — 处理请求时出错。
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      服务器响应的标准包装器。
  
      {% 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
  
      的错误代码。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      错误的描述。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      错误列表。
  
      _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 %}
  
    服务器错误的标准包装器。
  
    {% 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
  
  授权数据不正确或禁止访问资源。 [有关错误的更多信息](https://yandex.com/dev/market/partner-api/doc/zh/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
  
      响应的类型。
      可能的值:
      * `OK` — 没有错误。
      * `ERROR` — 处理请求时出错。
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      服务器响应的标准包装器。
  
      {% 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
  
      的错误代码。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      错误的描述。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      错误列表。
  
      _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 %}
  
    服务器错误的标准包装器。
  
    {% 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
  
  已超出资源访问限制。 [有关错误的更多信息](https://yandex.com/dev/market/partner-api/doc/zh/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
  
      响应的类型。
      可能的值:
      * `OK` — 没有错误。
      * `ERROR` — 处理请求时出错。
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      服务器响应的标准包装器。
  
      {% 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
  
      的错误代码。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      错误的描述。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      错误列表。
  
      _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 %}
  
    服务器错误的标准包装器。
  
    {% 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
  
  市场的内部错误。 [有关错误的更多信息](https://yandex.com/dev/market/partner-api/doc/zh/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
  
      响应的类型。
      可能的值:
      * `OK` — 没有错误。
      * `ERROR` — 处理请求时出错。
  
  
      _Enum:_{.json-schema-reset .json-schema-value} `OK`, `ERROR`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      服务器响应的标准包装器。
  
      {% 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
  
      的错误代码。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      ||
  
      _message_{.json-schema-reset .json-schema-property}
      {.table-cell}|
      **Type**: string
  
      错误的描述。
  
      _Example:_{.json-schema-reset .json-schema-example} `example`
      {.table-cell}
      ||
      |#{.json-schema-properties}
  
      {% endcut %}
  
      错误列表。
  
      _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 %}
  
    服务器错误的标准包装器。
  
    {% 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: "广告系列（商店）的ID — 通过API工作时，代表您在Yandex市场系统中的商店的技术标识符。 它与您的商店唯一链接，但仅用于自动交互。\n\n您可以使用查询找到它 [GET\_v2/campaigns](../../reference/campaigns/getCampaigns.md) 或者在市场上的卖家办公室找到它。 点击您的帐户图标→ **设置** 在左边的菜单中，选择 **Api和模块**:\n\n* 座 **运动ID**;\n* 标签 **查询日志** →块中的下拉列表 **显示日志**.\n\n⚠️ 不要把它与:\n- 商店的标识符，显示在商家的个人帐户中。\n- 广告活动。\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: "订单信息。\n\n从方法响应传输所选传递选项 [POST\_v1/campaigns/{campaignId}/delivery-options](../../reference/delivery-options/getDeliveryOptions.md).\n"
        required:
          - externalOrderId
          - itemsDelivery
          - destination
          - customer
          - packaging
          - paymentType
        properties:
          externalOrderId:
            description: 商店系统中的外部订单ID。
            type: string
            minLength: 1
          itemsDelivery:
            description: 订单中的产品列表。
            type: array
            items:
              type: object
              description: 订单中的产品列表。
              required:
                - warehouseId
                - items
                - deliveryDateInterval
              properties:
                warehouseId:
                  description: "市场的履行仓库的ID。\n\n使用方法获取它 [POST\_v2/campaigns/{campaignId}/delivery-options](../../reference/delivery-options/getDeliveryOptions.md).\n"
                  type: integer
                  format: int64
                  minimum: 1
                items:
                  type: array
                  description: >
                    订单中的产品列表。
  
  
                    在单个查询中，所有值都是 `offerId` 它们必须是独一无二的。
                    不允许传输具有相同名称的两个对象。 `offerId`.
                  minItems: 1
                  maxItems: 1000
                  items:
                    description: 产品的顺序。
                    type: object
                    required:
                      - price
                    allOf:
                      - description: 产品在订单或退货。
                        type: object
                        required:
                          - offerId
                          - count
                        properties:
                          offerId:
                            description: "你的 SKU —\_系统中的产品ID。\n\n使用规则 SKU:\n\n* 对于每个产品 SKU 一定有一个。\n\n* 已经设置 SKU 它不能被释放并重新用于另一个产品。 每个产品都应该收到一个以前从未在目录中使用过的新标识符。\n\nSKU 产品可以在市场上的卖方帐户中更改。 阅读如何做到这一点。 [在市场对卖家的帮助](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku).\n\n\n:::no-translate\n{% note warning %}\n:::\n\n\n值开头和结尾的空格会自动删除。 例如, `\"  SKU123  \"` 和 `\"SKU123\"` 它们将被视为相同的值。\n\n\n:::no-translate\n{% endnote %}\n:::\n\n\n[什么是 SKU 以及如何分配它](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: 积单元的数量。
                            type: integer
                            format: int32
                            minimum: 1
                            maximum: 1000
                      - properties:
                          price:
                            description: 品的价格。
                            type: object
                            required:
                              - value
                              - currencyId
                            properties:
                              value:
                                description: 品的价格。
                                type: number
                                minimum: 0
                                exclusiveMinimum: true
                              currencyId:
                                type: string
                                description: |
                                  货币代码:
  
                                  * `RUR` — 俄罗斯卢布。
                                  * `UAH` — 乌克兰格里夫纳。
                                  * `BYR` — 白俄罗斯卢布。
                                  * `KZT` — 哈萨克斯坦坚戈。
                                  * `UZS` — 乌兹别克总和。
                                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: >
                              产品或交付的增值税:
  
  
                              * `NO_VAT` —
                              增值税不收取，它仅用于某些类型的服务。
  
  
                              * `VAT_0` — 增值税为0％。
                              例如，它用于销售在出口海关程序中出口的货物，或为国际货物运输提供服务。
  
  
                              * `VAT_10` — 10%增值税。
                              例如，它用于销售某些食品和医疗产品。
  
  
                              * `VAT_10_110` — 增值税
                              10/110. 10%增值税，仅适用于预付款。
  
  
                              * `VAT_20` — 增值税20%。
                              基本增值税从2019年到2026年1月1日。
  
  
                              * `VAT_20_120` — 增值税
                              20/120. 增值税为20％，仅适用于预付款。
  
  
                              * `VAT_18` — 增值税18%。
                              基本增值税至2019年。
  
  
                              * `VAT_18_118` — 增值税
                              18/118. 增值税用于预付款，直到2019年1月1日。
  
  
                              * `VAT_12` — 增值税是12％。
                              它仅在乌兹别克斯坦使用。
  
  
                              * `VAT_05` — 增值税是5％。
                              简化税制（USN）的增值税。
  
  
                              * `VAT_07` — 增值税是7％。
                              简化税制（USN）的增值税。
  
  
                              * `VAT_22` — 增值税是22％。
                              基本增值税从2026年1月1日开始。
  
  
                              * `UNKNOWN_VALUE` —
                              未知类型。
                            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: 交货日期的范围。
                  required:
                    - fromDate
                    - toDate
                  properties:
                    fromDate:
                      type: string
                      format: date
                      description: |
                        间隔的开始。
  
                        日期格式: `YYYY-MM-DD`.
                    toDate:
                      type: string
                      format: date
                      description: |
                        间隔的结束。
  
                        日期格式: `YYYY-MM-DD`.
                deliveryTimeInterval:
                  type: object
                  description: 的递送时间间隔。
                  required:
                    - fromTime
                    - toTime
                  properties:
                    fromTime:
                      type: string
                      description: |
                        间隔的开始。
  
                        格式: `HH：MM`.
                      pattern: ^([0-1][0-9]|2[0-3]):[0-5][0-9]$
                    toTime:
                      type: string
                      description: |
                        间隔的结束。
  
                        格式: `HH：MM`.
                      pattern: ^([0-1][0-9]|2[0-3]):[0-5][0-9]$
            minItems: 1
            maxItems: 1000
          destination:
            type: object
            description: >
              交付信息。
  
  
              不要在同一时间传送 `courierDelivery` 和
              `pickupDelivery`.
            properties:
              pickupDelivery:
                type: object
                description: |
                  送到取件点的信息。
  
                  不要与 `courierDelivery`.
                required:
                  - logisticPointId
                properties:
                  logisticPointId:
                    type: integer
                    description: "取件点的ID。\n\n使用该方法可以找到 [POST\_v1/businesses/{businessId}/logistics-points](../../reference/logistic-points/getLogisticPoints.md).\n"
                    format: int64
                    minimum: 1
              courierDelivery:
                type: object
                description: |
                  关于快递的信息。
  
                  不要与 `pickupDelivery`.
                required:
                  - address
                properties:
                  address:
                    type: object
                    description: 送货地址。
                    allOf:
                      - type: object
                        description: 送货地址。
                        required:
                          - fullAddress
                        properties:
                          fullAddress:
                            type: string
                            description: 完整的地址，直到门牌号码。
                            minLength: 1
                            maxLength: 512
                      - properties:
                          entrance:
                            type: string
                            description: 入口号码。
                            minLength: 1
                            maxLength: 16
                          floor:
                            type: integer
                            format: int32
                            description: 地板。
                          apartment:
                            type: string
                            description: 公寓或办公室号码。
                            minLength: 1
                            maxLength: 16
                  notes:
                    type: string
                    description: 对订单进行评论。
                    minLength: 1
                    maxLength: 3000
          customer:
            type: object
            description: 订单收件人或退款发件人的详细信息。
            required:
              - firstName
              - lastName
              - phone
            properties:
              firstName:
                type: string
                description: 姓名。
                minLength: 1
                maxLength: 512
              lastName:
                type: string
                description: 姓。
                minLength: 1
                maxLength: 512
              middleName:
                type: string
                description: 中间名。
                minLength: 1
                maxLength: 512
              phone:
                type: string
                description: |
                  电话号码。
  
                  格式: `+<国家代码><region_code><电话号码>`.
                minLength: 5
                maxLength: 16
                pattern: ^\+[0-9]+$
          customerUid:
            type: integer
            format: int64
            description: 收件人在Yandex中的UID。 它仅支持内部合作伙伴。
            x-hidden: true
          packaging:
            type: object
            description: 在订单中包装货物的规则。
            properties:
              packageType:
                description: >
                  包装要求:
  
  
                  * `WHITELABEL` — 盒子。
  
  
                  * `BRAND` —
                  [品牌包装](*brand-package) 那家商店。
  
  
                  如果你不通过它 `packageType`，订单将在一个盒子或没有包装到达。
                type: string
                enum:
                  - WHITELABEL
                  - BRAND
          paymentType:
            description: |
              订购付款类别:
  
              * `PREPAID` — 结账时付款。
            type: string
            enum:
              - PREPAID
          draft:
            type: boolean
            description: >
              指示是否已创建订单草稿。
  
  
              * `true` — 燕基科斯.市场将创建一个具有状态的订单
              `RESERVED` 它将等待商店的确认。
  
              * `false` — 燕基科斯.市场将创建一个具有状态的订单
              `PROCESSING` 具有子状态 `STARTED`
              它将开始处理它，不需要额外的确认。
            default: false
          fake:
            type: boolean
            description: >
              指示测试顺序。
  
  
              * `true` — 允许您检查商店及其API的操作
              [测试订单](../../concepts/sandbox.md).
              这样的订单将不会发货，也不会影响余额。
  
              * `false` — 真正的秩序。
            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: zh/api/orders/createOrder.md -->

[*brand-package]：提前带到存放货物的市场仓库。


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