> For the complete documentation index, see [llms.txt](https://v2-docs.parcelroblox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v2-docs.parcelroblox.com/product-endpoints/fetch-product-information.md).

# Fetch Product Information

Retrieve detailed information of a specific product within your Hub. This endpoint provides a comprehensive view of a product's attributes, aiding in accurate data representation and management.

## Retrieve information from a Product (or list all products)

<mark style="color:blue;">`GET`</mark> `https://v2.parcelroblox.com/products/:product_id`

#### Path Parameters

| Name                                          | Type   | Description                                                     |
| --------------------------------------------- | ------ | --------------------------------------------------------------- |
| product\_id<mark style="color:red;">\*</mark> | string | Product ID or put "all"  to return all products within your Hub |

#### Headers

<table><thead><tr><th width="256">Name</th><th width="170">Type</th><th>Description</th></tr></thead><tbody><tr><td>Authorization<mark style="color:red;">*</mark></td><td>string</td><td>prod_DGzVhVsrqNJi4b0Chd9mMPUI9</td></tr><tr><td>Content-Type</td><td>string</td><td>application/json</td></tr></tbody></table>

{% tabs %}
{% tab title="200: OK " %}
If everything was able to process properly (specific product):

```javascript
{ "status": "200", "message": "OK", "data": object }
```

If everything was able to process properly (all products):

```javascript
{ "status": "200", "message": "OK", "data": { "amount": number, "products": array } }
```

{% endtab %}

{% tab title="500: Internal Server Error " %}
If something was wrong on our end:

```javascript
{ "status": "500", "message": "Internal Server Error" }
```

{% endtab %}

{% tab title="401: Unauthorized " %}
If you provided an invalid authorization key:

```javascript
{ "status": "401", "message": "Invalid authorization key." }
```

If you did not provide an authorization key:

```javascript
{ "status": "401", "message": "No authorization key was provided." }
```

{% endtab %}
{% endtabs %}
