- Request
- Responses
- 200 OK
- Body
- CorpClientId
- CargoItemSizes
- Currency
- Money
- VatCodeStrApi
- SupplierInn
- ItemArticle
- ItemMark
- ItemType
- ItemFiscalization
- V2CargoItem
- ContactOnPoint
- AddressFullname
- CargoPointAddress
- PointType
- PointVisitStatus
- CargoPointSkipConfirmation
- PaymentId
- ClientOrderId
- PaymentComplete
- Inn
- CustomerFiscalization
- PaymentMethod
- InvoiceLink
- ResponsePaymentOnDelivery
- ExternalOrderCost
- ExpectedVisitInterval
- PickupCode
- PointVisitTime
- V2ResponseCargoPoint
- V2ResponseCargoRoutePoints
- ClaimPointId
- HumanErrorMessage
- ContactWithPhone
- SkipDoorToDoor
- SkipClientNotify
- SkipEmergencyNotify
- SkipAct
- OptionalReturn
- Eta
- TaxiOfferId
- TaxiOfferDeprecated
- TaxiOffer
- CurrencyRules
- ClaimPricing
- AvailableCancelState
- CargoType
- CargoOptions
- ClientRequirements
- MatchedCar
- ClaimWarningSourceApi
- ClaimWarningCodeApi
- ClaimWarning
- PerformerInfo
- CallbackProperties
- Due
- SameDayData
- V2ClaimInfo
- 400 Bad Request
- 429 Too Many Requests
Claim search
The method searches for claims taking into account multi-points. Found claims are sorted by creation date and the result is segmented for paging.
Request
POST
b2b.taxi.yandex.net/b2b/cargo/integration/v2/claims/search
Service URL
Headers
|
Name |
Description |
|
Accept-Language |
Type: string Preferred response language. Examples: "en" — English Example: |
Body
application/json
{
"offset": 50,
"limit": 50,
"claim_id": "741cedf82cd464fa6fa16d87155c636",
"phone": "+79123456789",
"status": "new",
"created_from": "2020-01-01T00:00:00+00:00",
"created_to": "2020-01-02T00:00:00+00:00",
"state": "active",
"due_from": null,
"due_to": null,
"external_order_id": "100"
}
One of 2 types
-
Type: SearchClaimsRequestCorp
Body of the search request for claims from the corporate account
Example
{ "offset": 50, "limit": 50, "claim_id": "741cedf82cd464fa6fa16d87155c636", "phone": "+79123456789", "status": "new", "created_from": "2020-01-01T00:00:00+00:00", "created_to": "2020-01-02T00:00:00+00:00", "state": "active", "due_from": null, "due_to": null, "external_order_id": "100" } -
Type: SearchClaimsRequestCursor
Example
{ "cursor": "example" }
Offset
Offset (paging) of claim issuing by a given filter (claims are sorted by creation date) (int64)
Type: integer
Default: 0
Min value: 0
Limit
Maximum number of claims in the response (int64)
Type: integer
Min value: 0
Max value: 1000
ClaimId
Claim ID obtained at the claim creation stage
Type: string
Min length: 32
Max length: 64
Example: 741cedf82cd464fa6fa16d87155c636
ClaimStatus
Claim status. To learn more, see Status model
Type: string
Enum: new, estimating, estimating_failed, ready_for_approval, accepted, performer_lookup, performer_draft, performer_found, performer_not_found, pickup_arrived, ready_for_pickup_confirmation, pickuped, delivery_arrived, ready_for_delivery_confirmation, delivered, delivered_finish, returning, return_arrived, ready_for_return_confirmation, returned, returned_finish, failed, cancelled, cancelled_with_payment, cancelled_by_taxi, cancelled_with_items_on_hands
DateFrom
Start of the search period (isoformat)
Type: string<date-time>
Example: 2020-01-01T00:00:00+00:00
DateTo
End of the search period (isoformat)
Type: string<date-time>
Example: 2020-01-02T00:00:00+00:00
SearchClaimState
Filter by claim
Type: string
Enum: active, finished, delayed
ExternalOrderId
ID of the external order linked to the point
Type: string
Max length: 512
Example: 100
SearchClaimsRequestCorp
Body of the search request for claims from the corporate account
|
Name |
Description |
|
limit |
Type: Limit Maximum number of claims in the response (int64) Min value: Max value: Example: |
|
claim_id |
Type: ClaimId Claim ID obtained at the claim creation stage Min length: Max length: Example: |
|
created_from |
Type: DateFrom Start of the search period (isoformat) Example: |
|
created_to |
Type: DateTo End of the search period (isoformat) Example: |
|
due_from |
Type: DateFrom Start of the search period (isoformat) Example: |
|
due_to |
Type: DateTo End of the search period (isoformat) Example: |
|
external_order_id |
Type: ExternalOrderId ID of the external order linked to the point Max length: Example: |
|
offset |
Type: Offset Offset (paging) of claim issuing by a given filter (claims are sorted by creation date) (int64) Default: Min value: Example: |
|
phone |
Type: string Filter by phone number Max length: Pattern: Example: |
|
state |
Type: SearchClaimState Filter by claim Enum: |
|
status |
Type: ClaimStatus Claim status. To learn more, see Status model Enum: |
Example
{
"offset": 50,
"limit": 50,
"claim_id": "741cedf82cd464fa6fa16d87155c636",
"phone": "+79123456789",
"status": "new",
"created_from": "2020-01-01T00:00:00+00:00",
"created_to": "2020-01-02T00:00:00+00:00",
"state": "active",
"due_from": null,
"due_to": null,
"external_order_id": "100"
}
SearchClaimsRequestCursor
|
Name |
Description |
|
cursor |
Type: string Cursor of the next search page Example: |
Example
{
"cursor": "example"
}
Responses
200 OK
Claim information
Body
application/json
{
"claims": [
{
"id": "741cedf82cd464fa6fa16d87155c636",
"corp_client_id": "cd8cc018bde34597932855e3cfdce927",
"items": [
{
"extra_id": "BP-208",
"pickup_point": 1,
"droppof_point": 2,
"title": "Plumbus",
"size": {},
"weight": 2,
"cost_value": "2.00",
"cost_currency": "RUB",
"quantity": 1,
"fiscalization": {}
}
],
"route_points": [
{
"id": 1,
"contact": {},
"address": {},
"type": "source",
"visit_order": 1,
"visit_status": "pending",
"skip_confirmation": false,
"leave_under_door": true,
"meet_outside": true,
"no_door_call": true,
"modifier_age_check": true,
"payment_on_delivery": {},
"external_order_id": "100",
"external_order_cost": {},
"expected_visit_interval": {},
"pickup_code": "893422",
"return_reasons": [
null
],
"return_comment": "example",
"performer_cancel_reason": "example",
"visited_at": {}
},
{
"id": 1,
"contact": {},
"address": {},
"type": "source",
"visit_order": 1,
"visit_status": "pending",
"skip_confirmation": false,
"leave_under_door": true,
"meet_outside": true,
"no_door_call": true,
"modifier_age_check": true,
"payment_on_delivery": {},
"external_order_id": "100",
"external_order_cost": {},
"expected_visit_interval": {},
"pickup_code": "893422",
"return_reasons": [
null
],
"return_comment": "example",
"performer_cancel_reason": "example",
"visited_at": {}
}
],
"current_point_id": 372036854775807,
"status": "new",
"version": 0,
"user_request_revision": "example",
"error_messages": [
{
"code": "some_error",
"message": "Some error"
}
],
"emergency_contact": {
"name": "Rick",
"phone": "+79826810246",
"phone_additional_code": "602 17 500"
},
"skip_door_to_door": false,
"skip_client_notify": false,
"skip_emergency_notify": false,
"skip_act": false,
"optional_return": false,
"eta": 10,
"created_ts": "2020-01-01T00:00:00+00:00",
"updated_ts": "2020-01-01T00:00:00+00:00",
"taxi_offer": {
"offer_id": "28ae5f1d72364468be3f5e26cd6a66bf",
"price_raw": 12,
"price": "12.50"
},
"pricing": {
"offer": {
"offer_id": null,
"price_raw": 12,
"price": null,
"valid_until": "2020-01-01T00:00:00+00:00",
"price_with_vat": null
},
"currency": "RUB",
"currency_rules": {
"code": null,
"text": "rub.",
"template": "$VALUE$ $SIGN$$CURRENCY$",
"sign": "₽"
},
"final_pricing_calc_id": "example",
"final_price": null
},
"available_cancel_state": "free",
"client_requirements": {
"taxi_class": "express",
"taxi_classes": [
"express"
],
"cargo_type": "lcv_m",
"cargo_loaders": 0,
"cargo_options": [
"thermobag"
],
"pro_courier": false,
"assign_robot": true
},
"matched_cars": [
{
"taxi_class": "express",
"client_taxi_class": "cargo",
"cargo_type": "lcv_m",
"cargo_type_int": "2 is equal to \"lcv_m\"",
"cargo_loaders": 0,
"door_to_door": false,
"pro_courier": false
}
],
"warnings": [
{
"source": "client_requirements",
"code": "not_fit_in_car",
"message": "warning"
}
],
"performer_info": {
"courier_name": "Person",
"legal_name": "Sole Trader Birdperson",
"car_model": "Hyundai Solaris",
"car_number": "Y100BJF",
"car_color": "red",
"car_color_hex": "FF00000",
"transport_type": "car"
},
"callback_properties": {
"callback_url": "https://www.example.com/"
},
"due": "2020-01-01T00:00:00+00:00",
"shipping_document": "example",
"comment": "Restaurant",
"revision": 1,
"route_id": "example",
"same_day_data": {
"delivery_interval": {
"from": "2020-01-01T07:00:00+00:00",
"to": "2020-01-01T07:00:00+00:00"
}
}
}
],
"cursor": "example"
}
|
Name |
Description |
|
claims |
Type: V2ClaimInfo[] List of found claims Example
|
|
cursor |
Type: string Cursor of the previous search page Example: |
CorpClientId
Yandex Delivery corporate client ID (from the OAuth token)
Type: string
Min length: 32
Max length: 32
Example: cd8cc018bde34597932855e3cfdce927
CargoItemSizes
Unit dimensions in meters. The actual values should be added to the fields.
If the dimensions aren't added, the order is placed, taking into account the maximum dimensions allowed for the selected rate.
If the actual characteristics of the unit exceed the allowed dimensions, the courier has the right to refuse to fulfill the order on site.
In this case, the minimum fee will be withheld.
Courier: up to 0.80 m × 0.50 m × 0.50 м
Express: up to 1.00 m × 0.60 m × 0.50 m
Cargo:
- Small body: up to 1.70 m × 0.96 m × 0.90 m
- Medium body: up to 2.60 m × 1.30 m × 1.50 m
- Large body: up to 3.80 m × 1.80 m × 1.80 m
|
Name |
Description |
|
height |
Type: number Height in meters |
|
length |
Type: number Length in meters |
|
width |
Type: number Width in meters |
Example
{
"length": 0.1,
"width": 0.2,
"height": 0.3
}
Currency
Three-digit code of the payment currency
Type: string
Min length: 3
Max length: 3
Example: RUB
Money
Delivery cost in Decimal(18, 4) format
Type: string
Pattern: ^-?[0-9]{1,14}(\.[0-9]{0,4})?$
Example: 12.50
VatCodeStrApi
VAT rate. Possible values:
vat_none — without VAT.
vat0 — 0% VAT (applied in rare cases).
vat10 — 10% VAT.
vat20 — 20% VAT.
Type: string
Example: vat_none
SupplierInn
Supplier's ITN (10 or 12 digits).
Type: string
Pattern: ^(\d{10}|\d{12})$
Example: 3664069397
ItemArticle
Item SKU.
Must be unique for items delivered from one point.
Type: string
Example: 20ML50OWKY4FC86
ItemMark
Unique item code (control identification sign). Valid for Russia.
If items have a unique code, a separate block must be created for each of them
|
Name |
Description |
|
code |
Type: string Unit marking code in accordance with the format ''kind'' Example: |
|
kind |
Type: string Marking type.
Example: |
Example
{
"kind": "gs1_data_matrix_base64",
"code": "444D00000000003741"
}
ItemType
Name type: product or service.
Default value: product
Type: string
Enum: product, service
ItemFiscalization
Fiscalization information (valid for payment upon receipt)
|
Name |
Description |
|
article |
Type: ItemArticle Item SKU. Example: |
|
excise |
Type: Money Amount of excise tax Delivery cost in Decimal(18, 4) format Pattern: Example: |
|
item_type |
Type: ItemType Name type: product or service. Enum: |
|
mark |
Type: ItemMark Unique item code (control identification sign). Valid for Russia. Example
|
|
supplier_inn |
Type: SupplierInn Supplier's ITN (10 or 12 digits). Pattern: Example: |
|
vat_code_str |
Type: VatCodeStrApi VAT rate. Possible values: Example: |
Example
{
"excise": "12.50",
"vat_code_str": "vat_none",
"supplier_inn": "3664069397",
"article": "20ML50OWKY4FC86",
"mark": {
"kind": "gs1_data_matrix_base64",
"code": "444D00000000003741"
},
"item_type": "product"
}
V2CargoItem
|
Name |
Description |
|
cost_currency |
Type: Currency Three-digit code of the payment currency Min length: Max length: Example: |
|
cost_value |
Type: string Price per item in cost_currency. Example: |
|
droppof_point |
Type: integer ID of the point (int64) to deliver the item to. Differs from the ID in the claim. |
|
pickup_point |
Type: integer ID of the point (int64) to pick up the item from. Differs from the ID in the claim. |
|
quantity |
Type: integer Number of units (int64) Min value: |
|
title |
Type: string Item name Example: |
|
extra_id |
Type: string Short unique item ID (order number in the claim, usually identical to external_order_id) Max length: Example: |
|
fiscalization |
Type: ItemFiscalization Fiscalization information (valid for payment upon receipt) Example
|
|
size |
Type: CargoItemSizes Unit dimensions in meters. The actual values should be added to the fields.
Example
|
|
weight |
Type: number Item weight in kg. The actual values should be entered in the field.
|
Example
{
"extra_id": "BP-208",
"pickup_point": 1,
"droppof_point": 2,
"title": "Plumbus",
"size": {
"length": 0.1,
"width": 0.2,
"height": 0.3
},
"weight": 2,
"cost_value": "2.00",
"cost_currency": "RUB",
"quantity": 1,
"fiscalization": {
"excise": "12.50",
"vat_code_str": "vat_none",
"supplier_inn": "3664069397",
"article": "20ML50OWKY4FC86",
"mark": {
"kind": "gs1_data_matrix_base64",
"code": "444D00000000003741"
},
"item_type": "product"
}
}
ContactOnPoint
Information about the contact person
|
Name |
Description |
|
name |
Type: string Name of the contact person Example: |
|
phone |
Type: string Phone number of the contact person Max length: Pattern: Example: |
|
|
Type: string Email is a mandatory parameter for source and return points Max length: Pattern: Example: |
|
phone_additional_code |
Type: string Extension number to call the courier Example: |
Example
{
"name": "Rick",
"phone": "+79123456789",
"phone_additional_code": "602 17 500",
"email": "example@yandex.ru"
}
AddressFullname
Full address with an indication of the city, street, and house number.
You don't need to specify the flat, the entrance number, or the floor.
Type: string
Example: Saint Petersburg, Bol'shaya Monetnaya Street, 1f1A
CargoPointAddress
Point address
|
Name |
Description |
|
fullname |
Type: AddressFullname Full address with an indication of the city, street, and house number. Example: |
|
building |
Type: string Building Example: |
|
building_name |
Type: string Apartment building name Example: |
|
city |
Type: string City Example: |
|
comment |
Type: string Comment for the courier. Max length: Example: |
|
coordinates |
Type: number[] Coordinates of points in the form of an array of two real numbers: longitude and latitude — exactly in that order. Min items: Max items: Example
|
|
country |
Type: string Country Example: |
|
description |
Type: string A geographic area that turns a short address into a global match Example: |
|
door_code |
Type: string Intercom code Example: |
|
door_code_extra |
Type: string Additional instructions for intercoms Example: |
|
doorbell_name |
Type: string Name on the doorbell Example: |
|
flat |
Type: integer Flat (DEPRECATED) (int64) Max value: |
|
floor |
Type: integer Floor (DEPRECATED) (int64) Max value: |
|
porch |
Type: string Entrance (may be A) Example: |
|
sflat |
Type: string Flat Example: |
|
sfloor |
Type: string Floor Example: |
|
shortname |
Type: string Short address within the city (like on a Taximeter) Example: |
|
street |
Type: string Street Example: |
|
uri |
Type: string URI of the geo object on maps Example: |
Example
{
"fullname": "Saint Petersburg, Bol'shaya Monetnaya Street, 1f1A",
"shortname": "Bol'shaya Monetnaya Street, 1f1A",
"coordinates": [
0.5,
0.5
],
"country": "Russia",
"city": "Saint Petersburg",
"building_name": "BC of Bol'shaya Monetnaya",
"street": "Bol'shaya Monetnaya street",
"building": "23f1A",
"porch": "A",
"floor": 1,
"flat": 1,
"sfloor": "1",
"sflat": "1",
"door_code": "169",
"door_code_extra": "courtyard entrance code #1234, apartment code #4321",
"doorbell_name": "Magidovich",
"comment": "The intercom doesn't work",
"uri": "ymapsbm1://geo?ll=38.805%2C55.084",
"description": "Saint Petersburg, Russia"
}
PointType
Point type:
- source: the point of departure where the courier picks up the item
- destination: destination points where the courier delivers the items
- return: item return point (added automatically and matches the point of departure by default, but a different point can also be selected)
Type: string
Enum: source, destination, return
PointVisitStatus
Point visit status:
- pending — not yet visited.
- arrived — the courier arrived at the point.
- visited — the courier handed over/picked up the cargo at the point.
- skipped — skipped (if the item wasn't accepted).
Type: string
Enum: pending, arrived, visited, skipped
CargoPointSkipConfirmation
Skip SMS confirmation at the given point
Default value: false (confirmation required).
Type: boolean
Default: false
PaymentId
Payment ID
Type: string<uuid>
Example: 123e4567-e89b-12d3-a456-426614174000
ClientOrderId
customer order's external ID
Type: string
Example: 100
PaymentComplete
Order payment indication
Type: boolean
Inn
User's ITN (10 or 12 digits)
Type: string
Pattern: ^(\d{10}|\d{12})$
Example: 3664069397
CustomerFiscalization
Information about the customer (recipient)
|
Name |
Description |
|
|
Type: string User's email address. If not specified, the recipient's email address from the destination point will be used Example: |
|
full_name |
Type: string For legal entities — organization name, for individual entrepreneurs and individuals — full name Example: |
|
inn |
Type: Inn User's ITN (10 or 12 digits) Pattern: Example: |
|
phone |
Type: string User's phone number in +X XXX XXX XX XX format. If not specified, the recipient's phone number from the destination point will be used Example: |
Example
{
"full_name": "Morty",
"inn": "3664069397",
"email": "example@yandex.ru",
"phone": "+79123456789"
}
PaymentMethod
Selected payment method.
card — payment by card.
cash — cash payment (not yet available).
Type: string
Enum: card, cash
InvoiceLink
Invoice link
Type: string
Example: https://ofd.yandex.ru/vaucher/0005312316002718/9410/2604520024
ResponsePaymentOnDelivery
Parameters of payment upon receipt
|
Name |
Description |
|
is_paid |
Type: PaymentComplete Order payment indication Example: |
|
client_order_id |
Type: ClientOrderId customer order's external ID Example: |
|
customer |
Type: CustomerFiscalization Information about the customer (recipient) Example
|
|
invoice_link |
Type: InvoiceLink Invoice link Example: |
|
payment_method |
Type: PaymentMethod Selected payment method. Enum: |
|
payment_ref_id |
Type: PaymentId Payment ID Example: |
Example
{
"payment_ref_id": "123e4567-e89b-12d3-a456-426614174000",
"client_order_id": "100",
"is_paid": false,
"customer": {
"full_name": "Morty",
"inn": "3664069397",
"email": "example@yandex.ru",
"phone": "+79123456789"
},
"payment_method": "card",
"invoice_link": "https://ofd.yandex.ru/vaucher/0005312316002718/9410/2604520024"
}
ExternalOrderCost
Cost of the external order linked to the point
|
Name |
Description |
|
currency |
Type: string Currency Example: |
|
currency_sign |
Type: string Currency symbol Example: |
|
value |
Type: string Cost Example: |
Example
{
"value": "100.0",
"currency": "RUB",
"currency_sign": "₽"
}
ExpectedVisitInterval
Time interval of the courier's visit to the point according to the selected offer
|
Name |
Description |
|
from |
Type: string<date-time> Interval start Example: |
|
to |
Type: string<date-time> Interval end Example: |
Example
{
"from": "2020-01-01T00:00:00+00:00",
"to": "2020-01-02T00:00:00+00:00"
}
PickupCode
Parcel pick-up code.
The courier needs to enter this code to confirm that they have picked up the parcel.
This requires your employees to be at the point of dispatch to provide this code to the courier.
Relevant for source points.
Code format: 6 digits
|
Item pick-up code (pick-up point)
Type: string
Min length: 6
Max length: 6
Pattern: \d{6}
Example: 893422
PointVisitTime
Information about the point visit time
|
Name |
Description |
|
actual |
Type: string<date-time> Actual point visit time. Example: |
|
expected |
Type: string<date-time> Estimated time of arrival. Can be filled in only for unvisited points. Example: |
|
expected_waiting_time_sec |
Type: integer Estimated waiting time at the point. (int64) |
Example
{
"expected": "2025-01-01T00:00:00Z",
"expected_waiting_time_sec": 0,
"actual": "2025-01-01T00:00:00Z"
}
V2ResponseCargoPoint
Route point information
|
Name |
Description |
|
address |
Type: CargoPointAddress Point address Example
|
|
contact |
Type: ContactOnPoint Information about the contact person Example
|
|
id |
Type: integer Integer point ID (int64) |
|
type |
Type: PointType Point type:
Enum: |
|
visit_order |
Type: integer The order in which the points are visited (numbering starts with 1) (int64) |
|
visit_status |
Type: PointVisitStatus Point visit status:
Enum: |
|
visited_at |
Type: PointVisitTime Information about the point visit time Example
|
|
expected_visit_interval |
Type: ExpectedVisitInterval Time interval of the courier's visit to the point according to the selected offer Example
|
|
external_order_cost |
Type: ExternalOrderCost Cost of the external order linked to the point Example
|
|
external_order_id |
Type: string Order number from the customer's system. Example: |
|
leave_under_door |
Type: boolean Leave the parcel at the door |
|
meet_outside |
Type: boolean The courier will be met outside, at the entrance |
|
modifier_age_check |
Type: boolean Check documents for the purchase of alcohol/tobacco products |
|
no_door_call |
Type: boolean Don't ring the doorbell |
|
payment_on_delivery |
Type: ResponsePaymentOnDelivery Parameters of payment upon receipt Example
|
|
performer_cancel_reason |
Type: string Reason for canceling the order Example: |
|
pickup_code |
Type: PickupCode Parcel pick-up code. Min length: Max length: Pattern: Example: |
|
return_comment |
Type: string Comments on the reasons for returning the cargo Example: |
|
return_reasons |
Type: string[] Reasons for returning the cargo Example
|
|
skip_confirmation |
Type: CargoPointSkipConfirmation Skip SMS confirmation at the given point Default: Example: |
Example
{
"id": 1,
"contact": {
"name": "Rick",
"phone": "+79123456789",
"phone_additional_code": "602 17 500",
"email": "example@yandex.ru"
},
"address": {
"fullname": "Saint Petersburg, Bol'shaya Monetnaya Street, 1f1A",
"shortname": "Bol'shaya Monetnaya Street, 1f1A",
"coordinates": [
0.5,
0.5
],
"country": "Russia",
"city": "Saint Petersburg",
"building_name": "BC of Bol'shaya Monetnaya",
"street": "Bol'shaya Monetnaya street",
"building": "23f1A",
"porch": "A",
"floor": 1,
"flat": 1,
"sfloor": "1",
"sflat": "1",
"door_code": "169",
"door_code_extra": "courtyard entrance code #1234, apartment code #4321",
"doorbell_name": "Magidovich",
"comment": "The intercom doesn't work",
"uri": "ymapsbm1://geo?ll=38.805%2C55.084",
"description": "Saint Petersburg, Russia"
},
"type": "source",
"visit_order": 1,
"visit_status": "pending",
"skip_confirmation": false,
"leave_under_door": true,
"meet_outside": true,
"no_door_call": true,
"modifier_age_check": true,
"payment_on_delivery": {
"payment_ref_id": "123e4567-e89b-12d3-a456-426614174000",
"client_order_id": "100",
"is_paid": false,
"customer": {
"full_name": "Morty",
"inn": "3664069397",
"email": "example@yandex.ru",
"phone": "+79123456789"
},
"payment_method": "card",
"invoice_link": "https://ofd.yandex.ru/vaucher/0005312316002718/9410/2604520024"
},
"external_order_id": "100",
"external_order_cost": {
"value": "100.0",
"currency": "RUB",
"currency_sign": "₽"
},
"expected_visit_interval": {
"from": "2020-01-01T00:00:00+00:00",
"to": "2020-01-02T00:00:00+00:00"
},
"pickup_code": "893422",
"return_reasons": [
"example"
],
"return_comment": "example",
"performer_cancel_reason": "example",
"visited_at": {
"expected": "2025-01-01T00:00:00Z",
"expected_waiting_time_sec": 0,
"actual": "2025-01-01T00:00:00Z"
}
}
V2ResponseCargoRoutePoints
Route point information
Type: V2ResponseCargoPoint[]
Min items: 2
Example
[
{
"id": 1,
"contact": {
"name": "Rick",
"phone": "+79123456789",
"phone_additional_code": "602 17 500",
"email": "example@yandex.ru"
},
"address": {
"fullname": "Saint Petersburg, Bol'shaya Monetnaya Street, 1f1A",
"shortname": "Bol'shaya Monetnaya Street, 1f1A",
"coordinates": [
0.5,
0.5
],
"country": "Russia",
"city": "Saint Petersburg",
"building_name": "BC of Bol'shaya Monetnaya",
"street": "Bol'shaya Monetnaya street",
"building": "23f1A",
"porch": "A",
"floor": 1,
"flat": 1,
"sfloor": "1",
"sflat": "1",
"door_code": "169",
"door_code_extra": "courtyard entrance code #1234, apartment code #4321",
"doorbell_name": "Magidovich",
"comment": "The intercom doesn't work",
"uri": "ymapsbm1://geo?ll=38.805%2C55.084",
"description": "Saint Petersburg, Russia"
},
"type": "source",
"visit_order": 1,
"visit_status": "pending",
"skip_confirmation": false,
"leave_under_door": true,
"meet_outside": true,
"no_door_call": true,
"modifier_age_check": true,
"payment_on_delivery": {
"payment_ref_id": "123e4567-e89b-12d3-a456-426614174000",
"client_order_id": "100",
"is_paid": false,
"customer": {
"full_name": "Morty",
"inn": "3664069397",
"email": "example@yandex.ru",
"phone": "+79123456789"
},
"payment_method": "card",
"invoice_link": "https://ofd.yandex.ru/vaucher/0005312316002718/9410/2604520024"
},
"external_order_id": "100",
"external_order_cost": {
"value": "100.0",
"currency": "RUB",
"currency_sign": "₽"
},
"expected_visit_interval": {
"from": "2020-01-01T00:00:00+00:00",
"to": "2020-01-02T00:00:00+00:00"
},
"pickup_code": "893422",
"return_reasons": [
"example"
],
"return_comment": "example",
"performer_cancel_reason": "example",
"visited_at": {
"expected": "2025-01-01T00:00:00Z",
"expected_waiting_time_sec": 0,
"actual": "2025-01-01T00:00:00Z"
}
},
{
"id": 1,
"contact": {
"name": "Rick",
"phone": "+79123456789",
"phone_additional_code": "602 17 500",
"email": "example@yandex.ru"
},
"address": {
"fullname": "Saint Petersburg, Bol'shaya Monetnaya Street, 1f1A",
"shortname": "Bol'shaya Monetnaya Street, 1f1A",
"coordinates": [
0.5,
0.5
],
"country": "Russia",
"city": "Saint Petersburg",
"building_name": "BC of Bol'shaya Monetnaya",
"street": "Bol'shaya Monetnaya street",
"building": "23f1A",
"porch": "A",
"floor": 1,
"flat": 1,
"sfloor": "1",
"sflat": "1",
"door_code": "169",
"door_code_extra": "courtyard entrance code #1234, apartment code #4321",
"doorbell_name": "Magidovich",
"comment": "The intercom doesn't work",
"uri": "ymapsbm1://geo?ll=38.805%2C55.084",
"description": "Saint Petersburg, Russia"
},
"type": "source",
"visit_order": 1,
"visit_status": "pending",
"skip_confirmation": false,
"leave_under_door": true,
"meet_outside": true,
"no_door_call": true,
"modifier_age_check": true,
"payment_on_delivery": {
"payment_ref_id": "123e4567-e89b-12d3-a456-426614174000",
"client_order_id": "100",
"is_paid": false,
"customer": {
"full_name": "Morty",
"inn": "3664069397",
"email": "example@yandex.ru",
"phone": "+79123456789"
},
"payment_method": "card",
"invoice_link": "https://ofd.yandex.ru/vaucher/0005312316002718/9410/2604520024"
},
"external_order_id": "100",
"external_order_cost": {
"value": "100.0",
"currency": "RUB",
"currency_sign": "₽"
},
"expected_visit_interval": {
"from": "2020-01-01T00:00:00+00:00",
"to": "2020-01-02T00:00:00+00:00"
},
"pickup_code": "893422",
"return_reasons": [
"example"
],
"return_comment": "example",
"performer_cancel_reason": "example",
"visited_at": {
"expected": "2025-01-01T00:00:00Z",
"expected_waiting_time_sec": 0,
"actual": "2025-01-01T00:00:00Z"
}
}
]
ClaimPointId
Integer point ID (int64) generated on the Yandex Delivery side.
It is in the route_points[].id field. Applicable to source, destination, and return points.
Type: integer
HumanErrorMessage
Error code and description
|
Name |
Description |
|
code |
Type: string Error code Example: |
|
message |
Type: string Error description Example: |
Example
{
"code": "some_error",
"message": "Some error"
}
ContactWithPhone
Information about the contact person with a phone number
|
Name |
Description |
|
name |
Type: string Name of the contact person Example: |
|
phone |
Type: string Phone number of the contact person Max length: Pattern: Example: |
|
phone_additional_code |
Type: string Extension number to call the courier Example: |
Example
{
"name": "Rick",
"phone": "+79826810246",
"phone_additional_code": "602 17 500"
}
SkipDoorToDoor
Disable door-to-door delivery (disable the "Door-to-door" option).
Possible values:
- true (the courier will deliver the order only at the entrance outside)
- false (the courier will deliver the order to the door) - default value
Type: boolean
Default: false
SkipClientNotify
Don't send SMS notifications to the sender/recipient when a courier is on their way.
Default value: false (send notifications)
Type: boolean
Default: false
SkipEmergencyNotify
Don't send a notification to the emergency contact person
Default value: false (send notifications)
Type: boolean
Default: false
SkipAct
Don't show an acceptance certificate
Type: boolean
OptionalReturn
Disable item return in case of order cancellation.
Possible values:
- true (the courier keeps the item)
- false (by default, the item must be returned)
Type: boolean
Default: false
Eta
Estimated order fulfillment time in minutes (int64)
Type: integer
TaxiOfferId
Offer ID
Type: string
Example: 28ae5f1d72364468be3f5e26cd6a66bf
TaxiOfferDeprecated
Offer from Taxi (valid for some time). This mechanism is deprecated, use pricing.offer
|
Name |
Description |
|
offer_id |
Type: TaxiOfferId Offer ID Example: |
|
price |
Type: Money decimal offer price Delivery cost in Decimal(18, 4) format Pattern: Example: |
|
price_raw |
Type: integer (deprecated) Offer price in the currency specified in the contract (int64) |
Example
{
"offer_id": "28ae5f1d72364468be3f5e26cd6a66bf",
"price_raw": 12,
"price": "12.50"
}
TaxiOffer
Offer from Yandex Delivery (valid for some time).
|
Name |
Description |
|
offer_id |
Type: TaxiOfferId Offer ID Example: |
|
price |
Type: Money Offer price without VAT Delivery cost in Decimal(18, 4) format Pattern: Example: |
|
price_raw |
Type: integer (deprecated) Offer price in the currency specified (int64) in the contract |
|
price_with_vat |
Type: Money Delivery cost in Decimal(18, 4) format Pattern: Example: |
|
valid_until |
Type: string<date-time> Time until which the offer to accept the claim is valid. If there is no value, there are no limits on the offer duration Example: |
Example
{
"offer_id": "28ae5f1d72364468be3f5e26cd6a66bf",
"price_raw": 12,
"price": "12.50",
"valid_until": "2020-01-01T00:00:00+00:00",
"price_with_vat": null
}
CurrencyRules
Currency display rules
|
Name |
Description |
|
code |
Type: Currency Three-digit code of the payment currency Min length: Max length: Example: |
|
template |
Type: string Currency display template Example: |
|
text |
Type: string Short currency name Example: |
|
sign |
Type: string Currency symbol Example: |
Example
{
"code": "RUB",
"text": "rub.",
"template": "$VALUE$ $SIGN$$CURRENCY$",
"sign": "₽"
}
ClaimPricing
Information about the order cost
|
Name |
Description |
|
currency |
Type: string Three-digit code of the payment currency Example: |
|
currency_rules |
Type: CurrencyRules Currency display rules Example
|
|
final_price |
Type: Money Final delivery price, including VAT. Delivery cost in Decimal(18, 4) format Pattern: Example: |
|
final_pricing_calc_id |
Type: string Cost calculation ID Example: |
|
offer |
Type: TaxiOffer Offer from Yandex Delivery (valid for some time). Example
|
Example
{
"offer": {
"offer_id": "28ae5f1d72364468be3f5e26cd6a66bf",
"price_raw": 12,
"price": "12.50",
"valid_until": "2020-01-01T00:00:00+00:00",
"price_with_vat": null
},
"currency": "RUB",
"currency_rules": {
"code": "RUB",
"text": "rub.",
"template": "$VALUE$ $SIGN$$CURRENCY$",
"sign": "₽"
},
"final_pricing_calc_id": "example",
"final_price": null
}
AvailableCancelState
(deprecated) Indication of the paid/free cancellation option.
The mechanism is deprecated, use the cancel_state field of the method claim/cancel-info
Type: string
Enum: free, paid
CargoType
Body type (size) for the cargo rate.\nPossible values:
- van ("Small body")
- lcv_m ("Medium body")
- lcv_l ("Large body")
- lcv_xl ("XL body")
For an exact list of possible values for a particular geo point,\nuse the method for obtaining rates tariffs
Type: string
Enum: van, lcv_m, lcv_l, lcv_xl
CargoOptions
List of additional rate options.
Possible separate options:
- auto_courier (a courier with a vehicle only)
- thermobag (a courier with a thermobag)
Example of a list of options: ["auto_courier"].
For an exact list of possible values for a particular geo point,
use the method for obtaining rates tariffs
Type: string[]
Example
[
"thermobag"
]
ClientRequirements
Customer requirements specified when creating or editing a claim
|
Name |
Description |
|
taxi_class |
Type: string Delivery rate. Possible values: courier, express, cargo Example: |
|
assign_robot |
Type: boolean Allow the order to be fulfilled by rover (six-wheeled robot) |
|
cargo_loaders |
Type: integer Number of loaders for the cargo rate. Min value: |
|
cargo_options |
Type: CargoOptions List of additional rate options. Possible separate options:
Example of a list of options: ["auto_courier"]. For an exact list of possible values for a particular geo point, Example
|
|
cargo_type |
Type: CargoType Body type (size) for the cargo rate.\nPossible values:
Enum: |
|
pro_courier |
Type: boolean Enable the "Pro" option for "Express" and "Courier" rates. |
|
taxi_classes |
Type: string[] Taxi service classes. These classes must be used, without additional checks Min items: Example
|
Example
{
"taxi_class": "express",
"taxi_classes": [
"express"
],
"cargo_type": "lcv_m",
"cargo_loaders": 0,
"cargo_options": [
"thermobag"
],
"pro_courier": false,
"assign_robot": true
}
MatchedCar
|
Name |
Description |
|
taxi_class |
Type: string Delivery rate. Possible values: courier, express, cargo Example: |
|
cargo_loaders |
Type: integer Required number of loaders (int64) Min value: |
|
cargo_type |
Type: string Body type Example: |
|
cargo_type_int |
Type: integer Body type (int64) |
|
client_taxi_class |
Type: string Customer rate Example: |
|
door_to_door |
Type: boolean The "door-to-door" option for the "Express" rate |
|
pro_courier |
Type: boolean Enable the "Pro" option for "Express" and "Courier" rates. |
Example
{
"taxi_class": "express",
"client_taxi_class": "cargo",
"cargo_type": "lcv_m",
"cargo_type_int": "2 is equal to \"lcv_m\"",
"cargo_loaders": 0,
"door_to_door": false,
"pro_courier": false
}
ClaimWarningSourceApi
Warning source:
- client_requirements — the warning is related to customer requirements.
- route_points — the warning is related
to the transmitted addresses.
Type: string
Example: client_requirements
ClaimWarningCodeApi
Warning type:
- not_fit_in_car: the cargo may not fit in the vehicle.
- requirement_unavailable: the specified requirement isn't available and has been ignored.
- address_not_found - the specified address wasn't found in Yandex Maps.
- address_too_far: the coordinates from Yandex Maps the specified address are far from the transmitted coordinates.
Type: string
Example: not_fit_in_car
ClaimWarning
|
Name |
Description |
|
code |
Type: ClaimWarningCodeApi Warning type:
Example: |
|
source |
Type: ClaimWarningSourceApi Warning source:
Example: |
|
message |
Type: string Warning description Example: |
Example
{
"source": "client_requirements",
"code": "not_fit_in_car",
"message": "warning"
}
PerformerInfo
Information about the courier
|
Name |
Description |
|
courier_name |
Type: string Name of the courier who is delivering a parcel Example: |
|
legal_name |
Type: string Data on the legal entity that performs the delivery Example: |
|
car_color |
Type: string Vehicle color Example: |
|
car_color_hex |
Type: string RGB code of the vehicle color Example: |
|
car_model |
Type: string Vehicle model Example: |
|
car_number |
Type: string License plate number of the vehicle Example: |
|
transport_type |
Type: string Type of courier transport Example: |
Example
{
"courier_name": "Person",
"legal_name": "Sole Trader Birdperson",
"car_model": "Hyundai Solaris",
"car_number": "Y100BJF",
"car_color": "red",
"car_color_hex": "FF00000",
"transport_type": "car"
}
CallbackProperties
Parameters for notifying the client's server about the claim status change.
A notification is a POST request to the specified URL to which information about the date of the last claim change and claim ID in the format
'updated_ts=
'https://example.com/?my_order_id=123&' format will be expanded into
'https://example.com/?my_order_id=123&updated_ts=...&claim_id=...'.
Note that parameters are added by concatenation to callback_url, which means that the URL such as 'https://example.com' will turn into this invalid format: 'https://example.comupdated_ts=...&claim_id=...'.
Only HTTP and HTTPS are supported. In the case of HTTPS, an SSL certificate must be issued by a certification authority known to the server.
Notifications should be viewed as a push ahead of polling, a way of speeding up information on status changes. The server expects the 200 response, and if there are timeouts or any other response, it will attempt to deliver the notification and then stop the attempts.
So in order to reliably obtain the claim status, the client needs to request information using the method claims/info.
The client should note that the response of the claims/info operation may contain an older claim state (the value of the updated_ts field should be used as a reference). In this case, the operation call must be repeated after some time (from 5 to 30 seconds).
|
Name |
Description |
|
callback_url |
Type: string The URL used in the case of a status change for the claim. Pattern: Example: |
Example
{
"callback_url": "https://www.example.com/"
}
Due
Estimated time of arrival of the courier. (In Russia, you can postpone the estimated time of arrival by 30-60 minutes from the current moment).
If this parameter isn''t specified, we will look for a courier as soon as possible.
Type: string<date-time>
Example: 2020-01-01T00:00:00+00:00
SameDayData
Additional information for Same-day delivery claims. The option is unavailable in Russia.
|
Name |
Description |
||||
|
delivery_interval |
Type: object
Parcel pick-up and delivery interval Example
|
Example
{
"delivery_interval": {
"from": "2020-01-01T07:00:00+00:00",
"to": "2020-01-01T07:00:00+00:00"
}
}
V2ClaimInfo
Claim information
|
Name |
Description |
|
created_ts |
Type: string<date-time> Date and time of claim creation Example: |
|
id |
Type: ClaimId Claim ID obtained at the claim creation stage Min length: Max length: Example: |
|
items |
Type: V2CargoItem[] Item parameters Min items: Example
|
|
revision |
Type: integer Revision (int64) |
|
route_points |
Type: V2ResponseCargoRoutePoints Route point information Min items: Example
|
|
status |
Type: ClaimStatus Claim status. To learn more, see Status model Enum: |
|
updated_ts |
Type: string<date-time> Date and time of the last claim update Example: |
|
user_request_revision |
Type: string The current version of changes in the claim entered by the user Example: |
|
version |
Type: integer Version (int64) |
|
available_cancel_state |
Type: AvailableCancelState (deprecated) Indication of the paid/free cancellation option. Enum: |
|
callback_properties |
Type: CallbackProperties Parameters for notifying the client's server about the claim status change. Example
|
|
client_requirements |
Type: ClientRequirements Customer requirements specified when creating or editing a claim Example
|
|
comment |
Type: string General comment to the order Max length: Example: |
|
corp_client_id |
Type: CorpClientId Yandex Delivery corporate client ID (from the OAuth token) Min length: Max length: Example: |
|
current_point_id |
Type: ClaimPointId Integer point ID (int64) generated on the Yandex Delivery side. Example: |
|
due |
Type: Due Estimated time of arrival of the courier. (In Russia, you can postpone the estimated time of arrival by 30-60 minutes from the current moment). Example: |
|
emergency_contact |
Type: ContactWithPhone Information about the contact person with a phone number Example
|
|
error_messages |
Type: HumanErrorMessage[] List of error messages Example
|
|
eta |
Type: Eta Estimated order fulfillment time in minutes (int64) Example: |
|
matched_cars |
Type: MatchedCar[] Information about the selected rate Example
|
|
optional_return |
Type: OptionalReturn Disable item return in case of order cancellation. Possible values:
Default: Example: |
|
performer_info |
Type: PerformerInfo Information about the executor Information about the courier Example
|
|
pricing |
Type: ClaimPricing Information about the order cost Example
|
|
route_id |
Type: string ID of the route within which the order is delivered Example: |
|
same_day_data |
Type: SameDayData Additional information for Example
|
|
shipping_document |
Type: string Shipping documents Example: |
|
skip_act |
Type: SkipAct Don't show an acceptance certificate Example: |
|
skip_client_notify |
Type: SkipClientNotify Don't send SMS notifications to the sender/recipient when a courier is on their way. Default: Example: |
|
skip_door_to_door |
Type: SkipDoorToDoor Disable door-to-door delivery (disable the "Door-to-door" option). Possible values:
Default: Example: |
|
skip_emergency_notify |
Type: SkipEmergencyNotify Don't send a notification to the emergency contact person Default: Example: |
|
taxi_offer |
Type: TaxiOfferDeprecated Offer from Taxi (valid for some time). This mechanism is deprecated, use pricing.offer Example
|
|
warnings |
Type: ClaimWarning[] Warnings during claim processing Example
|
Example
{
"id": "741cedf82cd464fa6fa16d87155c636",
"corp_client_id": "cd8cc018bde34597932855e3cfdce927",
"items": [
{
"extra_id": "BP-208",
"pickup_point": 1,
"droppof_point": 2,
"title": "Plumbus",
"size": {
"length": 0.1,
"width": 0.2,
"height": 0.3
},
"weight": 2,
"cost_value": "2.00",
"cost_currency": "RUB",
"quantity": 1,
"fiscalization": {
"excise": "12.50",
"vat_code_str": "vat_none",
"supplier_inn": "3664069397",
"article": "20ML50OWKY4FC86",
"mark": {
"kind": "gs1_data_matrix_base64",
"code": "444D00000000003741"
},
"item_type": "product"
}
}
],
"route_points": [
{
"id": 1,
"contact": {
"name": "Rick",
"phone": "+79123456789",
"phone_additional_code": "602 17 500",
"email": "example@yandex.ru"
},
"address": {
"fullname": "Saint Petersburg, Bol'shaya Monetnaya Street, 1f1A",
"shortname": "Bol'shaya Monetnaya Street, 1f1A",
"coordinates": [
0.5,
0.5
],
"country": "Russia",
"city": "Saint Petersburg",
"building_name": "BC of Bol'shaya Monetnaya",
"street": "Bol'shaya Monetnaya street",
"building": "23f1A",
"porch": "A",
"floor": 1,
"flat": 1,
"sfloor": "1",
"sflat": "1",
"door_code": "169",
"door_code_extra": "courtyard entrance code #1234, apartment code #4321",
"doorbell_name": "Magidovich",
"comment": "The intercom doesn't work",
"uri": "ymapsbm1://geo?ll=38.805%2C55.084",
"description": "Saint Petersburg, Russia"
},
"type": "source",
"visit_order": 1,
"visit_status": "pending",
"skip_confirmation": false,
"leave_under_door": true,
"meet_outside": true,
"no_door_call": true,
"modifier_age_check": true,
"payment_on_delivery": {
"payment_ref_id": "123e4567-e89b-12d3-a456-426614174000",
"client_order_id": "100",
"is_paid": false,
"customer": {
"full_name": "Morty",
"inn": "3664069397",
"email": "example@yandex.ru",
"phone": "+79123456789"
},
"payment_method": "card",
"invoice_link": "https://ofd.yandex.ru/vaucher/0005312316002718/9410/2604520024"
},
"external_order_id": "100",
"external_order_cost": {
"value": "100.0",
"currency": "RUB",
"currency_sign": "₽"
},
"expected_visit_interval": {
"from": "2020-01-01T00:00:00+00:00",
"to": "2020-01-02T00:00:00+00:00"
},
"pickup_code": "893422",
"return_reasons": [
"example"
],
"return_comment": "example",
"performer_cancel_reason": "example",
"visited_at": {
"expected": "2025-01-01T00:00:00Z",
"expected_waiting_time_sec": 0,
"actual": "2025-01-01T00:00:00Z"
}
},
{
"id": 1,
"contact": {
"name": "Rick",
"phone": "+79123456789",
"phone_additional_code": "602 17 500",
"email": "example@yandex.ru"
},
"address": {
"fullname": "Saint Petersburg, Bol'shaya Monetnaya Street, 1f1A",
"shortname": "Bol'shaya Monetnaya Street, 1f1A",
"coordinates": [
0.5,
0.5
],
"country": "Russia",
"city": "Saint Petersburg",
"building_name": "BC of Bol'shaya Monetnaya",
"street": "Bol'shaya Monetnaya street",
"building": "23f1A",
"porch": "A",
"floor": 1,
"flat": 1,
"sfloor": "1",
"sflat": "1",
"door_code": "169",
"door_code_extra": "courtyard entrance code #1234, apartment code #4321",
"doorbell_name": "Magidovich",
"comment": "The intercom doesn't work",
"uri": "ymapsbm1://geo?ll=38.805%2C55.084",
"description": "Saint Petersburg, Russia"
},
"type": "source",
"visit_order": 1,
"visit_status": "pending",
"skip_confirmation": false,
"leave_under_door": true,
"meet_outside": true,
"no_door_call": true,
"modifier_age_check": true,
"payment_on_delivery": {
"payment_ref_id": "123e4567-e89b-12d3-a456-426614174000",
"client_order_id": "100",
"is_paid": false,
"customer": {
"full_name": "Morty",
"inn": "3664069397",
"email": "example@yandex.ru",
"phone": "+79123456789"
},
"payment_method": "card",
"invoice_link": "https://ofd.yandex.ru/vaucher/0005312316002718/9410/2604520024"
},
"external_order_id": "100",
"external_order_cost": {
"value": "100.0",
"currency": "RUB",
"currency_sign": "₽"
},
"expected_visit_interval": {
"from": "2020-01-01T00:00:00+00:00",
"to": "2020-01-02T00:00:00+00:00"
},
"pickup_code": "893422",
"return_reasons": [
"example"
],
"return_comment": "example",
"performer_cancel_reason": "example",
"visited_at": {
"expected": "2025-01-01T00:00:00Z",
"expected_waiting_time_sec": 0,
"actual": "2025-01-01T00:00:00Z"
}
}
],
"current_point_id": 372036854775807,
"status": "new",
"version": 0,
"user_request_revision": "example",
"error_messages": [
{
"code": "some_error",
"message": "Some error"
}
],
"emergency_contact": {
"name": "Rick",
"phone": "+79826810246",
"phone_additional_code": "602 17 500"
},
"skip_door_to_door": false,
"skip_client_notify": false,
"skip_emergency_notify": false,
"skip_act": false,
"optional_return": false,
"eta": 10,
"created_ts": "2020-01-01T00:00:00+00:00",
"updated_ts": "2020-01-01T00:00:00+00:00",
"taxi_offer": {
"offer_id": "28ae5f1d72364468be3f5e26cd6a66bf",
"price_raw": 12,
"price": null
},
"pricing": {
"offer": {
"offer_id": null,
"price_raw": 12,
"price": null,
"valid_until": "2020-01-01T00:00:00+00:00",
"price_with_vat": null
},
"currency": "RUB",
"currency_rules": {
"code": null,
"text": "rub.",
"template": "$VALUE$ $SIGN$$CURRENCY$",
"sign": "₽"
},
"final_pricing_calc_id": "example",
"final_price": null
},
"available_cancel_state": "free",
"client_requirements": {
"taxi_class": "express",
"taxi_classes": [
"express"
],
"cargo_type": "lcv_m",
"cargo_loaders": 0,
"cargo_options": [
"thermobag"
],
"pro_courier": false,
"assign_robot": true
},
"matched_cars": [
{
"taxi_class": "express",
"client_taxi_class": "cargo",
"cargo_type": "lcv_m",
"cargo_type_int": "2 is equal to \"lcv_m\"",
"cargo_loaders": 0,
"door_to_door": false,
"pro_courier": false
}
],
"warnings": [
{
"source": "client_requirements",
"code": "not_fit_in_car",
"message": "warning"
}
],
"performer_info": {
"courier_name": "Person",
"legal_name": "Sole Trader Birdperson",
"car_model": "Hyundai Solaris",
"car_number": "Y100BJF",
"car_color": "red",
"car_color_hex": "FF00000",
"transport_type": "car"
},
"callback_properties": {
"callback_url": "https://www.example.com/"
},
"due": "2020-01-01T00:00:00+00:00",
"shipping_document": "example",
"comment": "Restaurant",
"revision": 1,
"route_id": "example",
"same_day_data": {
"delivery_interval": {
"from": "2020-01-01T07:00:00+00:00",
"to": "2020-01-01T07:00:00+00:00"
}
}
}
400 Bad Request
Validation error
Body
application/json
{
"code": "validation_error",
"message": "Validation error"
}
|
Name |
Description |
|
code |
Type: string Error code Const: Example: |
|
message |
Type: string The person understood the error message Example: |
429 Too Many Requests
Too many requests
Body
application/json
{
"code": "too_many_requests",
"message": "Too many requests"
}
|
Name |
Description |
|
code |
Type: string Error code Const: Example: |
|
message |
Type: string Error description Example: |
No longer supported, please use an alternative and newer version.