Development discussions around Shopify APIs
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 |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023