# How to use a button block to edit multiple items quantity?

**URL:** <https://community.glideapps.com/t/how-to-use-a-button-block-to-edit-multiple-items-quantity/74727>\
**Category:** Ask for Help\
**Created:** [July 9, 2024, 12:46am UTC](https://community.glideapps.com/t/how-to-use-a-button-block-to-edit-multiple-items-quantity/74727 "2024-07-09T00:46:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SienaBV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sienabv/32/71614_2.png) [@SienaBV](https://community.glideapps.com/u/SienaBV)\
**Post date:** [July 9, 2024, 12:46am UTC](https://community.glideapps.com/t/how-to-use-a-button-block-to-edit-multiple-items-quantity/74727/1 "2024-07-09T00:46:42Z")

</div>

Hi, I am trying to use a button block to edit items quantity. For example, if items are in the purchased column I want to allow users to press the button and their inventory quantity is updated for all items. I have used the increment action, although it only works for one row. How can I get it to work for multiple rows/items?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 9, 2024, 4:31am UTC](https://community.glideapps.com/t/how-to-use-a-button-block-to-edit-multiple-items-quantity/74727/2 "2024-07-09T04:31:51Z")

</div>

You need to use the Glide API.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 9, 2024, 12:39pm UTC](https://community.glideapps.com/t/how-to-use-a-button-block-to-edit-multiple-items-quantity/74727/3 "2024-07-09T12:39:12Z")

</div>

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/a/daee86fcd0e13c4034c789717186e37ef6ec21aa.jpeg "🎓 Glide Tutorial - Add, Edit or Delete Multiple Rows (Glide API)") ](https://www.youtube.com/watch?v=b7_k3_brusQ)

Either use the Call API action if you’re on a plan that allows it, or use the Glide API.
