物件
ShippingQuote 物件
按供應商的運費模板,把商品寄到某地的運費。 所有平台欄位一致。平台不展示的欄位為 null,meta.unavailable 會列出它和原因。
| 欄位 | 型別 | 起始 view | 說明 |
|---|---|---|---|
product_id | string | compact | 商品 ID。 |
destination | string | compact | 寄往的地區,以顯示為準。 |
unit | string | null | compact | 運費按什麼計:kg 或件。 |
first_units | number | null | compact | 首重(首件)有多少,單位見 unit。 |
first_fee | number | null | compact | 首重(首件)運費,單位見 currency。 |
next_units | number | null | compact | 續重(續件)每檔多少,單位見 unit。 |
next_fee | number | null | compact | 每檔續重(續件)的運費。 |
quantity | integer | null | compact | 按多少件算的。 |
weight_kg | number | null | compact | 按多重算的(kg),給了的話。 |
total_fee | number | null | compact | 這個件數或重量的總運費;商城不算時為 null(按上面的首續重自己算)。 |
currency | string | compact | ISO 4217 貨幣程式碼。 |
ext | object | full | 平台特有欄位,只在 view=full 時返回。 · 僅 view=full |