# Sku

> A variant of a product (size, colour, bundle) with its own price.

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

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 |
|---|---|---|
| `id` | string | Variant (SKU) ID. |
| `product_id` | string | The product. |
| `name` | string | The options that make the variant. |
| `price` | number \| null | Price of the variant, in the currency given. |
| `original_price` | number \| null | Price before discount, where it differs. |
| `currency` | string | ISO 4217 currency code. |
| `image_url` | string \| null | Picture of the option. |
| `stock` | integer \| null | Units in stock, where shown. |
| `ext` | object | Platform-specific extras. Only returned with view=full. |

## Endpoints that return a Sku

- [Douyin Shop product variants](https://okdata.online/apis/douyin_shop/products/skus/list/) (`douyin_shop.products.skus.list`): $0.054 per call · about 8 results per page

## 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: `id`, `product_id`, `name`, `price`, `original_price`, `currency`, `stock`
- standard: `image_url`
- full: `ext`
