从12月31日开始,push API方法将不可用。 从10月1日开始,它们可能不稳定。

要接收有关新订单的信息,请启用API通知。 怎么做

订单的转让和接受订单的请求

向商店提交新订单并请求确认订单接受。

要取消订单,请使用请求 PUT v2/campaigns/{campaignId}/orders/{orderId}/status.

请求可以执行多次

当响应市场的要求时,这是可能的 POST order/accept 该商店确认接受该订单,但由于技术故障,该商店的回应未被市场记录。 由于不知道订单接受请求是否已到达商店,市场可以重复此请求。 预计商店将回复确认接受此订单。

当新订单出现时,市场会向您发送请求。 如果您在10秒内没有回复,市场将开始重复请求。 前3次 — 之后的每一分钟 — 每10分钟一班。

如果您没有回应四个重复的请求,市场将关闭商店,您的产品将从展柜中消失。 要再次连接,请正确响应所有真实或验证市场请求以创建订单。 — 接受或取消。 之后,您的产品将自动返回到展示柜。

将订单数据传输到市场提货点的功能(DBS)

如果客户选择将订单交付到品牌市场提货点,则将在没有参数的情况下收到请求 outlet. 交付类型 类型 对应的值 PICKUP. 送货地点的地址和日期将显示在元素中 addressdates.

有关送货到市场提货点的更多信息,请参阅 在市场对卖家的帮助.

例子:

为了便于阅读,示例代码以缩写格式提供。

{
  ...
  "delivery":
    {
      "type": "PICKUP",
      "dispatchType": "MARKET_BRANDED_OUTLET",
      "deliveryPartnerType": "SHOP",
      "deliveryServiceId": 99,
      "price": 1200,
      "serviceName": "СПСР",
      "liftType": "NOT_NEEDED",
      "liftPrice": 0,
      "vat": "VAT_22",
      "dates": {
        "fromDate": "15-02-2022",
        "toDate": "15-02-2022",
        "fromTime": "10:00",
        "toTime": "21:00"
      }
    },
  ...
}

Request

POST

/order/accept

Body

application/json
{
  "order": {
    "businessId": 0,
    "id": 0,
    "status": "PLACING",
    "substatus": "RESERVATION_EXPIRED",
    "creationDate": "23-09-2022 09:12:41",
    "currency": "RUR",
    "itemsTotal": 0.5,
    "total": 0.5,
    "deliveryTotal": 0.5,
    "subsidyTotal": 0.5,
    "totalWithSubsidy": 0.5,
    "subsidies": [
      {
        "type": "YANDEX_CASHBACK",
        "amount": 0.5
      }
    ],
    "buyerItemsTotal": 0.5,
    "buyerTotal": 0.5,
    "buyerItemsTotalBeforeDiscount": 0.5,
    "buyerTotalBeforeDiscount": 0.5,
    "paymentType": "PREPAID",
    "paymentMethod": "SHOP_PREPAID",
    "fake": true,
    "shopOrderId": "example",
    "items": [
      {
        "id": 0,
        "feedId": 0,
        "offerId": "example",
        "feedCategoryId": "example",
        "offerName": "example",
        "fulfilmentShopId": 0,
        "price": 0.5,
        "buyerPrice": 0.5,
        "buyerPriceBeforeDiscount": 0.5,
        "priceBeforeDiscount": 0.5,
        "count": 0,
        "delivery": true,
        "vat": "NO_VAT",
        "shopSku": "example",
        "sku": "example",
        "subsidy": 0.5,
        "subsidies": [
          null
        ],
        "warehouseId": 0,
        "partnerWarehouseId": "example",
        "params": "example",
        "promos": [
          null
        ],
        "instances": [
          null
        ],
        "tags": [
          null
        ]
      }
    ],
    "notes": "example",
    "taxSystem": "OSN",
    "expiryDate": "23-09-2022",
    "electronicAcceptanceCertificateCode": "example",
    "tags": [
      "ULTIMA"
    ],
    "buyer": {
      "id": "example",
      "lastName": "example",
      "firstName": "example",
      "middleName": "example",
      "phone": "example",
      "email": "example",
      "type": "PERSON",
      "uid": 0,
      "homeAddress": {
        "country": "example",
        "postcode": "example",
        "city": "example",
        "district": "example",
        "subway": "example",
        "street": "example",
        "house": "example",
        "block": "example",
        "entrance": "example",
        "entryphone": "example",
        "floor": "example",
        "apartment": "example"
      }
    },
    "delivery": {
      "id": "example",
      "shopDeliveryId": "example",
      "type": "DELIVERY",
      "serviceName": "example",
      "price": 0.5,
      "subsidy": 0.5,
      "deliveryOptionId": "example",
      "deliveryPartnerType": "SHOP",
      "dates": {},
      "region": {},
      "vat": "NO_VAT",
      "deliveryServiceId": 0,
      "liftType": "NOT_NEEDED",
      "liftPrice": 0.5,
      "outlet": {},
      "dispatchType": "UNKNOWN",
      "shipments": [
        null
      ],
      "estimated": true,
      "eacType": "MERCHANT_TO_COURIER",
      "address": null
    }
  }
}

Name

Description

order

Type: object

