API оценки международного фрахта
POST /v1/fulfillment/shipping/quotes — легкий калькулятор; суммы ориентировочные.
Compatibility alias:
POST /v1/fulfillment/shipments/freight/estimate(same behavior; prefer this path for new integrations).
Quotes are indicative. Exact freight is returned when you create a shipment after parcels are inbound.
Estimate vs preview
| shipping/quotes | preview | |
|---|---|---|
| Когда | До / без inbound parcels | После parcels на складе |
| Input | Country/postal + weight/size | parcel_nos[] + полный receiver + channel |
| Output | quotes[] reference prices | Один freight / services / total |
Request body
{
"destination": {
"country_code": "US",
"region": "California",
"postal_code": "90001"
},
"weight_kg": 2.05,
"length_cm": 30,
"width_cm": 20,
"height_cm": 10,
"attributes": [
"general"
]
}weight_kgи/илиlength_cm+width_cm+height_cm(минимум одно)- Опционально
attributes[](например,general,battery) - Без
parcel_nos, без полного street address
Ответ
quotes[] с shipping_channel_code, shipping_channel_name, freight, total (fen). Справочник полей: модели ответов.
Атрибуты товара {#item-attributes}
GET /v1/fulfillment/shipments/item-attributes — допустимые коды attributes[] для estimate (например, general, battery).
Get Support
Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days