# REST API Produkt ID einer Variante

**URL:** <https://forum.shopware.com/t/rest-api-produkt-id-einer-variante/103969>\
**Category:** Programmierung\
**Created:** [8. Mai 2024 um 09:17 UTC](https://forum.shopware.com/t/rest-api-produkt-id-einer-variante/103969 "2024-05-08T09:17:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwo](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@cwo](https://forum.shopware.com/u/cwo)\
**Post date:** [8. Mai 2024 um 09:17 UTC](https://forum.shopware.com/t/rest-api-produkt-id-einer-variante/103969/1 "2024-05-08T09:17:08Z")

</div>

Hi zusammen,  
ich versuche über die Shopware 6 REST API die Produkt-IDs der Varianten zu erhalten:

```auto
https://shopware.brand2app.de/store-api/product/018d69f4962c7a47917e83d433db4c7c

```

Nun sehe ich im „configurator“ Array die Varianten. Wenn ich aber die ID einer Variante wieder an den selben Endpunkt schicke…

```auto
https://shopware.brand2app.de/store-api/product/018d69d15cb1755cb01742495edd81f4

```

dann erhalte ich

```auto
{
    "errors": [
        {
            "status": "404",
            "code": "CONTENT__PRODUCT_NOT_FOUND",
            "title": "Not Found",
            "detail": "Product for id 018d69d15cb1755cb01742495edd81f4 not found.",
            "meta": {
                "parameters": {
                    "productId": "018d69d15cb1755cb01742495edd81f4"
                }
            }
        }
    ]
}

```

Was mache ich falsch? Danke für Eure Hilfe.

---

<div class="post-metadata">

**Author:** ![berndriemke](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@berndriemke](https://forum.shopware.com/u/berndriemke)\
**Post date:** [8. Mai 2024 um 16:14 UTC](https://forum.shopware.com/t/rest-api-produkt-id-einer-variante/103969/2 "2024-05-08T16:14:27Z")

</div>

Hi,  
hast Du schon mal hier geschaut?

> **[List with basic information of Product resources. | Admin API](https://shopware.stoplight.io/docs/admin-api/eecbb397dce52-list-with-basic-information-of-product-resources)**
>
> Available since: 6.0.0.0 Powered by Stoplight.
