# Product Detail Get

Refresh a Iceland product by its ID or official URL with published shelf prices, unit prices and offers.

- Platform: [Iceland](https://docs.upscrape.com/docs/platforms/iceland)
- Capability ID: `iceland.product.detail.get`
- Cost: 2 credits per request
- Maximum runtime: 30 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "retailer_product_id": "19492"
  },
  "capability": "iceland.product.detail.get"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `retailer_product_id` | `string` | No | Retailer product identifier. |
| `url` | `string` | No | Public URL of the page to fetch. |

### Example input

```json
{
  "retailer_product_id": "19492"
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "product": {
    "available": true,
    "brand": "Iceland",
    "currency": "GBP",
    "gtin": null,
    "image": "https://assets.iceland.co.uk/i/iceland/[redacted:token].jpg",
    "member_prices": [],
    "name": "Iceland British Semi-Skimmed Milk 2 Litres",
    "pack_size": "2l",
    "price": 1.65,
    "promotions": [
      {
        "buy_quantity": 2,
        "description": "2 for £3.00",
        "end": null,
        "for_price": 3,
        "id": "12660",
        "start": null,
        "type": "multibuy"
      }
    ],
    "retailer_product_id": "19492",
    "unit_price": {
      "amount": 0.83,
      "unit": "per_litre"
    },
    "url": "https://www.iceland.co.uk/p/[redacted:token]/19492.html"
  }
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `product` | `object` | 13 fields |
| `product.available` | `boolean` | true |
| `product.brand` | `string` | Iceland |
| `product.currency` | `string` | GBP |
| `product.gtin` | `null` | null |
| `product.image` | `string` | https://assets.iceland.co.uk/i/iceland/[redacted:token].jpg |
| `product.member_prices` | `array` | 0 items |
| `product.name` | `string` | Iceland British Semi-Skimmed Milk 2 Litres |
| `product.pack_size` | `string` | 2l |
| `product.price` | `number` | 1.65 |
| `product.promotions` | `array` | 1 items |
| `product.retailer_product_id` | `string` | 19492 |
| `product.unit_price` | `object` | 2 fields |
| `product.url` | `string` | https://www.iceland.co.uk/p/[redacted:token]/19492.html |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
