# Product detail get

Fetch a Morrisons product detail page: current, original and unit price, availability, rating, images, promotions, and the product information sections.

- Platform: [Morrisons](https://docs.upscrape.com/docs/platforms/morrisons)
- Capability ID: `morrisons.product.detail.get`
- Cost: 1 credit 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": {
    "product_id": "107573440",
    "url": "https://groceries.morrisons.com/products/107573440"
  },
  "capability": "morrisons.product.detail.get"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `product_id` | `string` | No | Morrisons retailerProductId (e.g. "107573440"). |
| `url` | `string` | No | Official Morrisons /products/ URL. If product_id is also given, its final path ID must match or the request is invalid. |

### Example input

```json
{
  "product_id": "107573440",
  "url": "https://groceries.morrisons.com/products/107573440"
}
```

## 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 example shows one response. Values and optional fields vary with the data available.

```json
{
  "product": {
    "available": true,
    "brand": "Allinson",
    "description": "",
    "details": [
      {
        "content": "Allinson's for bread makers & hand baking makes up to 14 loaves\nThe magic combination\nAllinson's trusted bread flour blended with the magic of Allinson's yeast is the winning combination, for a perfectly risen dough.",
        "title": "Brand Marketing"
      },
      {
        "content": "Allinson",
        "title": "Brand"
      },
      {
        "content": "Customer Service:\nAllinson's Flour,\nLondon Rd,\nPeterborough,\nPE7 8QJ.\nwww.allinsonflour.co.uk",
        "title": "Return To Address"
      }
    ],
    "images": [
      "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/6985488d-240d-4403-8d33-8dc39a8fcccc/500x500.jpg"
    ],
    "media": [
      "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/6985488d-240d-4403-8d33-8dc39a8fcccc/500x500.jpg"
    ],
    "name": "Allinson's Easy Bake Yeast Tin",
    "price": {
      "current": {
        "amount": "1.79",
        "amount_numeric": 1.79,
        "currency": "GBP"
      },
      "unit": {
        "current": {
          "amount": "17.90",
          "amount_numeric": 17.9,
          "currency": "GBP"
        },
        "label": "fop.price.per.kg"
      }
    },
    "rating": {
      "count": 5,
      "overall": 5.0
    },
    "retailer_product_id": "107573440",
    "size": "100g",
    "url": "https://groceries.morrisons.com/products/allinson-s-easy-bake-yeast-tin/107573440"
  },
  "raw": {
    "structured_data": {
      "@context": "https://schema.org",
      "@type": "Product",
      "aggregateRating": {
        "@type": "AggregateRating",
        "ratingCount": 5,
        "ratingValue": "5.0"
      },
      "brand": "Allinson",
      "description": "",
      "image": [
        "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/6985488d-240d-4403-8d33-8dc39a8fcccc/500x500.jpg"
      ],
      "name": "Allinson's Easy Bake Yeast Tin",
      "offers": {
        "@type": "Offer",
        "availability": "https://schema.org/InStock",
        "itemCondition": "https://schema.org/NewCondition",
        "price": "1.79",
        "priceCurrency": "GBP"
      },
      "review": [],
      "size": "100g",
      "sku": "107573440"
    }
  }
}
```
### 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` | 12 fields |
| `product.available` | `boolean` | true |
| `product.brand` | `string` | Allinson |
| `product.description` | `string` |  |
| `product.details` | `array` | 3 items |
| `product.images` | `array` | 1 items |
| `product.media` | `array` | 1 items |
| `product.name` | `string` | Allinson's Easy Bake Yeast Tin |
| `product.price` | `object` | 2 fields |
| `product.rating` | `object` | 2 fields |
| `product.retailer_product_id` | `string` | 107573440 |
| `product.size` | `string` | 100g |
| `product.url` | `string` | https://groceries.morrisons.com/products/allinson-s-easy-bake-yeast-tin… |
| `raw` | `object` | 1 fields |
| `raw.structured_data` | `object` | 11 fields |

## 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)
