对象
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 |