All of 2 types
  • Type: object

    businessId

    Type: integer

    内阁ID。

    buyerItemsTotal

    Type: number

    订单中所有物品的成本在应用折扣后以买方的货币计算,不包括运费。

    buyerItemsTotalBeforeDiscount

    Type: number

    在应用折扣和不包括运输成本之前,订单中所有项目的成本以买方的货币计算。

    buyerTotal

    Type: number

    订单中所有项目的成本,在应用折扣后,以买方的货币计算,并考虑到运输成本。

    buyerTotalBeforeDiscount

    Type: number

    在应用折扣之前,订单中所有项目的成本以买方的货币计算,包括运费。

    creationDate

    Type: string<date-dd-MM-yyyy-HH-mm-ss>

    Example: 23-09-2022 09:12:41

    currency

    Type: string

    货币代码:

    • 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

    deliveryTotal

    Type: number

    以订单货币交付的成本。

    electronicAcceptanceCertificateCode

    Type: string

    只适用于型号 FBS

    一个六位数的确认代码:

    • 将快件订单转给速递员;
    • 收到快递员未付的快递订单。

    提供了有关使用代码的详细信息 在市场对卖家的帮助.

    Example: example

    expiryDate

    Type: string<date-dd-MM-yyyy>

    日期格式: DD-MM-YYYY.

    Example: 23-09-2022

    fake

    Type: boolean

    订单类型:

    • false — 真正的客户的订单。

    • true — 一个测试市场秩序。

    id

    Type: integer

    的订单ID。

    items

    Type: object[]

    buyerPrice

    Type: number

    以买方货币计算的产品价格。 价格已经包括折扣:

    • 股份;
    • 优惠券;
    • 促销代码。

    向后兼容性

    过时的参数也被填写。 buyer-price. 使用参数 buyerPrice.

    buyerPriceBeforeDiscount

    Type: number

    在应用折扣之前,以买方货币计算的产品成本。

    count

    Type: integer

    积单元的数量。

    delivery

    Type: boolean

    只适用于型号 FBS

    将产品交付到请求中指定的区域:

    • false — 产品没有交付到指定的区域。
    • true — 默认值是产品交付到指定区域。

    接受在参数中传递的值 delivery,嵌入在 items,响应请求 POST 大车.

    feedCategoryId

    Type: string

    只适用于型号 DBS

    文件夹中指定的类别的ID。

    Example: example

    feedId

    Type: integer

    产品目录的ID。

    fulfilmentShopId

    Type: integer

    产品供应商的ID。

    要找到答案,请登录市场上的卖家帐户并点击其名称。 ID在字段中指定 商店ID 在所需仓库的行中。

    id

    Type: integer

    订单中的产品ID。

    允许您在订单中识别产品。

    instances

    Type: object[]

    cis

    Type: string

    系统中的单元识别码 "诚实的标志" 没有密码或 "ASL BELGISI" (对于Yandex Go市场的卖家)。

    Example: example

    cisFull

    Type: string

    系统中的单元识别码 "诚实的标志" 用一个密码。

    Example: example

    countryCode

    Type: string

    生产国采用ISO3166-1alpha-2格式。 如何获得

    Min length: 2

    Max length: 2

    Pattern: ^[A-Z]{2}$

    Example: RU

    gtd

    Type: string

    货物报关。

    它是由斜杠分隔的三个数字组成的字符串:XXXXXXX/XXXXXXX/XXXXXXXXX。

    第一部分 — 登记进口货物申报的海关代码。 进一步 — 声明的日期和编号。

    Example: example

    rnpt

    Type: string

    品批次的注册号。

    它是由斜杠分隔的四个数字组成的字符串:XXXXXXX/XXXXXXX/XXXXXXX/XXX。

    第一部分 — 登记货物申报的海关办公室的代码。 进一步 — 声明的日期、编号和声明中标记产品的编号。

    Example: example

    uin

    Type: string

    珠宝的UIN(16位数字代码) 当制造商在贵金属和宝石的周转控制系统中注册产品时,他会获得胜利。 — GIIS DMDK。

    Example: example

    品单元的标签的信息。

    返回请求中传递的标记数据。 PUT v2/campaigns/{campaignId}/orders/{orderId}/identifiers.

    如果商店尚未发送此订单的代码, instances 缺席。

    Example
    [
      {
        "cis": "example",
        "cisFull": "example",
        "uin": "example",
        "rnpt": "example",
        "gtd": "example",
        "countryCode": "RU"
      }
    ]
    

    offerId

    Type: string

    你的 SKU — 系统中的产品ID。

    使用规则 SKU:

    • 对于每个产品 SKU 一定有一个。

    • 已经设置 SKU 它不能被释放并重新用于另一个产品。 每个产品都应该收到一个以前从未在目录中使用过的新标识符。

    SKU 产品可以在市场上的卖方帐户中更改。 阅读有关如何做到这一点。 在市场对卖家的帮助.

    重要

    值开头和结尾的空格会自动删除。 例如, " SKU123 ""SKU123" 它们将被视为相同的值。

    什么是 SKU 以及如何分配它

    Min length: 1

    Max length: 255

    Pattern: ^(?=.*\S.*)[^\x00-\x08\x0A-\x1f\x7f]{1,255}$

    Example: example

    offerName

    Type: string

    只适用于型号 DBS

    产品名称。

    Example: example

    params

    Type: string

    品特性(例如,其颜色)。

    Example: example

    partnerWarehouseId

    Type: string

    只适用于型号 FBS

    为其下订单的商店系统中仓库的ID。

    Example: example

    price

    Type: number

    以订单货币计算的产品价格,不包括促销代码、优惠券和促销折扣给卖方的报酬(参数) subsidy).

    priceBeforeDiscount

    Type: number

    在应用折扣之前,以商店货币计算的产品成本。

    promos

    Type: object[]

    type

    Type: string

    折扣类型:

    • DIRECT_DISCOUNT — 直接折扣,这是由卖方或市场设置。

    • BLUE_SET — 工具包。

    • BLUE_FLASH — 一个闪光的促销。

    • MARKET_COUPON — 使用Yandex的折扣。市场促销代码.

    • MARKET_PROMOCODE — 商店促销代码的折扣。

    • MARKET_BLUE — Yandex的折扣。 市场。

    • CHEAPEST_AS_GIFT — 作为礼物最便宜的项目。

    • CASHBACK — 现金返还。

    • SPREAD_DISCOUNT_COUNT — 相同商品数量的折扣。

    • SPREAD_DISCOUNT_RECEIPT — 收据金额的折扣.

    • DISCOUNT_BY_PAYMENT_TYPE — 使用Plus卡付款时可享受直接折扣。

    • PERCENT_DISCOUNT — 直接百分比折扣。

    • DCO_EXTRA_DISCOUNT — 从市场计算补贴所需的额外折扣。

    • UNKNOWN — 未知类型。

    过时的类型:

    • GENERIC_BUNDLE.

    • MARKET_COIN.

    • PRICE_DROP_AS_YOU_SHOP.

    • SECRET_SALE.

    Enum: DIRECT_DISCOUNT, BLUE_SET, BLUE_FLASH, GENERIC_BUNDLE, MARKET_COUPON, MARKET_PROMOCODE, MARKET_BLUE, MARKET_COIN, PRICE_DROP_AS_YOU_SHOP, SECRET_SALE, CHEAPEST_AS_GIFT, CASHBACK, SPREAD_DISCOUNT_COUNT, SPREAD_DISCOUNT_RECEIPT, DISCOUNT_BY_PAYMENT_TYPE, PERCENT_DISCOUNT, DCO_EXTRA_DISCOUNT, UNKNOWN

    marketPromoId

    Type: string

    在市场和卖方之间提供服务以促进服务的协议框架内的促销标识符。

    Example: example

    subsidy

    Type: number

    作为促销活动的一部分销售的产品从市场上向卖方支付报酬。

    有关使用促销代码,优惠券和促销活动向卖家提供商品折扣的报酬的信息。

    Example
    [
      {
        "type": "DIRECT_DISCOUNT",
        "subsidy": 0.5,
        "marketPromoId": "example"
      }
    ]
    

    shopSku

    Type: string

    你的 SKU — 系统中的产品ID。

    使用规则 SKU:

    • 对于每个产品 SKU 一定有一个。

    • 已经设置 SKU 它不能被释放并重新用于另一个产品。 每个产品都应该收到一个以前从未在目录中使用过的新标识符。

    SKU 产品可以在市场上的卖方帐户中更改。 阅读有关如何做到这一点。 在市场对卖家的帮助.

    重要

    值开头和结尾的空格会自动删除。 例如, " SKU123 ""SKU123" 它们将被视为相同的值。

    什么是 SKU 以及如何分配它

    Min length: 1

    Max length: 255

    Pattern: ^(?=.*\S.*)[^\x00-\x08\x0A-\x1f\x7f]{1,255}$

    Example: example

    sku

    Type: string

    SKU 在市场上 — 市场上当前产品卡的ID。

    Example: example

    subsidies

    Type: object[]

    amount

    Type: number

    补助金额。

    type

    Type: string

    资助类别:

    • YANDEX_CASHBACK — Yandex Plus订阅折扣。

    • SUBSIDY — 燕基科斯. 市场折扣(促销、促销代码、优惠券等)).

    Enum: YANDEX_CASHBACK, SUBSIDY

    按类型划分的补贴清单。

    Example
    [
      {
        "type": "YANDEX_CASHBACK",
        "amount": 0.5
      }
    ]
    

    subsidy

    Type: number

    相反,使用 subsidies.

    对产品的所有折扣给卖方的总报酬:

    • 通过促销代码;
    • 通过优惠券;
    • 按加分;
    • 在股票上。

    tags

    Type: string[]

    产品属性。

    Example
    [
      "ULTIMA"
    ]
    

    vat

    Type: string

    产品或交付的增值税:

    • 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 — 未知类型。

    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

    warehouseId

    Type: integer

    只适用于型号 FBS

    市场上仓库的ID。

    订单中的产品列表。

    Example
    [
      {
        "id": 0,
        "feedId": 0,
        "offerId": "example",
        "feedCategoryId": "example",
        "offerName": "example",
        "fulfilmentShopId": 0,
        "price": 0.5,
        "buyerPrice": 0.5,
        "buyerPriceBeforeDiscount": 0.5,
        "priceBeforeDiscount": 0.5,
        "count": 0,
        "delivery": true,
        "vat": "NO_VAT",
        "shopSku": "example",
        "sku": "example",
        "subsidy": 0.5,
        "subsidies": [
          {
            "type": "YANDEX_CASHBACK",
            "amount": 0.5
          }
        ],
        "warehouseId": 0,
        "partnerWarehouseId": "example",
        "params": "example",
        "promos": [
          {
            "type": "DIRECT_DISCOUNT",
            "subsidy": 0.5,
            "marketPromoId": "example"
          }
        ],
        "instances": [
          {
            "cis": "example",
            "cisFull": "example",
            "uin": "example",
            "rnpt": "example",
            "gtd": "example",
            "countryCode": "RU"
          }
        ],
        "tags": [
          "ULTIMA"
        ]
      }
    ]
    

    itemsTotal

    Type: number

    订单货币的订单总额,不包括促销代码、优惠券和促销折扣的交付成本和报酬(参数) subsidyTotal).

    notes

    Type: string

    对订单进行评论。

    Example: example

    paymentMethod

    Type: string

    订单的付款方式:

    • 如果在结账时选择付款,则值("paymentType": "PREPAID"):

      • YANDEX — 通过银行卡。

      • APPLE_PAY — Apple Pay(未使用)。

      • GOOGLE_PAY — Google Pay(未使用)。

      • CREDIT — 赊帐。

      • TINKOFF_CREDIT — 从廷科夫银行贷到的。

      • TINKOFF_INSTALLMENTS — 分期付款在廷科夫银行。

      • EXTERNAL_CERTIFICATE — 与礼券(例如,从Sberbank在线应用程序)。

      • SBP — 通过快速支付系统。

      • B2B_ACCOUNT_PREPAYMENT — 组织支付订单。

    • 如果在收到订单时选择付款的值("paymentType": "POSTPAID"):

      • CARD_ON_DELIVERY — 通过银行卡。

      • BOUND_CARD_ON_DELIVERY — 收到时附有连结的银行卡。

      • BNPL_BANK_ON_DELIVERY — 超级分裂。

      • BNPL_ON_DELIVERY — 分裂。

      • CASH_ON_DELIVERY — 现金。

      • B2B_ACCOUNT_POSTPAYMENT — 订单在交货后由组织支付。

    • UNKNOWN — 未知类型。

    默认值: CASH_ON_DELIVERY.

    Enum: SHOP_PREPAID, BANK_CARD, YANDEX_MONEY, CASH_ON_DELIVERY, CARD_ON_DELIVERY, BOUND_CARD_ON_DELIVERY, BNPL_BANK_ON_DELIVERY, BNPL_ON_DELIVERY, YANDEX, APPLE_PAY, EXTERNAL_CERTIFICATE, CREDIT, INSTALLMENT, GOOGLE_PAY, TINKOFF_CREDIT, SBP, TINKOFF_INSTALLMENTS, B2B_ACCOUNT_PREPAYMENT, B2B_ACCOUNT_POSTPAYMENT, UNKNOWN

    paymentType

    Type: string

    订购付款类别:

    • PREPAID — 结账时付款。

    • POSTPAID — 在收到订单后付款。

    • UNKNOWN — 未知类型。

    如果省略此参数,订单将在收到时支付。

    Enum: PREPAID, POSTPAID, UNKNOWN

    shopOrderId

    Type: string

    商店中的订单ID。

    Example: example

    status

    Type: string

    订单状况:

    • PLACING — 它正在处理中,正在准备预订。

    • RESERVED — 预订,但预订不足。

    • UNPAID — 已发出,但尚未付款(如果在结账时选择付款)。

    • PROCESSING — 它正在处理中。

    • DELIVERY — 转移到送货服务。

    • PICKUP — 送到取件点。

    • DELIVERED — 由买方接收。

    • CANCELLED — 取消。

    • PENDING — 等待卖方处理。

    • PARTIALLY_RETURNED — 部分退款。

    • RETURNED — 全额回来了。

    • UNKNOWN — 状态不明。

    也可以返回其他值。 您不需要处理它们。

    Enum: PLACING, RESERVED, UNPAID, PROCESSING, DELIVERY, PICKUP, DELIVERED, CANCELLED, PENDING, PARTIALLY_RETURNED, RETURNED, UNKNOWN

    subsidies

    Type: object[]

    amount

    Type: number

    补助金额。

    type

    Type: string

    资助类别:

    • YANDEX_CASHBACK — Yandex Plus订阅折扣。

    • SUBSIDY — 燕基科斯. 市场折扣(促销、促销代码、优惠券等))

    • DELIVERY — 航运折扣(DBS).

    Enum: YANDEX_CASHBACK, SUBSIDY, DELIVERY

    按类型划分的补贴清单。

    Example
    [
      {
        "type": "YANDEX_CASHBACK",
        "amount": 0.5
      }
    ]
    

    subsidyTotal

    Type: number

    向卖方支付折扣的总报酬:

    • 通过促销代码;
    • 通过优惠券;
    • 对于股份;
    • 交付补贴。

    substatus

    Type: string

    订单处理阶段(状态 PROCESSING)或取消订单的原因(状态 CANCELLED).

    • 状态中的订单值 PROCESSING:

      • STARTED — 订单已确认,可以处理。

      • READY_TO_SHIP — 订单已组装并准备装运。

    • 状态中的订单值 CANCELLED:

      • RESERVATION_EXPIRED — 客户未在10分钟内完成预订订单。

      • USER_NOT_PAID — 买方没有为订单付款(对于付款类型 PREPAID)30分钟。

      • USER_UNREACHABLE — 无法联系买家。 为此取消,必须满足以下条件:

        • 至少3个电话从8到21在买方的时区;
        • 第一次和第三次通话之间的休息时间至少为90分钟;
        • 连接不短于5秒。

        如果不满足其中至少一个条件(号码不可用时除外),您将无法取消订单。 将返回带有错误代码400的响应。

      • USER_CHANGED_MIND — 客户因个人原因取消了订单。

      • USER_REFUSED_DELIVERY — 买方对交货条件不满意.

      • USER_REFUSED_PRODUCT — 该产品不适合买方。

      • SHOP_FAILED — 商店无法完成订单。

      • USER_REFUSED_QUALITY — 买方对产品的质量不满意。

      • REPLACING_ORDER — 买方决定主动更换另一种产品。

      • PROCESSING_EXPIRED — 值不再使用。

      • PICKUP_EXPIRED — 取货点的订单保质期已过期。

      • TOO_MANY_DELIVERY_DATE_CHANGES — 订单被推迟了太多次。

      • TOO_LONG_DELIVERY — 订单太长时间无法交付。

      • INCORRECT_PERSONAL_DATA — 对于来自国外的订单,收件人的信息不正确,订单将不会在海关检查。

    • TECHNICAL_ERROR — 市场方面的技术错误。 联系支持。

    也可以返回其他值。 您不需要处理它们。

    Enum: RESERVATION_EXPIRED, USER_NOT_PAID, USER_UNREACHABLE, USER_CHANGED_MIND, USER_REFUSED_DELIVERY, USER_REFUSED_PRODUCT, SHOP_FAILED, USER_REFUSED_QUALITY, REPLACING_ORDER, PROCESSING_EXPIRED, PENDING_EXPIRED, SHOP_PENDING_CANCELLED, PENDING_CANCELLED, USER_FRAUD, RESERVATION_FAILED, USER_PLACED_OTHER_ORDER, USER_BOUGHT_CHEAPER, MISSING_ITEM, BROKEN_ITEM, WRONG_ITEM, PICKUP_EXPIRED, DELIVERY_PROBLEMS, LATE_CONTACT, CUSTOM, DELIVERY_SERVICE_FAILED, WAREHOUSE_FAILED_TO_SHIP, DELIVERY_SERVICE_UNDELIVERED, PREORDER, AWAIT_CONFIRMATION, STARTED, PACKAGING, READY_TO_SHIP, SHIPPED, ASYNC_PROCESSING, WAITING_USER_INPUT, WAITING_BANK_DECISION, BANK_REJECT_CREDIT_OFFER, CUSTOMER_REJECT_CREDIT_OFFER, CREDIT_OFFER_FAILED, AWAIT_DELIVERY_DATES_CONFIRMATION, SERVICE_FAULT, DELIVERY_SERVICE_RECEIVED, USER_RECEIVED, WAITING_FOR_STOCKS, AS_PART_OF_MULTI_ORDER, READY_FOR_LAST_MILE, LAST_MILE_STARTED, ANTIFRAUD, DELIVERY_USER_NOT_RECEIVED, DELIVERY_SERVICE_DELIVERED, DELIVERED_USER_NOT_RECEIVED, USER_WANTED_ANOTHER_PAYMENT_METHOD, USER_RECEIVED_TECHNICAL_ERROR, USER_FORGOT_TO_USE_BONUS, DELIVERY_SERVICE_NOT_RECEIVED, DELIVERY_SERVICE_LOST, SHIPPED_TO_WRONG_DELIVERY_SERVICE, DELIVERED_USER_RECEIVED, WAITING_TINKOFF_DECISION, COURIER_SEARCH, COURIER_FOUND, COURIER_IN_TRANSIT_TO_SENDER, COURIER_ARRIVED_TO_SENDER, COURIER_RECEIVED, COURIER_NOT_FOUND, COURIER_NOT_DELIVER_ORDER, COURIER_RETURNS_ORDER, COURIER_RETURNED_ORDER, WAITING_USER_DELIVERY_INPUT, PICKUP_SERVICE_RECEIVED, PICKUP_USER_RECEIVED, CANCELLED_COURIER_NOT_FOUND, COURIER_NOT_COME_FOR_ORDER, DELIVERY_NOT_MANAGED_REGION, INCOMPLETE_CONTACT_INFORMATION, INCOMPLETE_MULTI_ORDER, INAPPROPRIATE_WEIGHT_SIZE, TECHNICAL_ERROR, SORTING_CENTER_LOST, COURIER_SEARCH_NOT_STARTED, LOST, AWAIT_PAYMENT, AWAIT_LAVKA_RESERVATION, USER_WANTS_TO_CHANGE_ADDRESS, FULL_NOT_RANSOM, PRESCRIPTION_MISMATCH, DROPOFF_LOST, DROPOFF_CLOSED, DELIVERY_TO_STORE_STARTED, USER_WANTS_TO_CHANGE_DELIVERY_DATE, WRONG_ITEM_DELIVERED, DAMAGED_BOX, AWAIT_DELIVERY_DATES, LAST_MILE_COURIER_SEARCH, PICKUP_POINT_CLOSED, LEGAL_INFO_CHANGED, USER_HAS_NO_TIME_TO_PICKUP_ORDER, DELIVERY_CUSTOMS_ARRIVED, DELIVERY_CUSTOMS_CLEARED, FIRST_MILE_DELIVERY_SERVICE_RECEIVED, AWAIT_AUTO_DELIVERY_DATES, AWAIT_USER_PERSONAL_DATA, NO_PERSONAL_DATA_EXPIRED, CUSTOMS_PROBLEMS, AWAIT_CASHIER, WAITING_POSTPAID_BUDGET_RESERVATION, AWAIT_SERVICEABLE_CONFIRMATION, POSTPAID_BUDGET_RESERVATION_FAILED, AWAIT_CUSTOM_PRICE_CONFIRMATION, READY_FOR_PICKUP, TOO_MANY_DELIVERY_DATE_CHANGES, TOO_LONG_DELIVERY, DEFERRED_PAYMENT, POSTPAID_FAILED, INCORRECT_PERSONAL_DATA, UNKNOWN

    tags

    Type: string[]

    命令的迹象。

    Example
    [
      "example"
    ]
    

    taxSystem

    Type: string

    下订单时商店的税收制度:

    • ECHN — 统一农业税(UST)。

    • ENVD — 统一计算所得税(UTII)。

    • OSN — 税收的一般制度(OSN)。

    • PSN — 专利税制(PSN)。

    • USN — 简化税制(STS)。

    • USN_MINUS_COST — 简化的税收制度,收入减少的费用数额(USN"收入减去费用")。

    • NPD — 专业收入税(NAP)。

    • UNKNOWN_VALUE — 未知值。

    Enum: OSN, USN, USN_MINUS_COST, ENVD, ECHN, PSN, NPD, UNKNOWN_VALUE

    total

    Type: number

    以订单货币计算的订单总额,包括交货成本,但不包括对促销代码、优惠券、现金回赠和促销折扣的报酬(参数) subsidyTotal).

    totalWithSubsidy

    Type: number

    订单中所有商品的成本和商店货币的报酬之和(参数之和) totalsubsidyTotal).

    秩序。

    Example
    {
      "businessId": 0,
      "id": 0,
      "status": "PLACING",
      "substatus": "RESERVATION_EXPIRED",
      "creationDate": "23-09-2022 09:12:41",
      "currency": "RUR",
      "itemsTotal": 0.5,
      "total": 0.5,
      "deliveryTotal": 0.5,
      "subsidyTotal": 0.5,
      "totalWithSubsidy": 0.5,
      "subsidies": [
        {
          "type": "YANDEX_CASHBACK",
          "amount": 0.5
        }
      ],
      "buyerItemsTotal": 0.5,
      "buyerTotal": 0.5,
      "buyerItemsTotalBeforeDiscount": 0.5,
      "buyerTotalBeforeDiscount": 0.5,
      "paymentType": "PREPAID",
      "paymentMethod": "SHOP_PREPAID",
      "fake": true,
      "shopOrderId": "example",
      "items": [
        {
          "id": 0,
          "feedId": 0,
          "offerId": "example",
          "feedCategoryId": "example",
          "offerName": "example",
          "fulfilmentShopId": 0,
          "price": 0.5,
          "buyerPrice": 0.5,
          "buyerPriceBeforeDiscount": 0.5,
          "priceBeforeDiscount": 0.5,
          "count": 0,
          "delivery": true,
          "vat": "NO_VAT",
          "shopSku": "example",
          "sku": "example",
          "subsidy": 0.5,
          "subsidies": [
            {
              "type": "YANDEX_CASHBACK",
              "amount": 0.5
            }
          ],
          "warehouseId": 0,
          "partnerWarehouseId": "example",
          "params": "example",
          "promos": [
            {
              "type": "DIRECT_DISCOUNT",
              "subsidy": 0.5,
              "marketPromoId": "example"
            }
          ],
          "instances": [
            {
              "cis": "example",
              "cisFull": "example",
              "uin": "example",
              "rnpt": "example",
              "gtd": "example",
              "countryCode": "RU"
            }
          ],
          "tags": [
            "ULTIMA"
          ]
        }
      ],
      "notes": "example",
      "taxSystem": "OSN",
      "expiryDate": "23-09-2022",
      "electronicAcceptanceCertificateCode": "example",
      "tags": [
        "ULTIMA"
      ]
    }
    
  • Type: object

    buyer

    Type: object

    type

    Type: string

    买方类型:

    • PERSON — 一个自然人。

    • BUSINESS — 组织。

    Enum: PERSON, BUSINESS

    有关买方的信息。

    Example
    {
      "type": "PERSON"
    }
    

    delivery

    Type: object

    All of 2 types
    • Type: object

      dates

      Type: object

      fromDate

      Type: string<date-dd-MM-yyyy>

      日期格式: DD-MM-YYYY.

      Example: 23-09-2022

      fromTime

      Type: string<time>

      送时间间隔的开始。

      它仅与参数一起传递 类型=交付.

      时间格式:24小时, HH:MM. 而不是 毫米 始终指定 00 (例外 — 23:59).

      最小值: 00:00.

      Example: 12:00:00

      realDeliveryDate

      Type: string<date-dd-MM-yyyy>

      日期格式: DD-MM-YYYY.

      Example: 23-09-2022

      toDate

      Type: string<date-dd-MM-yyyy>

      日期格式: DD-MM-YYYY.

      Example: 23-09-2022

      toTime

      Type: string<time>

      送时间间隔的结束。

      它仅与参数一起传递 类型=交付.

      时间格式:24小时, HH:MM. 而不是 毫米 始终指定 00 (例外 — 23:59).

      最大值: 23:59.

      Example: 12:00:00

      交货日期的范围。

      Example
      {
        "fromDate": "23-09-2022",
        "toDate": "23-09-2022",
        "fromTime": "12:00:00",
        "toTime": "12:00:00",
        "realDeliveryDate": "23-09-2022"
      }
      

      deliveryPartnerType

      Type: string

      在特定订单内与送货服务的合作类型:

      • SHOP — 商店直接与送货服务合作或独立交付订单。

      • YANDEX_MARKET — 这家商店通过市场提供送货服务.

      • UNKNOWN — 未知类型。

      Enum: SHOP, YANDEX_MARKET, UNKNOWN

      deliveryServiceId

      Type: integer

      送服务ID。 有关派递服务的资料,可透过要求 GET delivery/services.

      dispatchType

      Type: string

      装运方法:

      • BUYER — 快递交付给买方。

      • MARKET_BRANDED_OUTLET — 送到市场的取货点。

      • SHOP_OUTLET — 送货到商店的订单提货点.

      • UNKNOWN — 未知类型。

      Enum: UNKNOWN, BUYER, MARKET_BRANDED_OUTLET, SHOP_OUTLET

      eacType

      Type: string

      EAPP确认码的类型:

      • MERCHANT_TO_COURIER (暂时不退款) — 卖方将代码传送给快递员以接收非购买。

      • COURIER_TO_MERCHANT — 快递员将代码传送给卖方以接收订单。

      • CHECKING_BY_MERCHANT — 卖方检查他身边的代码。

      Enum: MERCHANT_TO_COURIER, COURIER_TO_MERCHANT, CHECKING_BY_MERCHANT

      estimated

      Type: boolean

      只适用于型号 DBS

      指示订单的交货日期尚未确认的标志。 它是根据订单发送的产品,交货时间很长(31-60天)。 最终交货日期必须发送给Yandex。在请求中下订单之日起7天内上市。 PUT v2/campaigns/{campaignId}/orders/{orderId}/delivery/date.

      liftPrice

      Type: number

      只适用于型号 DBS

      上地板的费用。

      liftType

      Type: string

      将订单提升到地板的类型:

      • NOT_NEEDED — 不需要。

      • MANUAL — 手册。

      • ELEVATOR — 电梯。

      • CARGO_ELEVATOR — 货运电梯。

      • FREE — 以上任何一项,如果启用了自由升降选项。

      • UNKNOWN — 未知类型。

      Enum: NOT_NEEDED, MANUAL, ELEVATOR, CARGO_ELEVATOR, FREE, UNKNOWN

      outlet

      Type: object

      code

      Type: string

      店分配的取件点ID。

      Example: example

      买方为接收订单而选择的提货点。 如果客户选择在品牌市场订单提货点(价值)接收订单,则不会在响应中返回 MARKET_BRANDED_OUTLET 参数 dispatchType).

      Example
      {
        "code": "example"
      }
      

      price

      Type: number

      请勿使用此选项。

      region

      Type: object

      name

      Type: string

      区域的名称。

      Example: example

      type

      Type: string

      地区类型:

      • CITY_DISTRICT — 城市的面积。

      • CITY — 一个大城市。

      • CONTINENT — 大陆。

      • COUNTRY_DISTRICT — 联邦区。

      • COUNTRY — 国家。

      • REGION — 地区。

      • METRO_STATION — 地铁站。

      • MONORAIL_STATION — 单轨铁路站。

      • OVERSEAS_TERRITORY — 位于世界另一地区的一个国家的一个单独领土(例如安圭拉、格陵兰、百慕大等)。).

      • SECONDARY_DISTRICT — 二级市辖区(例如,对于莫斯科自治区,二级区是Izmailovo,Novokosino,Perovo等。).

      • SETTLEMENT — 结算。

      • SUBJECT_FEDERATION — 联的主体。

      • SUBJECT_FEDERATION_DISTRICT — 联的主体的区。

      • VILLAGE — 城市。

      • SUBURB — 郊区。

      • OTHER — 未知区域。

      Enum: OTHER, CITY_DISTRICT, CITY, CONTINENT, COUNTRY_DISTRICT, COUNTRY, REGION, METRO_STATION, MONORAIL_STATION, OVERSEAS_TERRITORY, SECONDARY_DISTRICT, SETTLEMENT, SUBJECT_FEDERATION, SUBJECT_FEDERATION_DISTRICT, VILLAGE, SUBURB

      id

      Type: integer

      区域的ID。

      parent

      Type: unknown

      有关父区域的信息。

      父区域指定到国家级别。

      Example: null

      的输送区域。

      Example
      {
        "id": 0,
        "name": "example",
        "type": "OTHER",
        "parent": null
      }
      

      serviceName

      Type: string

      送货服务的名称。

      Example: example

      shipments

      Type: object[]

      boxes

      Type: object[]

      depth

      Type: integer

      厘米为单位的货物区域的深度。

      height

      Type: integer

      以厘米为单位的货物区域的高度。

      id

      Type: integer

      货物区的ID。

      items

      Type: object[]

      count

      Type: integer

      箱内产品的数量。

      id

      Type: integer

      箱的ID。

      Example
      [
        {
          "id": 0,
          "count": 0
        }
      ]
      

      weight

      Type: integer

      以克为单位的货物区域的重量。

      width

      Type: integer

      以厘米为单位的货物区域的宽度。

      货物位置列表。

      Example
      [
        {
          "id": 0,
          "weight": 0,
          "width": 0,
          "height": 0,
          "depth": 0,
          "items": [
            {
              "id": 0,
              "count": 0
            }
          ]
        }
      ]
      

      depth

      Type: integer

      以厘米为单位的包装顺序的深度。

      如果订单是由市场的合作伙伴服务(deliveryPartnerType=YANDEX_MARKET).

      height

      Type: integer

      以厘米为单位的包装顺序的高度。

      如果订单是由市场的合作伙伴服务(deliveryPartnerType=YANDEX_MARKET).

      id

      Type: integer

      Yandex分配的包裹ID。市场。

      shipmentDate

      Type: string<date-dd-MM-yyyy>

      日期格式: DD-MM-YYYY.

      Example: 23-09-2022

      shipmentTime

      Type: string<time>

      只适用于型号 Express

      商店必须打包订单并将其转换为状态的时间 READY_TO_SHIP. 状态更改后,快递员将到达取货。

      时间格式:24小时, HH:MM.

      如果订单是由组织发出的,则在商定交货日期之前不会返回参数。

      Example: 12:00:00

      status

      Type: string

      合作伙伴送货服务中的订单状态:

      • NEW — 新的。

      • CREATED — 交付服务中创建的。

      • READY_TO_SHIP — 准备转移到送货服务。

      • ERROR — 订单创建错误。

      • UNKNOWN — 状态不明。

      Enum: NEW, CREATED, READY_TO_SHIP, ERROR, UNKNOWN

      weight

      Type: integer

      以克为单位的包装订单的重量。

      如果订单是由市场的合作伙伴服务(deliveryPartnerType=YANDEX_MARKET).

      width

      Type: integer

      以厘米为单位的包装订单的宽度。

      如果订单是由市场的合作伙伴服务(deliveryPartnerType=YANDEX_MARKET).

      有关包裹的信息。

      **对于模型 DBS:**如果订单是在市场提货点创建的,则会发送。

      Example
      [
        {
          "id": 0,
          "status": "NEW",
          "shipmentDate": "23-09-2022",
          "shipmentTime": "12:00:00",
          "weight": 0,
          "width": 0,
          "height": 0,
          "depth": 0,
          "boxes": [
            {
              "id": 0,
              "weight": 0,
              "width": 0,
              "height": 0,
              "depth": 0,
              "items": [
                {}
              ]
            }
          ]
        }
      ]
      

      shopDeliveryId

      Type: string

      只适用于型号 DBS

      店分配的配送ID。

      仅当存储使用该方法在对请求的响应中传递此标识符时,才指定此标识符 POST 大车 在参数中 id,嵌入在 deliveryOptions.

      Example: example

      subsidy

      Type: number

      交付补贴。

      type

      Type: string

      订单交付方法:

      • DELIVERY — 快递送货。

      • PICKUP — 皮卡。

      • POST — 邮件。

      • DIGITAL — 用于数字商品。

      • UNKNOWN — 未知类型。

      Enum: DELIVERY, PICKUP, POST, DIGITAL, UNKNOWN

      vat

      Type: string

      产品或交付的增值税:

      • 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 — 未知类型。

      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

      交付信息。

      Example
      {
        "shopDeliveryId": "example",
        "type": "DELIVERY",
        "serviceName": "example",
        "price": 0.5,
        "subsidy": 0.5,
        "deliveryPartnerType": "SHOP",
        "dates": {
          "fromDate": "23-09-2022",
          "toDate": "23-09-2022",
          "fromTime": "12:00:00",
          "toTime": "12:00:00",
          "realDeliveryDate": "23-09-2022"
        },
        "region": {
          "id": 0,
          "name": "example",
          "type": "OTHER",
          "parent": null
        },
        "vat": "NO_VAT",
        "deliveryServiceId": 0,
        "liftType": "NOT_NEEDED",
        "liftPrice": 0.5,
        "outlet": {
          "code": "example"
        },
        "dispatchType": "UNKNOWN",
        "shipments": [
          {
            "id": 0,
            "status": "NEW",
            "shipmentDate": "23-09-2022",
            "shipmentTime": "12:00:00",
            "weight": 0,
            "width": 0,
            "height": 0,
            "depth": 0,
            "boxes": [
              {
                "id": 0,
                "weight": 0,
                "width": 0,
                "height": 0,
                "depth": 0,
                "items": [
                  null
                ]
              }
            ]
          }
        ],
        "estimated": true,
        "eacType": "MERCHANT_TO_COURIER"
      }
      
    • Type: object

      address

      All of 2 types
      • Type: object

        apartment

        Type: string

        公寓或办公室号码。

        Example: example

        block

        Type: string

        建筑物或建筑物。

        Example: example

        city

        Type: string

        一个城市或地方。

        所需参数。

        Example: example

        country

        Type: string

        一个国家。

        如果选择了订单交付到提货点,则可选参数。

        Example: example

        district

        Type: string

        区。

        Example: example

        entrance

        Type: string

        入口号码。

        Example: example

        entryphone

        Type: string

        的对讲代码。

        Example: example

        floor

        Type: string

        地板。

        Example: example

        house

        Type: string

        房屋或财产的编号。

        所需参数。

        Example: example

        postcode

        Type: string

        邮政编码。

        如果选择了邮件传递,则表示(交货类型=POST).

        Example: example

        street

        Type: string

        街道。

        Example: example

        subway

        Type: string

        地铁站。

        Example: example

        地址。

        Example
        {
          "country": "example",
          "postcode": "example",
          "city": "example",
          "district": "example",
          "subway": "example",
          "street": "example",
          "house": "example",
          "block": "example",
          "entrance": "example",
          "entryphone": "example",
          "floor": "example",
          "apartment": "example"
        }
        
      • Type: object

        lat

        Type: number

        宽度。

        如果客户选择将订单交付到品牌市场提货点,则指定此参数。

        我们不保证它会被填写,因为这是一个可选字段。

        lon

        Type: number

        经度。

        如果客户选择将订单交付到品牌市场提货点,则指定此参数。

        我们不保证它会被填写,因为这是一个可选字段。

        notes

        Type: string

        地址的注释。 例如, 从庭院入口.

        如果客户选择将订单交付到品牌市场提货点,则指定此参数。

        Example: example

        outletPhones

        Type: string[]

        接机点的电话号码格式 8 812 123-45-67 890 (890 — 延伸)。

        如果客户选择将订单交付到品牌市场提货点,则指定此参数。

        Example
        [
          "example"
        ]
        

        schedule

        Type: object[]

        fromDay

        Type: string

        星期几:

        • MONDAY — 星期一。
        • TUESDAY — 星期二。
        • WEDNESDAY — 星期三。
        • THURSDAY — 星期四。
        • FRIDAY — 星期五。
        • SATURDAY — 星期六。
        • SUNDAY — 星期天。

        Enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY

        fromTime

        Type: string

        接点的开始时间。 时间格式:24小时, HH:MM.

        所需参数。

        Min length: 1

        Example: example

        toDay

        Type: string

        星期几:

        • MONDAY — 星期一。
        • TUESDAY — 星期二。
        • WEDNESDAY — 星期三。
        • THURSDAY — 星期四。
        • FRIDAY — 星期五。
        • SATURDAY — 星期六。
        • SUNDAY — 星期天。

        Enum: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY

        toTime

        Type: string

        取点的结束时间。 时间格式:24小时, HH:MM.

        所需参数。

        Min length: 1

        Example: example

        接送点的开放时间。

        如果客户选择将订单交付到品牌市场提货点,则指定此参数。

        Example
        [
          {
            "fromDay": "MONDAY",
            "toDay": "MONDAY",
            "fromTime": "example",
            "toTime": "example"
          }
        ]
        
        Example
        {
          "lat": 0.5,
          "lon": 0.5,
          "notes": "example",
          "outletPhones": [
            "example"
          ],
          "schedule": [
            {
              "fromDay": "MONDAY",
              "toDay": "MONDAY",
              "fromTime": "example",
              "toTime": "example"
            }
          ]
        }
        

      送货地址。 如果参数传递 type 这很重要 DELIVERY.

      Example
      {
        "country": "example",
        "postcode": "example",
        "city": "example",
        "district": "example",
        "subway": "example",
        "street": "example",
        "house": "example",
        "block": "example",
        "entrance": "example",
        "entryphone": "example",
        "floor": "example",
        "apartment": "example",
        "lat": 0.5,
        "lon": 0.5,
        "notes": "example",
        "outletPhones": [
          "example"
        ],
        "schedule": [
          {
            "fromDay": "MONDAY",
            "toDay": "MONDAY",
            "fromTime": "example",
            "toTime": "example"
          }
        ]
      }
      
      Example
      {
        "address": {
          "country": "example",
          "postcode": "example",
          "city": "example",
          "district": "example",
          "subway": "example",
          "street": "example",
          "house": "example",
          "block": "example",
          "entrance": "example",
          "entryphone": "example",
          "floor": "example",
          "apartment": "example",
          "lat": 0.5,
          "lon": 0.5,
          "notes": "example",
          "outletPhones": [
            "example"
          ],
          "schedule": [
            {
              "fromDay": "MONDAY",
              "toDay": "MONDAY",
              "fromTime": "example",
              "toTime": "example"
            }
          ]
        }
      }
      
    Example
    {
      "shopDeliveryId": "example",
      "type": "DELIVERY",
      "serviceName": "example",
      "price": 0.5,
      "subsidy": 0.5,
      "deliveryPartnerType": "SHOP",
      "dates": {
        "fromDate": "23-09-2022",
        "toDate": "23-09-2022",
        "fromTime": "12:00:00",
        "toTime": "12:00:00",
        "realDeliveryDate": "23-09-2022"
      },
      "region": {
        "id": 0,
        "name": "example",
        "type": "OTHER",
        "parent": null
      },
      "vat": "NO_VAT",
      "deliveryServiceId": 0,
      "liftType": "NOT_NEEDED",
      "liftPrice": 0.5,
      "outlet": {
        "code": "example"
      },
      "dispatchType": "UNKNOWN",
      "shipments": [
        {
          "id": 0,
          "status": "NEW",
          "shipmentDate": "23-09-2022",
          "shipmentTime": "12:00:00",
          "weight": 0,
          "width": 0,
          "height": 0,
          "depth": 0,
          "boxes": [
            {}
          ]
        }
      ],
      "estimated": true,
      "eacType": "MERCHANT_TO_COURIER",
      "address": {
        "country": "example",
        "postcode": "example",
        "city": "example",
        "district": "example",
        "subway": "example",
        "street": "example",
        "house": "example",
        "block": "example",
        "entrance": "example",
        "entryphone": "example",
        "floor": "example",
        "apartment": "example",
        "lat": 0.5,
        "lon": 0.5,
        "notes": "example",
        "outletPhones": [
          "example"
        ],
        "schedule": [
          {}
        ]
      }
    }
    
    Example
    {
      "buyer": {
        "type": "PERSON"
      },
      "delivery": {
        "shopDeliveryId": "example",
        "type": "DELIVERY",
        "serviceName": "example",
        "price": 0.5,
        "subsidy": 0.5,
        "deliveryPartnerType": "SHOP",
        "dates": {
          "fromDate": "23-09-2022",
          "toDate": "23-09-2022",
          "fromTime": "12:00:00",
          "toTime": "12:00:00",
          "realDeliveryDate": "23-09-2022"
        },
        "region": {
          "id": 0,
          "name": "example",
          "type": "OTHER",
          "parent": null
        },
        "vat": "NO_VAT",
        "deliveryServiceId": 0,
        "liftType": "NOT_NEEDED",
        "liftPrice": 0.5,
        "outlet": {
          "code": "example"
        },
        "dispatchType": "UNKNOWN",
        "shipments": [
          {
            "id": 0,
            "status": "NEW",
            "shipmentDate": "23-09-2022",
            "shipmentTime": "12:00:00",
            "weight": 0,
            "width": 0,
            "height": 0,
            "depth": 0,
            "boxes": [
              null
            ]
          }
        ],
        "estimated": true,
        "eacType": "MERCHANT_TO_COURIER",
        "address": {
          "country": "example",
          "postcode": "example",
          "city": "example",
          "district": "example",
          "subway": "example",
          "street": "example",
          "house": "example",
          "block": "example",
          "entrance": "example",
          "entryphone": "example",
          "floor": "example",
          "apartment": "example",
          "lat": 0.5,
          "lon": 0.5,
          "notes": "example",
          "outletPhones": [
            null
          ],
          "schedule": [
            null
          ]
        }
      }
    }
    
