# 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 | The product. |
| `destination` | string | Where it ships to, as shown. |
| `unit` | string \| null | What the fee is counted by: kg or piece. |
| `first_units` | number \| null | How much the first fee covers, in unit. |
| `first_fee` | number \| null | The first fee, in the currency given. |
| `next_units` | number \| null | Each further step, in unit. |
| `next_fee` | number \| null | The fee for each further step. |
| `quantity` | integer \| null | Items the quote is for. |
| `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 currency code. |
| `ext` | object | Platform-specific extras. Only returned with view=full. |

## Endpoints that return a ShippingQuote

- [1688 shipping fee](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`
