A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I created some draft order on Shopify portal.
Then when I use Admin REST API call to complete the draft order
curl --location --request PUT 'https://xxx.myshopify.com/admin/api/2023-01/draft_orders/{{draft order ID}}/complete.json'
, it throws the following error:
{"errors":"Some delivery details may have changed. Verify your shipping method and try again., Your cart has been updated and the items you added can’t be shipped to your address. Remove the items to complete your order., and Your payment couldn’t be processed because your order total has changed. Check your order total and try again."}
But if I open the draft order in Shopify and click "Collect payment" and then Mark as paid, and click "Create order", the order can be created successfully.
I could complete the draft order in the past but don't know why I cannot now.