|
order
|
Type: object
|
buyer
|
Type: object
All of 2 typesInformation about the buyer.
Parameters id, lastName, firstName and middleName They are returned only if you work according to the model. DBS.
Example
{
"id": "example",
"lastName": "example",
"firstName": "example",
"middleName": "example",
"type": "PERSON"
}
|
|
buyerItemsTotalBeforeDiscount
|
Type: number
The cost of all items in the order in the buyer's currency, excluding shipping costs and before applying discounts on:
- shares;
- coupons;
- promo codes.
|
|
creationDate
|
Type: string<date-dd-MM-yyyy-HH-mm-ss>
Example: 23-09-2022 09:12:41
|
|
currency
|
Type: string
Currency codes:
RUR — the Russian ruble.
UAH — the Ukrainian hryvnia.
BYR — the Belarusian ruble.
KZT — Kazakhstani tenge.
UZS — Uzbek sum.
Enum: RUR, USD, EUR, UAH, AUD, GBP, BYR, BYN, DKK, ISK, KZT, CAD, CNY, NOK, XDR, SGD, TRY, SEK, CHF, JPY, AZN, ALL, DZD, AOA, ARS, AMD, AFN, BHD, BGN, BOB, BWP, BND, BRL, BIF, HUF, VEF, KPW, VND, GMD, GHS, GNF, HKD, GEL, AED, EGP, ZMK, ILS, INR, IDR, JOD, IQD, IRR, YER, QAR, KES, KGS, COP, CDF, CRC, KWD, CUP, LAK, LVL, SLL, LBP, LYD, SZL, LTL, MUR, MRO, MKD, MWK, MGA, MYR, MAD, MXN, MZN, MDL, MNT, NPR, NGN, NIO, NZD, OMR, PKR, PYG, PEN, PLN, KHR, SAR, RON, SCR, SYP, SKK, SOS, SDG, SRD, TJS, THB, TWD, BDT, TZS, TND, TMM, UGX, UZS, UYU, PHP, DJF, XAF, XOF, HRK, CZK, CLP, LKR, EEK, ETB, RSD, ZAR, KRW, NAD, TL, UE
|
|
delivery
|
Type: object
|
dates
|
Type: object
|
fromDate
|
Type: string<date-dd-MM-yyyy>
Date format: DD-MM-YYYY.
Example: 23-09-2022
|
|
fromTime
|
Type: string<time>
The beginning of the delivery time interval.
It is passed only with the parameter type=DELIVERY.
Time format: 24-hour, HH:MM. Instead of mm always specify 00 (exception — 23:59).
Minimum value: 00:00.
Example: 12:00:00
|
|
realDeliveryDate
|
Type: string<date-dd-MM-yyyy>
Date format: DD-MM-YYYY.
Example: 23-09-2022
|
|
toDate
|
Type: string<date-dd-MM-yyyy>
Date format: DD-MM-YYYY.
Example: 23-09-2022
|
|
toTime
|
Type: string<time>
The end of the delivery time interval.
It is passed only with the parameter type=DELIVERY.
Time format: 24-hour, HH:MM. Instead of mm always specify 00 (exception — 23:59).
Maximum value: 23:59.
Example: 12:00:00
|
The range of delivery dates.
Example
{
"fromDate": "23-09-2022",
"toDate": "23-09-2022",
"fromTime": "12:00:00",
"toTime": "12:00:00",
"realDeliveryDate": "23-09-2022"
}
|
|
deliveryPartnerType
|
Type: string
Type of cooperation with the delivery service within a specific order:
Enum: SHOP, YANDEX_MARKET, UNKNOWN
|
|
deliveryServiceId
|
Type: integer
The delivery service ID.
|
|
serviceName
|
Type: string
The name of the delivery service.
Example: example
|
|
type
|
Type: string
Order delivery method:
Enum: DELIVERY, PICKUP, POST, DIGITAL, UNKNOWN
|
|
address
|
Type: object
|
apartment
|
Type: string
Apartment or office number.
Example: example
|
|
block
|
Type: string
Body.
Example: example
|
|
building
|
Type: string
Building.
Example: example
|
|
city
|
Type: string
A city or locality.
Example: example
|
|
country
|
Type: string
A country.
Example: example
|
|
district
|
Type: string
District.
Example: example
|
|
entrance
|
Type: string
Entrance number.
Example: example
|
|
entryphone
|
Type: string
The intercom code.
Example: example
|
|
estate
|
Type: string
Ownership number.
Example: example
|
|
floor
|
Type: string
Floor.
Example: example
|
|
gps
|
Type: object
|
latitude
|
Type: number
Width.
|
|
longitude
|
Type: number
Longitude.
|
GPS coordinates of latitude and longitude.
Example
{
"latitude": 0.5,
"longitude": 0.5
}
|
|
house
|
Type: string
The house number.
Example: example
|
|
phone
|
Type: string
The phone number of the recipient of the order.
Example: example
|
|
postcode
|
Type: string
Postal code.
Indicated if mail delivery is selected (delivery type=POST).
Example: example
|
|
recipient
|
Type: string
Last name, first name and patronymic of the recipient of the order.
Example: example
|
|
street
|
Type: string
Street.
Example: example
|
|
subway
|
Type: string
The metro station.
Example: example
|
The delivery address.
Is specified if the parameter type takes the value DELIVERY, POST or PICKUP (for the model only DBS). If type=PICKUP, the address of the pick-up point is returned.
Example
{
"country": "example",
"postcode": "example",
"city": "example",
"district": "example",
"subway": "example",
"street": "example",
"house": "example",
"estate": "example",
"block": "example",
"building": "example",
"entrance": "example",
"entryphone": "example",
"floor": "example",
"apartment": "example",
"phone": "example",
"recipient": "example",
"gps": {
"latitude": 0.5,
"longitude": 0.5
}
}
|
|
courier
|
Type: object
|
fullName
|
Type: string
Full name.
Example: example
|
|
phone
|
Type: string
Phone number.
Example: example
|
|
phoneExtension
|
Type: string
The extension phone number.
Example: example
|
|
vehicleDescription
|
Type: string
Description of the vehicle. For example, the model and color.
Example: example
|
|
vehicleNumber
|
Type: string
Vehicle number.
Example: example
|
Information about the courier.
Example
{
"fullName": "example",
"phone": "example",
"phoneExtension": "example",
"vehicleNumber": "example",
"vehicleDescription": "example"
}
|
|
dispatchType
|
Type: string
Shipping method:
-
BUYER — courier delivery to the buyer.
-
MARKET_BRANDED_OUTLET — delivery to the pick-up point of the Market.
-
SHOP_OUTLET — delivery to the store's order pick-up point.
-
UNKNOWN — unknown type.
Enum: UNKNOWN, BUYER, MARKET_BRANDED_OUTLET, SHOP_OUTLET
|
|
eacCode
|
Type: string
EAPP confirmation code (for type MERCHANT_TO_COURIER).
Example: example
|
|
eacType
|
Type: string
The type of the EAPP confirmation code:
-
MERCHANT_TO_COURIER (temporarily non-refundable) — the seller transmits the code to the courier to receive a non-purchase.
-
COURIER_TO_MERCHANT — The courier transmits the code to the seller to receive the order.
-
CHECKING_BY_MERCHANT — the seller checks the code on his side.
Enum: MERCHANT_TO_COURIER, COURIER_TO_MERCHANT, CHECKING_BY_MERCHANT
|
|
estimated
|
Type: boolean
Whether the delivery date is approximate.
|
|
id
|
Type: string
The delivery ID assigned by the store.
It is specified only if the store passed this identifier in the response to the request using the method POST cart.
Example: example
|
|
liftPrice
|
Type: number
The cost of going up to the floor.
|
|
liftType
|
Type: string
The type of lifting the order to the floor:
-
NOT_NEEDED — not required.
-
MANUAL — manual.
-
ELEVATOR — elevator.
-
CARGO_ELEVATOR — freight elevator.
-
FREE — any of the above, if the free lift option is enabled.
-
UNKNOWN — unknown type.
Enum: NOT_NEEDED, MANUAL, ELEVATOR, CARGO_ELEVATOR, FREE, UNKNOWN
|
|
logisticPointId
|
Type: integer
ID of the pick-up point.
It can be found using the method POST v1/businesses/{businessId}/logistics-points.
Min value: 1
|
|
outletCode
|
Type: string
The pick-up point ID assigned by the store.
Example: example
|
|
outletStorageLimitDate
|
Type: string<date-dd-MM-yyyy>
Date format: DD-MM-YYYY.
Example: 23-09-2022
|
|
price
|
Type: number
See the shipping cost in the parameter deliveryTotal.
The cost of delivery in the currency of the order.
|
|
region
|
Type: object
|
id
|
Type: integer
ID of the region.
|
|
name
|
Type: string
The name of the region.
Example: example
|
|
type
|
Type: string
The type of region.
Possible values:
-
CITY_DISTRICT — the area of the city.
-
CITY — a large city.
-
CONTINENT — the continent.
-
COUNTRY_DISTRICT — area.
-
COUNTRY — country.
-
REGION — region.
-
REPUBLIC_AREA — the district of the subject of the federation.
-
REPUBLIC — the subject of the Federation.
-
SUBWAY_STATION — the metro station.
-
VILLAGE — city.
-
OTHER — unknown region.
Enum: OTHER, CONTINENT, REGION, COUNTRY, COUNTRY_DISTRICT, REPUBLIC, CITY, VILLAGE, CITY_DISTRICT, SUBWAY_STATION, REPUBLIC_AREA
|
|
parent
|
Type: unknown
Information about the parent region.
Parent regions are specified up to the country level.
Example: null
|
The delivery region.
Example
{
"id": 0,
"name": "example",
"type": "OTHER",
"parent": null
}
|
|
shipments
|
Type: object[]
|
boxes
|
Type: object[]
|
fulfilmentId
|
Type: string
ID of the cargo space in the store's system.
Example: example
|
|
id
|
Type: integer
ID of the cargo area.
|
List of cargo locations.
Min items: 1
Example
[
{
"id": 0,
"fulfilmentId": "example"
}
]
|
|
id
|
Type: integer
The parcel ID assigned by Yandex.Market.
|
|
shipmentDate
|
Type: string<date-dd-MM-yyyy>
Date format: DD-MM-YYYY.
Example: 23-09-2022
|
|
shipmentTime
|
Type: string
For the model only Express
The time by which the store must package the order and convert it to the status READY_TO_SHIP. After the status change, a courier will arrive to pick up the order.
The field may not appear immediately. Request information about the order within 5-10 minutes until it is returned.
Time format: 24-hour, HH:MM.
If the order is made by an organization, the parameter is not returned until the delivery date is agreed.
Example: example
|
|
tracks
|
Type: object[]
|
deliveryServiceId
|
Type: integer
The delivery service ID. Information about the delivery service can be obtained by requesting GET delivery/services.
|
|
trackCode
|
Type: string
The parcel's track number.
Example: example
|
For the model only DBS
Information for tracking the parcel.
Min items: 1
Example
[
{
"trackCode": "example",
"deliveryServiceId": 0
}
]
|
Information about parcels.
Min items: 1
Example
[
{
"id": 0,
"shipmentDate": "23-09-2022",
"shipmentTime": "example",
"tracks": [
{
"trackCode": "example",
"deliveryServiceId": 0
}
],
"boxes": [
{
"id": 0,
"fulfilmentId": "example"
}
]
}
]
|
|
tracks
|
Type: object[]
|
deliveryServiceId
|
Type: integer
The delivery service ID. Information about the delivery service can be obtained by requesting GET delivery/services.
|
|
trackCode
|
Type: string
The parcel's track number.
Example: example
|
Information for tracking the parcel.
Min items: 1
Example
[
{
"trackCode": "example",
"deliveryServiceId": 0
}
]
|
|
vat
|
Type: string
VAT on the product or delivery:
-
NO_VAT — VAT is not charged, it is used only for certain types of services.
-
VAT_0 — VAT is 0%. For example, it is used for the sale of goods exported in the customs procedure of export, or for the provision of services for the international transportation of goods.
-
VAT_10 — 10% VAT. For example, it is used in the sale of certain food and medical products.
-
VAT_10_110 — VAT 10/110. 10% VAT, applicable only for prepayment.
-
VAT_20 — VAT 20%. Basic VAT from 2019 to January 1, 2026.
-
VAT_20_120 — VAT 20/120. VAT is 20%, applicable only for prepayment.
-
VAT_18 — VAT 18%. Basic VAT until 2019.
-
VAT_18_118 — VAT 18/118. VAT was used until January 1, 2019 for prepayment.
-
VAT_12 — VAT is 12%. It is used only in Uzbekistan.
-
VAT_05 — VAT is 5%. VAT for the simplified taxation system (USN).
-
VAT_07 — VAT is 7%. VAT for the simplified taxation system (USN).
-
VAT_22 — VAT is 22%. Basic VAT starting from January 1, 2026.
-
UNKNOWN_VALUE — unknown type.
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
|
Delivery information.
Example
{
"id": "example",
"type": "DELIVERY",
"serviceName": "example",
"price": 0.5,
"deliveryPartnerType": "SHOP",
"courier": {
"fullName": "example",
"phone": "example",
"phoneExtension": "example",
"vehicleNumber": "example",
"vehicleDescription": "example"
},
"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
},
"address": {
"country": "example",
"postcode": "example",
"city": "example",
"district": "example",
"subway": "example",
"street": "example",
"house": "example",
"estate": "example",
"block": "example",
"building": "example",
"entrance": "example",
"entryphone": "example",
"floor": "example",
"apartment": "example",
"phone": "example",
"recipient": "example",
"gps": {
"latitude": 0.5,
"longitude": 0.5
}
},
"vat": "NO_VAT",
"deliveryServiceId": 0,
"logisticPointId": 1,
"liftType": "NOT_NEEDED",
"liftPrice": 0.5,
"outletCode": "example",
"outletStorageLimitDate": "23-09-2022",
"dispatchType": "UNKNOWN",
"tracks": [
{
"trackCode": "example",
"deliveryServiceId": 0
}
],
"shipments": [
{
"id": 0,
"shipmentDate": "23-09-2022",
"shipmentTime": "example",
"tracks": [
{
"trackCode": "example",
"deliveryServiceId": 0
}
],
"boxes": [
{
"id": 0,
"fulfilmentId": "example"
}
]
}
],
"estimated": true,
"eacType": "MERCHANT_TO_COURIER",
"eacCode": "example"
}
|
|
deliveryTotal
|
Type: number
The cost of delivery.
|
|
fake
|
Type: boolean
Order type:
|
|
id
|
Type: integer
The order ID.
|
|
items
|
Type: object[]
|
buyerPrice
|
Type: number
The price of the product in the buyer's currency. The price already includes discounts on:
- shares;
- coupons;
- promo codes.
|
|
buyerPriceBeforeDiscount
|
Type: number
The cost of the product in the buyer's currency before applying discounts on:
- shares;
- coupons;
- promo codes.
This is the crossed-out price that is displayed to the buyer on the product card before the discounts are applied.
|
|
count
|
Type: integer
The number of product units.
|
|
id
|
Type: integer
The product ID in the order.
Allows you to identify the product within the order.
|
|
offerId
|
Type: string
Your SKU — the product ID in your system.
Usage rules SKU:
-
For each product SKU there must be one.
-
Already set SKU it cannot be released and reused for another product. Each product should receive a new identifier that has never been used in your catalog before.
SKU The product can be changed in the seller's account on the Market. Read about how to do this. in the Help of the Market for sellers.
Warning
Spaces at the beginning and end of the value are automatically deleted. For example, " SKU123 " and "SKU123" they will be treated as identical values.
What is SKU and how to assign it
Min length: 1
Max length: 255
Pattern: ^(?=.*\S.*)[^\x00-\x08\x0A-\x1f\x7f]{1,255}$
Example: example
|
|
offerName
|
Type: string
Product name.
Example: example
|
|
price
|
Type: number
The price of the product in the order currency, excluding remuneration to the seller for discounts on promo codes, coupons and promotions (parameter subsidies).
Includes VAT.
|
|
details
|
Type: object[]
|
itemCount
|
Type: integer
The number of product units.
|
|
itemStatus
|
Type: string
Non-purchased or returned goods:
-
REJECTED — unbroken.
-
RETURNED — returned.
Enum: REJECTED, RETURNED
|
|
updateDate
|
Type: string<date-dd-MM-yyyy>
Date format: DD-MM-YYYY.
Example: 23-09-2022
|
Information about non-purchased or returned items in the order.
Min items: 1
Example
[
{
"itemCount": 0,
"itemStatus": "REJECTED",
"updateDate": "23-09-2022"
}
]
|
|
instances
|
Type: object[]
|
cis
|
Type: string
The unit identification code in the system "An honest SIGN" without a cryptotail or «ASL BELGISI» (for sellers of the Yandex Go Market).
Example: example
|
|
cisFull
|
Type: string
The unit identification code in the system "An honest SIGN" with a cryptotail.
Example: example
|
|
countryCode
|
Type: string
The country of manufacture is in the ISO 3166-1 alpha-2 format. How to get
Min length: 2
Max length: 2
Pattern: ^[A-Z]{2}$
Example: RU
|
|
gtd
|
Type: string
Cargo customs declaration.
It is a string of three numbers separated by a slash: XXXXXXXXXX/XXXXXXXX/XXXXXXXX.
The first part — the code of the customs office that registered the declaration for imported goods. Further — date and number of the declaration.
Example: example
|
|
rnpt
|
Type: string
The registration number of the product batch.
It is a string of four numbers separated by slashes: XXXXXXXXXX/XXXXXXXX/XXXXXXXX/XXX.
The first part — the code of the customs office that registered the declaration for the shipment. Further — the date, number of the declaration and the number of the marked product in the declaration.
Example: example
|
|
uin
|
Type: string
Jewelry's UIN (16-digit code)
The manufacturer receives a WIN when he registers the product in the control system for the turnover of precious metals and stones. — GIIS DMDK.
Example: example
|
Information about the labeling of product units.
The tagging data passed in the request is returned:
For FBY The marking codes transmitted during delivery are returned.
If the store has not sent the codes for this order yet, instances absent.
Min items: 1
Example
[
{
"cis": "example",
"cisFull": "example",
"uin": "example",
"rnpt": "example",
"gtd": "example",
"countryCode": "RU"
}
]
|
|
partnerWarehouseId
|
Type: string
For the model only FBY
ID of the warehouse that the order was placed for.
Example: example
|
|
priceBeforeDiscount
|
Type: number
The cost of the product in the store's currency before applying the discounts.
|
|
promos
|
Type: object[]
|
subsidy
|
Type: number
Remuneration to the seller from the Market for the product sold as part of the promotion.
|
|
type
|
Type: string
Discount type:
-
DIRECT_DISCOUNT — direct discount, which is set by the seller or the Market.
-
BLUE_SET — kits.
-
BLUE_FLASH — a flash promotion.
-
MARKET_COUPON — discount using the Yandex.Market promo code.
-
MARKET_PROMOCODE — discount on the store's promo code.
-
MARKET_BLUE — discount on Yandex. Market.
-
CHEAPEST_AS_GIFT — the cheapest item as a gift.
-
CASHBACK — cashback.
-
SPREAD_DISCOUNT_COUNT — discount for the number of identical items.
-
SPREAD_DISCOUNT_RECEIPT — discount on the receipt amount.
-
DISCOUNT_BY_PAYMENT_TYPE — direct discount when paying with a Plus card.
-
PERCENT_DISCOUNT — direct percentage discount.
-
DCO_EXTRA_DISCOUNT — an additional discount required to calculate the subsidy from the Market.
-
UNKNOWN — unknown type.
Obsolete types:
-
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
|
|
discount
|
Type: number
The amount of the user discount in the buyer's currency.
|
|
marketPromoId
|
Type: string
The identifier of the promotion within the framework of the agreement for the provision of services for the promotion of the service between the Market and the seller.
Example: example
|
|
shopPromoId
|
Type: string
The ID of the supplier's promotion.
Example: example
|
Information about the remuneration to the seller for discounts on goods using promo codes, coupons, and promotions.
Min items: 1
Example
[
{
"type": "DIRECT_DISCOUNT",
"discount": 0.5,
"subsidy": 0.5,
"shopPromoId": "example",
"marketPromoId": "example"
}
]
|
|
requiredInstanceTypes
|
Type: string[] | null
A list of required product markings.
Min items: 1
Unique items: true
Example |
|
shopSku
|
Type: string
Your SKU — the product ID in your system.
Usage rules SKU:
-
For each product SKU there must be one.
-
Already set SKU it cannot be released and reused for another product. Each product should receive a new identifier that has never been used in your catalog before.
SKU The product can be changed in the seller's account on the Market. Read about how to do this. in the Help of the Market for sellers.
Warning
Spaces at the beginning and end of the value are automatically deleted. For example, " SKU123 " and "SKU123" they will be treated as identical values.
What is SKU and how to assign it
Min length: 1
Max length: 255
Pattern: ^(?=.*\S.*)[^\x00-\x08\x0A-\x1f\x7f]{1,255}$
Example: example
|
|
subsidies
|
Type: object[]
|
amount
|
Type: number
The amount of the subsidy.
|
|
type
|
Type: string
Type of subsidy:
-
YANDEX_CASHBACK — discount on Yandex Plus subscription.
-
SUBSIDY — Yandex. Market discount (for promotions, promo codes, coupons, etc.).
Enum: YANDEX_CASHBACK, SUBSIDY
|
List of subsidies by type.
Min items: 1
Example
[
{
"type": "YANDEX_CASHBACK",
"amount": 0.5
}
]
|
|
subsidy
|
Type: number
Total remuneration to the seller for DBS-delivery and all discounts on the product:
- by promo codes;
- by coupons;
- by Plus points;
- on shares.
|
|
tags
|
Type: string[] | null
Product attributes.
Min items: 1
Unique items: true
Example |
|
vat
|
Type: string
VAT on the product or delivery:
-
NO_VAT — VAT is not charged, it is used only for certain types of services.
-
VAT_0 — VAT is 0%. For example, it is used for the sale of goods exported in the customs procedure of export, or for the provision of services for the international transportation of goods.
-
VAT_10 — 10% VAT. For example, it is used in the sale of certain food and medical products.
-
VAT_10_110 — VAT 10/110. 10% VAT, applicable only for prepayment.
-
VAT_20 — VAT 20%. Basic VAT from 2019 to January 1, 2026.
-
VAT_20_120 — VAT 20/120. VAT is 20%, applicable only for prepayment.
-
VAT_18 — VAT 18%. Basic VAT until 2019.
-
VAT_18_118 — VAT 18/118. VAT was used until January 1, 2019 for prepayment.
-
VAT_12 — VAT is 12%. It is used only in Uzbekistan.
-
VAT_05 — VAT is 5%. VAT for the simplified taxation system (USN).
-
VAT_07 — VAT is 7%. VAT for the simplified taxation system (USN).
-
VAT_22 — VAT is 22%. Basic VAT starting from January 1, 2026.
-
UNKNOWN_VALUE — unknown type.
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
|
The list of products in the order.
Example
[
{
"id": 0,
"offerId": "example",
"offerName": "example",
"price": 0.5,
"buyerPrice": 0.5,
"buyerPriceBeforeDiscount": 0.5,
"priceBeforeDiscount": 0.5,
"count": 0,
"vat": "NO_VAT",
"shopSku": "example",
"subsidy": 0.5,
"partnerWarehouseId": "example",
"promos": [
{
"type": "DIRECT_DISCOUNT",
"discount": 0.5,
"subsidy": 0.5,
"shopPromoId": "example",
"marketPromoId": "example"
}
],
"instances": [
{
"cis": "example",
"cisFull": "example",
"uin": "example",
"rnpt": "example",
"gtd": "example",
"countryCode": "RU"
}
],
"details": [
{
"itemCount": 0,
"itemStatus": "REJECTED",
"updateDate": "23-09-2022"
}
],
"subsidies": [
{
"type": "YANDEX_CASHBACK",
"amount": 0.5
}
],
"requiredInstanceTypes": [
"CIS"
],
"tags": [
"ULTIMA"
]
}
]
|
|
itemsTotal
|
Type: number
Buyer's payment.
|
|
paymentMethod
|
Type: string
Payment method for the order:
Default value: CASH_ON_DELIVERY.
Enum: CASH_ON_DELIVERY, CARD_ON_DELIVERY, BOUND_CARD_ON_DELIVERY, BNPL_BANK_ON_DELIVERY, BNPL_ON_DELIVERY, YANDEX, APPLE_PAY, EXTERNAL_CERTIFICATE, CREDIT, GOOGLE_PAY, TINKOFF_CREDIT, SBP, TINKOFF_INSTALLMENTS, B2B_ACCOUNT_PREPAYMENT, B2B_ACCOUNT_POSTPAYMENT, MICROCREDIT, BNPL_TBYB, UNKNOWN
|
|
paymentType
|
Type: string
Order payment type:
If this parameter is omitted, the order will be paid upon receipt.
Enum: PREPAID, POSTPAID, UNKNOWN
|
|
status
|
Type: string
Order status:
-
PLACING — It is being processed and is being prepared for reservation.
-
RESERVED — reserved, but under-issued (only for LaaS).
-
UNPAID — issued, but not yet paid (if payment is selected at checkout).
-
PROCESSING — it is under processing.
-
DELIVERY — transferred to the delivery service.
-
PICKUP — delivered to the pick-up point.
-
DELIVERED — received by the buyer.
-
CANCELLED — cancelled.
-
PENDING — awaiting processing by the seller.
-
PARTIALLY_RETURNED — partially refunded.
-
RETURNED — returned in full.
-
UNKNOWN — unknown status.
Other values may also be returned. You don't need to process them.
Enum: PLACING, RESERVED, UNPAID, PROCESSING, DELIVERY, PICKUP, DELIVERED, CANCELLED, PENDING, PARTIALLY_RETURNED, RETURNED, UNKNOWN
|
|
substatus
|
Type: string
Order processing stage (status PROCESSING) or the reason for the cancellation of the order (status CANCELLED).
-
Order values in the status PROCESSING:
-
STARTED — The order has been confirmed, and it can be processed.
-
READY_TO_SHIP — the order is assembled and ready for shipment.
-
Order values in the status CANCELLED:
-
RESERVATION_EXPIRED — The customer did not complete the reserved order within 10 minutes.
-
USER_NOT_PAID — the buyer did not pay for the order (for the payment type PREPAID) for 30 minutes.
-
USER_UNREACHABLE — couldn't contact the buyer. To cancel with this reason, the following conditions must be met:
- at least 3 calls from 8 to 21 in the buyer's time zone;
- the break between the first and third calls is at least 90 minutes;
- the connection is no shorter than 5 seconds.
If at least one of these conditions is not met (except when the number is unavailable), you will not be able to cancel the order. A response with the error code 400 will be returned.
-
USER_CHANGED_MIND — the customer cancelled the order for personal reasons.
-
USER_REFUSED_DELIVERY — the buyer was not satisfied with the terms of delivery.
-
USER_REFUSED_PRODUCT — the product did not fit the buyer.
-
SHOP_FAILED — the store cannot complete the order.
-
USER_REFUSED_QUALITY — the buyer was not satisfied with the quality of the product.
-
REPLACING_ORDER — the buyer decided to replace the product with another one on his own initiative.
-
PROCESSING_EXPIRED — the value is no longer used.
-
PICKUP_EXPIRED — The shelf life of the order at the pick-up point has expired.
-
TOO_MANY_DELIVERY_DATE_CHANGES — the order has been postponed too many times.
-
TOO_LONG_DELIVERY — The order is taking too long to be delivered.
-
INCORRECT_PERSONAL_DATA — For an order from abroad, the recipient's information is incorrect, and the order will not be checked at customs.
-
TECHNICAL_ERROR — a technical error on the Market's side. Contact support.
Other values may also be returned. You don't need to process them.
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, CUSTOMS_FAILED_MARKET, CUSTOMS_FAILED_USER_COMMERCIAL_ITEMS, CUSTOMS_FAILED_USER_DUTY_NOT_PAID, CUSTOMS_FAILED_USER_INVALID_PERSONAL_DATA, CUSTOMS_FAILED_USER_ADDITIONAL_DATA_NOT_PROVIDED, UNKNOWN
|
|
taxSystem
|
Type: string
The store's taxation system at the time of placing the order:
-
ECHN — the Unified Agricultural Tax (UST).
-
ENVD — the Unified imputed Income Tax (UTII).
-
OSN — the general system of taxation (OSN).
-
PSN — patent Taxation System (PSN).
-
USN — simplified Taxation System (STS).
-
USN_MINUS_COST — simplified taxation system, income reduced by the amount of expenses (USN "Income minus expenses").
-
NPD — the tax on professional income (NAP).
-
UNKNOWN_VALUE — unknown value.
Enum: OSN, USN, USN_MINUS_COST, ENVD, ECHN, PSN, NPD, UNKNOWN_VALUE
|
|
buyerItemsTotal
|
Type: number
The cost of all items in the order is in the buyer's currency after applying discounts and excluding shipping costs.
|
|
buyerTotal
|
Type: number
The cost of all items in the order in the buyer's currency after applying the discounts and taking into account the shipping cost.
|
|
buyerTotalBeforeDiscount
|
Type: number
The cost of all items in the order in the buyer's currency before applying discounts and including shipping costs (buyerItemsTotalBeforeDiscount + shipping cost).
|
|
cancelRequested
|
Type: boolean
For the model only DBS
Whether a cancellation has been requested.
|
|
expiryDate
|
Type: string<date-dd-MM-yyyy-HH-mm-ss>
Example: 23-09-2022 09:12:41
|
|
externalOrderId
|
Type: string
The external ID of the order that you submitted to POST v2/campaigns/{campaignId}/orders/{orderId}/external-id.
Min length: 1
Example: example
|
|
notes
|
Type: string
Comment on the order.
Example: example
|
|
subsidies
|
Type: object[]
|
amount
|
Type: number
The amount of the subsidy.
|
|
type
|
Type: string
Type of subsidy:
-
YANDEX_CASHBACK — discount on Yandex Plus subscription.
-
SUBSIDY — Yandex. Market discount (for promotions, promo codes, coupons, etc.)
-
DELIVERY — discount for shipping (DBS).
Enum: YANDEX_CASHBACK, SUBSIDY, DELIVERY
|
List of subsidies by type.
Min items: 1
Example
[
{
"type": "YANDEX_CASHBACK",
"amount": 0.5
}
]
|
|
updatedAt
|
Type: string<date-dd-MM-yyyy-HH-mm-ss>
Example: 23-09-2022 09:12:41
|
Order.
Example
{
"id": 0,
"externalOrderId": "example",
"status": "PLACING",
"substatus": "RESERVATION_EXPIRED",
"creationDate": "23-09-2022 09:12:41",
"updatedAt": "23-09-2022 09:12:41",
"currency": "RUR",
"itemsTotal": 0.5,
"deliveryTotal": 0.5,
"buyerItemsTotal": 0.5,
"buyerTotal": 0.5,
"buyerItemsTotalBeforeDiscount": 0.5,
"buyerTotalBeforeDiscount": 0.5,
"paymentType": "PREPAID",
"paymentMethod": "CASH_ON_DELIVERY",
"fake": true,
"items": [
{
"id": 0,
"offerId": "example",
"offerName": "example",
"price": 0.5,
"buyerPrice": 0.5,
"buyerPriceBeforeDiscount": 0.5,
"priceBeforeDiscount": 0.5,
"count": 0,
"vat": "NO_VAT",
"shopSku": "example",
"subsidy": 0.5,
"partnerWarehouseId": "example",
"promos": [
{
"type": "DIRECT_DISCOUNT",
"discount": 0.5,
"subsidy": 0.5,
"shopPromoId": "example",
"marketPromoId": "example"
}
],
"instances": [
{
"cis": "example",
"cisFull": "example",
"uin": "example",
"rnpt": "example",
"gtd": "example",
"countryCode": "RU"
}
],
"details": [
{
"itemCount": 0,
"itemStatus": "REJECTED",
"updateDate": "23-09-2022"
}
],
"subsidies": [
{
"type": "YANDEX_CASHBACK",
"amount": 0.5
}
],
"requiredInstanceTypes": [
"CIS"
],
"tags": [
"ULTIMA"
]
}
],
"subsidies": [
{
"type": "YANDEX_CASHBACK",
"amount": 0.5
}
],
"delivery": {
"id": "example",
"type": "DELIVERY",
"serviceName": "example",
"price": 0.5,
"deliveryPartnerType": "SHOP",
"courier": {
"fullName": "example",
"phone": "example",
"phoneExtension": "example",
"vehicleNumber": "example",
"vehicleDescription": "example"
},
"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
},
"address": {
"country": "example",
"postcode": "example",
"city": "example",
"district": "example",
"subway": "example",
"street": "example",
"house": "example",
"estate": "example",
"block": "example",
"building": "example",
"entrance": "example",
"entryphone": "example",
"floor": "example",
"apartment": "example",
"phone": "example",
"recipient": "example",
"gps": {
"latitude": 0.5,
"longitude": 0.5
}
},
"vat": "NO_VAT",
"deliveryServiceId": 0,
"logisticPointId": 1,
"liftType": "NOT_NEEDED",
"liftPrice": 0.5,
"outletCode": "example",
"outletStorageLimitDate": "23-09-2022",
"dispatchType": "UNKNOWN",
"tracks": [
{
"trackCode": "example",
"deliveryServiceId": 0
}
],
"shipments": [
{
"id": 0,
"shipmentDate": "23-09-2022",
"shipmentTime": "example",
"tracks": [
{}
],
"boxes": [
{}
]
}
],
"estimated": true,
"eacType": "MERCHANT_TO_COURIER",
"eacCode": "example"
},
"buyer": {
"id": "example",
"lastName": "example",
"firstName": "example",
"middleName": "example",
"type": "PERSON"
},
"notes": "example",
"taxSystem": "OSN",
"cancelRequested": true,
"expiryDate": "23-09-2022 09:12:41"
}
|