# Product\_number instead of Product ID API Stock Update HELP :(

**URL:** <https://forum.shopware.com/t/product-number-instead-of-product-id-api-stock-update-help/96194>\
**Category:** Programming (EN)\
**Created:** [12. September 2022 um 16:28 UTC](https://forum.shopware.com/t/product-number-instead-of-product-id-api-stock-update-help/96194 "2022-09-12T16:28:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bettenundwohnen](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bettenundwohnen](https://forum.shopware.com/u/bettenundwohnen)\
**Post date:** [12. September 2022 um 16:28 UTC](https://forum.shopware.com/t/product-number-instead-of-product-id-api-stock-update-help/96194/1 "2022-09-12T16:28:29Z")

</div>

Hi dear community, since I’ve burned the second day searching, trying and failing… ☹  
Maybe someone can help me.

I understand the API to some extent. I have the following data from a daily generated feed:

product\_number & stock

I would like to feed these daily via the API. I don’t have the ID’s in the feed, but I think I read (please don’t ask me where) that it would also be possible to update the products with the product\_number as an identifier.

It’s all about inventory. Does anyone know how I should set up the request?

I owe you a massive thank you and am willing to honor it in the form of a digital coffee 😁

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [14. September 2022 um 08:26 UTC](https://forum.shopware.com/t/product-number-instead-of-product-id-api-stock-update-help/96194/2 "2022-09-14T08:26:51Z")

</div>

For updating any entity via the API you need the UUID.

---

<div class="post-metadata">

**Author:** ![bettenundwohnen](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bettenundwohnen](https://forum.shopware.com/u/bettenundwohnen)\
**Post date:** [14. September 2022 um 10:02 UTC](https://forum.shopware.com/t/product-number-instead-of-product-id-api-stock-update-help/96194/3 "2022-09-14T10:02:14Z")

</div>

I found a solution. Who is interested may consider writing a PN - it is too complicated to point it out here!

---

<div class="post-metadata">

**Author:** ![patrick.yd](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@patrick.yd](https://forum.shopware.com/u/patrick.yd)\
**Post date:** [9. Februar 2023 um 16:45 UTC](https://forum.shopware.com/t/product-number-instead-of-product-id-api-stock-update-help/96194/4 "2023-02-09T16:45:31Z")

</div>

Hey there, I am looking for a solution to this problem aswell.

Somehow I am not able to send private messages (yet). Probably because I am a new member? Could you still provide your solution or get in touch with me, so that we could talk about it?

Anyway, greetings from germany!

---

<div class="post-metadata">

**Author:** ![joost.miltenburg](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@joost.miltenburg](https://forum.shopware.com/u/joost.miltenburg)\
**Post date:** [20. Februar 2023 um 19:54 UTC](https://forum.shopware.com/t/product-number-instead-of-product-id-api-stock-update-help/96194/5 "2023-02-20T19:54:02Z")

</div>

> [@bettenundwohnen](#):
>
> Who is interested may consider writing a P

What is a PN?

Anyway, I am in the process of writing, actually almost finished, in writing something that creates and updates products from our system in shop ware.

best regards,
