# Modify Order values

**URL:** <https://forum.shopware.com/t/modify-order-values/98158>\
**Category:** General Questions (EN)\
**Tags:** general, administration\
**Created:** [23. Januar 2023 um 16:01 UTC](https://forum.shopware.com/t/modify-order-values/98158 "2023-01-23T16:01:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuancho22](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chuancho22](https://forum.shopware.com/u/chuancho22)\
**Post date:** [23. Januar 2023 um 16:01 UTC](https://forum.shopware.com/t/modify-order-values/98158/1 "2023-01-23T16:01:10Z")

</div>

Hello,

I’m stumped in an error when I try to modify an existing order I get following error: ‚Value is not a valid UUID: undefined‘ or ‚Value is not a valid UUID: merge‘ when I try to save the modified order.

I looked in the files where the errors where thrown, but it didn’t help me at all.

Thanks in advance,  
Any tips will be welcome.

---

<div class="post-metadata">

**Author:** ![chamaw](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chamaw](https://forum.shopware.com/u/chamaw)\
**Post date:** [24. Januar 2023 um 07:30 UTC](https://forum.shopware.com/t/modify-order-values/98158/2 "2023-01-24T07:30:20Z")

</div>

To say it clearly, it can be done, but it is a hell of work. We started by tracing the change of an order in the backend.

The basic step are:

- create a new version for the order
- convert the order to a cart
- make changes in the cart
- recalc the cart
- convert the cart back an order
- merge the version back into the original version

good luck

---

<div class="post-metadata">

**Author:** ![chuancho22](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chuancho22](https://forum.shopware.com/u/chuancho22)\
**Post date:** [24. Januar 2023 um 10:10 UTC](https://forum.shopware.com/t/modify-order-values/98158/3 "2023-01-24T10:10:47Z")

</div>

So, these steps are the steps done by the Shopware framework on modifying an existing order?

Because about not being able to modify an existing order, it’s a general thing? Or do we have something wrong with our configuration?  
Because in Shopware 5 we didn’t have any issues in modifying an existing order, but since the migration, it has been impossible.

Thanks!

---

<div class="post-metadata">

**Author:** ![chamaw](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chamaw](https://forum.shopware.com/u/chamaw)\
**Post date:** [24. Januar 2023 um 10:27 UTC](https://forum.shopware.com/t/modify-order-values/98158/4 "2023-01-24T10:27:45Z")

</div>

right this is way how the API works. this changed from 5 to 6. The architeture is completly different.
