Had to repost this in order for me to post it as a bug. This is 100% a bug.
When posting to /admin/api/2022-04/orders.json it creates a duplicate order every time.
I also built a quick development store to test the same code and the same thing happens, a duplicate order every time.
The code shows every time, it’s only making 1 request to shopify but it creates 2 orders.
Can this be resolved?
I can post a request ID.