API оценки международного фрахта

POST /v1/fulfillment/shipments/freight/estimate — легкий калькулятор; суммы ориентировочные.

Сравните с shipment preview (точная цена после inbound).

Estimate vs preview

freight/estimatepreview
КогдаДо / без inbound parcelsПосле parcels на складе
InputCountry/postal + weight/sizeparcel_nos[] + полный receiver + channel
Outputquotes[] 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).