Example
{
  "businessId": 0,
  "id": 0,
  "status": "PLACING",
  "substatus": "RESERVATION_EXPIRED",
  "creationDate": "23-09-2022 09:12:41",
  "currency": "RUR",
  "itemsTotal": 0.5,
  "total": 0.5,
  "deliveryTotal": 0.5,
  "subsidyTotal": 0.5,
  "totalWithSubsidy": 0.5,
  "subsidies": [
    {
      "type": "YANDEX_CASHBACK",
      "amount": 0.5
    }
  ],
  "buyerItemsTotal": 0.5,
  "buyerTotal": 0.5,
  "buyerItemsTotalBeforeDiscount": 0.5,
  "buyerTotalBeforeDiscount": 0.5,
  "paymentType": "PREPAID",
  "paymentMethod": "SHOP_PREPAID",
  "fake": true,
  "shopOrderId": "example",
  "items": [
    {
      "id": 0,
      "feedId": 0,
      "offerId": "example",
      "feedCategoryId": "example",
      "offerName": "example",
      "fulfilmentShopId": 0,
      "price": 0.5,
      "buyerPrice": 0.5,
      "buyerPriceBeforeDiscount": 0.5,
      "priceBeforeDiscount": 0.5,
      "count": 0,
      "delivery": true,
      "vat": "NO_VAT",
      "shopSku": "example",
      "sku": "example",
      "subsidy": 0.5,
      "subsidies": [
        {}
      ],
      "warehouseId": 0,
      "partnerWarehouseId": "example",
      "params": "example",
      "promos": [
        {}
      ],
      "instances": [
        {}
      ],
      "tags": [
        "ULTIMA"
      ]
    }
  ],
  "notes": "example",
  "taxSystem": "OSN",
  "expiryDate": "23-09-2022",
  "electronicAcceptanceCertificateCode": "example",
  "tags": [
    "ULTIMA"
  ],
  "buyer": {
    "type": "PERSON"
  },
  "delivery": {
    "shopDeliveryId": "example",
    "type": "DELIVERY",
    "serviceName": "example",
    "price": 0.5,
    "subsidy": 0.5,
    "deliveryPartnerType": "SHOP",
    "dates": {
      "fromDate": "23-09-2022",
      "toDate": "23-09-2022",
      "fromTime": "12:00:00",
      "toTime": "12:00:00",
      "realDeliveryDate": "23-09-2022"
    },
    "region": {
      "id": 0,
      "name": "example",
      "type": "OTHER",
      "parent": null
    },
    "vat": "NO_VAT",
    "deliveryServiceId": 0,
    "liftType": "NOT_NEEDED",
    "liftPrice": 0.5,
    "outlet": {
      "code": "example"
    },
    "dispatchType": "UNKNOWN",
    "shipments": [
      {}
    ],
    "estimated": true,
    "eacType": "MERCHANT_TO_COURIER",
    "address": null
  }
}

Responses

200 OK

商店关于接受订单的回应。

Body

application/json
{
  "order": {
    "accepted": true,
    "id": "example",
    "reason": "OUT_OF_DATE",
    "shipmentDate": "23-09-2022"
  }
}

Name

Description

order

Type: object

id

Type: string

店分配的订单ID。

最大ID长度为50个字符。

如果没有传递参数 id,使用市场上的订单标识符。

Example: example

shipmentDate

Type: string<date-dd-MM-yyyy>

日期格式: DD-MM-YYYY.

Example: 23-09-2022

Example
{
  "id": "example",
  "shipmentDate": "23-09-2022"
}

400 Bad Request

如果商店考虑从Yandex收到的请求。 如果不正确,商店必须返回响应状态400,其中包含响应正文中错误原因的描述。 这些回应将被分析为API违规和市场上的缺陷。

500 Internal Server Error

如果商店一侧出现技术错误,它应该返回响应状态500。 具有大量此类响应的商店可能与市场脱节。

No longer supported, please use an alternative and newer version.