# Get a product

Fetch the full detail for one product by `id` or `product_uid`.

```bash
curl "https://dev.ziffi.xyz/v1/products/sha:1cff37753e7ac53eb0b1ccbc4b7f02dc77acfa2e"
```

## Choose what to include

Use `include` to control the payload. Default includes variants, media, offers, attributes, and reviews.

```bash
curl "https://dev.ziffi.xyz/v1/products/sha:…?include=variants,media,reviews"
```

| Include | Adds |
|---|---|
| `variants` | Buyable variants (size, options, sku). |
| `media` | Images and videos in order. |
| `offers` | Per-variant price and availability snapshot. |
| `attributes` | Structured attributes and description. |
| `reviews` | Recent reviews. |

## The response

```json
{
  "data": {
    "id": "…", "product_uid": "sha:…", "title": "…", "brand": "…",
    "currency": "INR", "price_min_minor": 39900, "compare_at_minor": 59900,
    "discount_pct": 33, "in_stock": true, "rating": 4.6, "rating_count": 210,
    "media": [ { "url": "https://…", "kind": "image" } ],
    "variants": [ { "id": "…", "sku": "…", "options": { "Size": "100ml" } } ],
    "reviews": [ { "rating": 5, "author": "…", "body": "…" } ]
  },
  "tier": "graph"
}
```

Price here is the stored snapshot. For the exact number right now, see [Get live price](#/price).

## Reviews

Page reviews separately when there are many:

```bash
curl "https://dev.ziffi.xyz/v1/products/sha:…/reviews?limit=20"
```

## Next steps

- [Get live price](#/price): the exact, verified price.
- [Recommend and similar](#/recommend): related products.
