# Product detail

GET `/product-detail`

This endpoint lets you to retreive detailed information about a specific product using it's slug. Note that some products have variants and others do not have variants. An example of a variant is 'Color' or 'Size'. Variants are clearly marked in the response with their Variant Id.

**Headers**

| Header          | Type   | Description   |
| --------------- | ------ | ------------- |
| `Authorization` | string | Bearer token. |

**Query parameters**

| Parameter | Type   | Description                                                |
| --------- | ------ | ---------------------------------------------------------- |
| `slug`    | string | The unique identifier of the product you want to retrieve. |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "status": "success",
    "product": {
        "name": "New Balance Men's Fresh Foam 3000 v7 Turf Baseball Shoes - Red - T3000TR7",
        "price": "94.99",
        "brand": "New Balance",
        "description": "Baseball-specific performance features and precision cushioning deliver comfort and confidence.",
        "images": [
            "https://cdn.shopify.com/image1.jpg",
            "https://cdn.shopify.com/image2.jpg"
        ],
        "url": "https://example.com/product"
    }
}
```

{% endtab %}

{% tab title="400" %}

```json
{
 "status": "error",
 "message": "Missing product slug"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.searchagora.com/search/product-detail.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
