# Product

Fetch a public Pepperfry product page and normalize its pricing, availability, images, and specifications.

- Platform: [Pepperfry](https://docs.upscrape.com/docs/platforms/pepperfry)
- Capability ID: `pepperfry.product.get`
- Cost: 1 credit per request
- Maximum runtime: 45 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 YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "pincode": "400001",
    "product_url": "https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-in-camel-brown-colour-2195300.html"
  },
  "capability": "pepperfry.product.get"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `pincode` | `string` | No |  |
| `product_url` | `string` | Yes |  |

### Example input

```json
{
  "pincode": "400001",
  "product_url": "https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-in-camel-brown-colour-2195300.html"
}
```

## 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
{
  "brand": "Interio By Godrej",
  "currency": "INR",
  "description": "Shop Cresco Fabric 3 Seater Sofa In Camel Brown Colour at 61% OFF by Interio By Godrej Online. Get great deals & offers on various Sofa Sets. ✔Free Shipping ✔Easy Returns ✔No Cost EMI",
  "image_urls": [
    "https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/[redacted:token].jpg",
    "https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/[redacted:token].jpg",
    "https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/[redacted:token].jpg"
  ],
  "mrp": 14990,
  "pincode": "400001",
  "price": 14990,
  "product_id": "FN2195300-S-PM5458",
  "title": "Cresco Fabric 3 Seater Sofa In Camel Brown Colour",
  "url": "https://www.pepperfry.com/product/[redacted:token].html?country=IN&requestPlatform=web"
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `brand` | `string` | Interio By Godrej |
| `currency` | `string` | INR |
| `description` | `string` | Shop Cresco Fabric 3 Seater Sofa In Camel Brown Colour at 61% OFF by In… |
| `image_urls` | `array` | 3 items |
| `image_urls` | `array` | 3 items |
| `mrp` | `integer` | 14990 |
| `pincode` | `string` | 400001 |
| `price` | `integer` | 14990 |
| `product_id` | `string` | FN2195300-S-PM5458 |
| `title` | `string` | Cresco Fabric 3 Seater Sofa In Camel Brown Colour |
| `url` | `string` | https://www.pepperfry.com/product/[redacted:token].html?country=IN&requ… |

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