A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
My request:
Response:
{
"orders": [
{
"id": X,
"financial_status": "refunded",
"updated_at": "2021-10-26T16:52:45-04:00"
},
{
"id": Y,
"financial_status": "refunded",
"updated_at": "2021-10-26T16:52:22-04:00"
}
]
}
However, I know Order Z was refunded today, and I can confirm that the financial status is "refunded" for it.
Call:
Response:
{
"order": {
"id": Z,
"financial_status": "refunded",
"updated_at": "2022-02-25T12:46:14-05:00"
}
}
Any ideas why Order Z wouldn't be showing in the first query?
Solved! Go to the solution
This is an accepted solution.
Hi @wthomas999
Can you try adding status=any as a parameter on the query. By default, the orders.json endpoint returns only open orders.
Regards,
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi @wthomas999
Can you try adding status=any as a parameter on the query. By default, the orders.json endpoint returns only open orders.
Regards,
To learn more visit the Shopify Help Center or the Community Blog.
That was it! Thank you!