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
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.
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.
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.
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.