Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
We try to call this api
myshopify.com//admin/api/2019-04/orders.json?page=1&status=any&financial_status=authorized,paid,partially_refunded,refunded,voided&limit=50&updated_at_min=2019-06-11T08:26:55-05:00
from my app, if i call in a shop this works and returns order json, but in some stores i receive this response:
{"error":false,"msg":"Richiesta eseguita con successo","data":null,"api_version":"","deprecated_reason":""}
If i do the same call whit same data from postman i receive all, before this call in this app i do also
orders/count.json?&status=any&financial_status=authorized,paid,partially_refunded,refunded,voided
and it returns
{"error":false,"msg":"Richiesta eseguita con successo","data":{"count":11},"api_version":"2019-04","deprecated_reason":""}
I tried also in a shop without orders, to check if when i do it in a shop with no order the response is with data: null but i received
{"error":false,"msg":"Richiesta eseguita con successo","data":{"orders":[]},"api_version":"2019-04","deprecated_reason":""}
So why have i "data":null in my response?
Solved! Go to the solution
This is an accepted solution.
If i remove "&updated_at_min=2019-06-11T08:26:55-05:00" from query params, the call worked.
This is an accepted solution.
If i remove "&updated_at_min=2019-06-11T08:26:55-05:00" from query params, the call worked.
User | RANK |
---|---|
5 | |
5 | |
4 | |
4 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022