# ProductMedia

> Ảnh trên trang mô tả sản phẩm.

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 | Sản phẩm. |
| `images` | string[] | Ảnh mô tả, từ trên xuống dưới. |
| `ext` | object | Dữ liệu bổ sung riêng của nền tảng. Chỉ trả về khi view=full. |

## Endpoints that return a ProductMedia

- [Ảnh mô tả sản phẩm Taobao](https://okdata.online/apis/taobao/products/detail_images/get/) (`taobao.products.detail_images.get`): $0.022 per call
- [Ảnh chi tiết sản phẩm 1688](https://okdata.online/apis/alibaba_1688/products/detail_images/get/) (`alibaba_1688.products.detail_images.get`): $0.022 per call
- [Mô tả sản phẩm JD.com](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`
