# ShippingQuote

> What shipping a product to a place costs, by the supplier's freight template.

Canonical page: https://okdata.online/docs/objects/shipping_quote/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `product_id` | string | 商品。 |
| `destination` | string | 配送先（表示どおり）。 |
| `unit` | string \| null | What the fee is counted by: kg or piece. |
| `first_units` | number \| null | 初回料金でカバーされる量（unit 単位）。 |
| `first_fee` | number \| null | 最初の料金（指定通貨）。 |
| `next_units` | number \| null | 追加ステップごとの量（unit 単位）。 |
| `next_fee` | number \| null | 追加ステップごとの料金。 |
| `quantity` | integer \| null | 見積もり対象の数量。 |
| `weight_kg` | number \| null | Weight the quote is for, in kg, where given. |
| `total_fee` | number \| null | The fee for that quantity or weight; null where the marketplace does not work it out (use the steps above). |
| `currency` | string | ISO 4217 通貨コード。 |
| `ext` | object | プラットフォーム固有の追加情報。view=full の場合のみ返されます。 |

## Endpoints that return a ShippingQuote

- [1688 送料](https://okdata.online/apis/alibaba_1688/products/shipping/get/) (`alibaba_1688.products.shipping.get`): $0.022 per call

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `product_id`, `destination`, `unit`, `first_units`, `first_fee`, `next_units`, `next_fee`, `quantity`, `weight_kg`, `total_fee`, `currency`
- standard: —
- full: `ext`
