Укрпочта разбирается там, после их настроек на своей стороне у нас стало отдать вот такой тип запроса
Запросы (http/https запрос)
URL: https://ukrposhta.ua/ecom/0.0.1/domestic/delivery-price?token=c89a5eb1-15fb-4451-9179-1cafa17dd2b3
Запрос: '{"addressFrom":{"postcode":"49061"},"addressTo":{"postcode":"09146"},"type":"EXPRESS","deliveryType":"W2W","declaredPrice":170,"parcels":[{"weight":100,"length":1}],"discounts":[{"rate":"5"}]}'
Ответ: {"deliveryPrice":38.00,"rawDeliveryPrice":40.00,"calculationDescription":"Price=38.00: Calculation contains 1 parcels, new measures are weight:100, length:1, height:0, width:0; price for the weight=0.00; tariff (EXPRESS, COUNTRY, 100 g, 1 cm)=40.00; countryside=0.00; declared price surcharge=0.00; discount 5.0%=2.00; return delivery price=15.00","parcels":[{"weight":100,"length":1}],"validate":true,"addressFrom":{"postcode":"49061","conglomerationPostcode":null},"addressTo":{"postcode":"09146","conglomerationPostcode":null},"type":"EXPRESS","deliveryType":"W2W","weight":100,"length":1,"width":0,"height":0,"documentBackDeliveryType":null,"returnDeliveryPrice":15,"declaredPrice":170,"declaredPriceSurcharge":0.00,"discounts":[{"description":null,"rate":5.0}],"tariffToken":null,"surchargeTariffToken":null,"lengthOverpayRatio":null,"returnDeliveryPriceRatio":null,"returnDeliveryPriceValue":null,"measurablesTotalWeight":100,"measurablesMaxLength":1,"measurablesMaxWidth":0,"measurablesMaxHeight":0,"specialTariff":false,"sms":false,"documentBack":false,"withDeliveryNotification":false,"listOfEnclosedItems":false}