# ProductMedia

> The pictures of a product's description page.

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

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. |
| `images` | string[] | The description images, top to bottom. |
| `ext` | object | Platform-specific extras. Only returned with view=full. |

## Endpoints that return a ProductMedia

- [Taobao product detail images](https://okdata.online/apis/taobao/products/detail_images/get/) (`taobao.products.detail_images.get`): $0.022 per call
- [1688 product detail images](https://okdata.online/apis/alibaba_1688/products/detail_images/get/) (`alibaba_1688.products.detail_images.get`): $0.022 per call
- [JD.com product description](https://okdata.online/apis/jd/products/description/get/) (`jd.products.description.get`): $0.033 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`, `images`
- standard: —
- full: `ext`
