Order.XML API returns 404 found

Topic summary

The orders.xml API endpoint is returning 404 errors because Shopify deprecated XML-format responses from the Admin REST API in June 2022, with support fully removed in a recent version update.

Resolution:

  • Switch from XML to JSON format for API requests
  • Update endpoint from orders.xml to orders.json
  • Most programming languages include standard JSON parsers or have readily available third-party libraries

Alternative endpoints suggested:

  • https://admin.shopify.com/store/your-storeName/orders.json
  • https://your-storeName.myshopify.com/admin/api/2023-04/orders.json

Multiple users confirmed encountering this issue and successfully migrating their integrations to the JSON endpoint. The change affects transport businesses and other third-party systems that integrate with Shopify stores.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

Hello,

We are in to transport business and our customers integrate their shopify to our systems. Noticed that now order.xml api return 404 not found. could you please help on this very urgently.

eg: https://xxxxxx.myshopify.com/admin/orders.xml?.

Now we have created the new app & given permission…

but the https://xxxxx.myshopify.com/admin/orders.json working.

Is there any change/issue in orders.xml API?

1 Like

Hi Spidertest123,

You’re likely seeing this error as the Admin API no longer supports XML-format responses and payloads - we deprecated this last year (see this changelog post). If you’re using XML for REST Admin API requests and payloads, then you’ll need to switch to using JSON format.

Your client application will need to parse JSON instead of XML. For most programming languages, this should be fairly straightforward as JSON parsers are usually included in their standard libraries or are easily available as third-party libraries.

Hope this helps Spidertest123 - let me know if you have any other questions on this.

Hi @spidertest123 ,

Please try with this url, as I am getting the result.

https://admin.shopify.com/store/your-storeName/orders.xml?

And if you want you can try this API for orders.json

https://access-keys@your-storeName.myshopify.com/admin/api/2023-04/orders.json

Refer screenshot

Thanks…

1 Like

Yep just ran into the same thing. Pretty annoying but I had to migrate our project over to order.json endpoint.

Correct - the recent version change last week removed access for XML which was planned for deprecation since June 2022, so the way to fix this is to migrate to using the order.json endpoint.