Hi @Sp1ke ,
Thanks for your post. XML support was removed as of REST Admin API version 2022-07 so the 404 and 415 errors are expected, and in order to continue using the API the application will need to be able to work with JSON and use the JSON endpoints.
So for example it would be /admin/api/2023-04/orders.json instead of /admin/api/2023-04/orders.xml.
Here’s the changelog announcement about that with a date of June 1, 2022:
Support for the XML response format is deprecated from the Admin REST API> Starting in version 2022-07, support for the XML response format and XML payloads in the Admin REST API is removed. Requests expecting an XML response will result in a 404. Requests that send an XML payload will result in a 415.
It’s also mentioned in the 2022-07 release notes like this:
The REST Admin API no longer supports XML-format responses and payloads. If you’re using XML for REST Admin API requests and payloads, then you need to switch to using JSON format.
More info about Shopify API Versioning can be found here:
https://shopify.dev/docs/api/usage/versioning
The last version of the API with XML support was 2022-04 which is now expired and no longer being served.
Sincerely,
Jon551