С вопросом
Неверный тип tariffication в /v3/posting/fbs/get
18 февраля 2025
798
0
0
Метод `/v3/posting/fbs/get` возвращает ответ, в котором поле `tariffication` имеет тип `object`, а не `array`, как указано в документации.
Например, такой запрос
{
"posting_number": "42239113-0281-1",
"with": {
"analytics_data": false,
"barcodes": false,
"financial_data": false,
"product_exemplars": false,
"translit": false
}
}возвращает такой ответ
{
"result": {
"posting_number": "42239113-0281-1",
...
"tariffication": {
"current_tariff_rate": 0,
"current_tariff_type": "",
"current_tariff_charge": "",
"current_tariff_charge_currency_code": "",
"next_tariff_rate": 0,
"next_tariff_type": "",
"next_tariff_charge": "",
"next_tariff_starts_at": null,
"next_tariff_charge_currency_code": ""
},
...
}
}Мне кажется, это ошибка в документации?
Начните обсуждение
Чтобы оставить комментарий, нужно или
