updating the quantity of an Item

in Development
Hello,
I was looking through the API and I feel like I'm quite close to finding the right endpoint but it doesn't seem to be on the documentation.
I understand that every item has an related ItemShop(s) which has a "qoh" column which I could use to update the quantity of an item.
Can I write to the ItemShops relation if so how?
All the best.
Tags:
2 comments
Hey @meatcomputer , you basically need to make a request to the item endpoint, specify in the path the itemID and then write to the shop of the quantity you're updating. Remember itemShop 0 is the aggregated information from all the shops and so is therefore not writeable.
A typical request would look like this:
Adrian Samuel
Software Developer
Lightspeed HQ
Thanks that really cleared that up for me