Created
August 1, 2017 07:28
-
-
Save iKrevedko/2248442232ff14f97e37990b0d256964 to your computer and use it in GitHub Desktop.
Пример запроса к внешнему сервису доставкт
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"order": { | |
"order_lines": [ | |
{ | |
"quantity":1, | |
"weight":100, // Вес в кг | |
"dimensions":"100х10х3" //Габариты в формате ШхГхВ | |
} | |
], | |
"shipping_address": { | |
"full_locality_name":"д Андреевка, Горшеченский район, Курская обл.", // Полное название населенного пункта | |
"location": { | |
"kladr_code":"4600500005300", // Код населенного пункта по КЛАДР | |
"zip":null, | |
"country":"RU", | |
"state":"Курская", | |
"state_type":"обл", | |
"area":"Горшеченский", | |
"area_type":"р-н", | |
"city":null, | |
"city_type":null, | |
"settlement":"Андреевка", | |
"settlement_type":"д", | |
"address":"", | |
"street":null, | |
"street_type":null, | |
"house":null, | |
"flat":null, | |
"is_kladr":true // Флаг обозначающий, что адрес определен по КЛАДР | |
} | |
}, | |
"items_price":321, | |
"total_weight":"0.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment