# Shopware 6 Order line item update API

**URL:** https://forum.shopware.com/t/shopware-6-order-line-item-update-api/68348
**Category:** Shopware 6 (English)
**Created:** [14. Juli 2020 um 04:38 UTC](https://forum.shopware.com/t/shopware-6-order-line-item-update-api/68348 "2020-07-14T04:38:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vigneshk\_r](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@vigneshk\_r](https://forum.shopware.com/u/vigneshk_r)
#### Post date: [14. Juli 2020 um 04:38 UTC](https://forum.shopware.com/t/shopware-6-order-line-item-update-api/68348/1 "2020-07-14T04:38:01Z")

</div>

Hello Everybody,

Can anybody help me on **Update existing order’s Product quantity** through shopware 6 API.  
I tried with end point&nbsp; **/api/v{version}/\_action/order/{orderId}/lineItem.&nbsp;** It’s returning the 204 status. But once save the order its returning following error  
&nbsp;

**{  
&nbsp; „errors“: [  
&nbsp; &nbsp; {  
&nbsp; &nbsp; &nbsp; „status“: „400“,  
&nbsp; &nbsp; &nbsp; „code“: „CHECKOUT\_\_CART\_EMPTY“,  
&nbsp; &nbsp; &nbsp; „title“: „Bad Request“,  
&nbsp; &nbsp; &nbsp; „detail“: „Cart is empty“,  
&nbsp; &nbsp; &nbsp; „meta“: {  
&nbsp; &nbsp; &nbsp; &nbsp; „parameters“: [  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; ]  
&nbsp; &nbsp; &nbsp; }  
&nbsp; &nbsp; }  
&nbsp; ]  
}**

---

<div class="post-metadata">

### Author: ![Gunnarius](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnarius](https://forum.shopware.com/u/Gunnarius)
#### Post date: [1. Juli 2021 um 07:39 UTC](https://forum.shopware.com/t/shopware-6-order-line-item-update-api/68348/2 "2021-07-01T07:39:47Z")

</div>

Hi, have you found a solution?  
I am having a similiar problem.

---

<div class="post-metadata">

### Author: ![kemal.21184](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@kemal.21184](https://forum.shopware.com/u/kemal.21184)
#### Post date: [19. Mai 2022 um 10:57 UTC](https://forum.shopware.com/t/shopware-6-order-line-item-update-api/68348/3 "2022-05-19T10:57:06Z")

</div>

I have the same problem. How did you solved?
