国際送料見積もり API
POST /v1/fulfillment/shipments/freight/estimate — 軽量な計算機です。金額は 目安 です。
shipment preview (入庫後の正確な価格) と比較してください。
estimate と preview の違い
| freight/estimate | preview | |
|---|---|---|
| タイミング | 入庫荷物の前、または入庫荷物なし | 荷物が倉庫に入庫した後 |
| 入力 | 国/郵便番号 + 重量/サイズ | parcel_nos[] + 完全な受取人情報 + チャネル |
| 出力 | quotes[] の参考価格 | 単一の freight / services / total |
リクエスト本文
{
"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(少なくとも1つ)- 任意の
attributes[](例:general,battery) parcel_nosなし、完全な番地住所なし
レスポンス
quotes[] には shipping_channel_code, shipping_channel_name, freight, total (fen) が含まれます。フィールド一覧: response models。
商品属性 {#item-attributes}
GET /v1/fulfillment/shipments/item-attributes — 見積もりで使用できる有効な attributes[] コード (例: general, battery)。