
Hi,
I was looking thru the shopware 6.0 docs and found the action routes in order to update an order's state ( https://docs.shopware.com/en/shopware-platform-dev-en/admin-api-guide/action-routes ), but the routes are not available in our shopware 6.0 instance, yet the routes are available on our shopware 6.1 instance.
Any idea why, or how I can access or update order status in shopware 6.0?
Answers
Hello @raduiosif I am trying to edit the order status, too.
It was working, but now it doesn't. I used that route.
Patch:
Json:
But currently I am getting this error.
Does anyone have an idea?
Hi @CallMeAlex,
If you are using Shopware 6.1 or above, use the action routes to update the order status (you can find the link above) and not by patching the order's state. The error that you're getting might be related to the fact that you can't change the order state from 'cancel' for example to 'done', first you need to 'reopen' the order in order to mark it as 'done'. Try using another state.