Hello,
I have a weird problem with API versions. According to the documentation, I should be able to use 2022-10 or 2022-07 (last 2 versions), but I get resource not found (404 error) with both. If I use “2022-01” instead of “2022-07”, it works fine. Is there some issue with the rest API? Or maybe with the documentation?
[wmsodbc]> curl -X GET 'https://tsmtestwholesale.myshopify.com/admin/api/2022-7/orders/count.xml' -H X-Shopify-Access-Token:TOKEN -H 'Cache-Control: no-cache' -o Version2022_7_count.xml -D Version2022_7_count_header
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 83 0 83 0 0 112 0 --:--:-- --:--:-- --:--:-- 434
[wmsodbc]> curl -X GET 'https://tsmtestwholesale.myshopify.com/admin/api/2022-07/orders/count.xml' -H X-Shopify-Access-Token:TOKEN -H 'Cache-Control: no-cache' -o Version2022_07_count.xml -D Version2022_07_count_header
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[wmsodbc]> curl -X GET 'https://tsmtestwholesale.myshopify.com/admin/api/2022-01/orders/count.xml' -H X-Shopify-Access-Token:TOKEN -H 'Cache-Control: no-cache' -o Version2022_01_count.xml -D Version2022_01_count_header
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 72 0 72 0 0 118 0 --:--:-- --:--:-- --:--:-- 327
[wmsodbc]> head -1 Version2022_*header
==> Version2022_01_count_header <==
HTTP/1.1 200 OK
==> Version2022_07_count_header <==
HTTP/1.1 404 Not Found
==> Version2022_7_count_header <==
HTTP/1.1 404 Not Found