A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Can anyone help me - has something changed in the GraphQL Admin API ?
When I view an order in the Shopify ui - it appears as "Unfulfilled"
When I query the order per myshopify.com/admin/api/2024-01/graphql.json - it returns that the Order has already been fulfilled.
This error only started this week and it does not affect every order.
(ids annonymised in example below)
Here is the query:
query { orders(first: 1, query:"Order-1977" ) { edges{ node { id, displayFulfillmentStatus, fulfillmentOrders(first:10) { edges { node { id, status } } }, fulfillments { id } } } } }
And here is the response:
{
"data" :
{
"orders" :
{
"edges" :
[
{
"node" :
{
"displayFulfillmentStatus" : "FULFILLED",
"fulfillmentOrders" :
{
"edges" :
[
{
"node" :
{
"id" : "gid://shopify/FulfillmentOrder/11129565911186",
"status" : "CLOSED"
}
}
]
},
"fulfillments" :
[
{
"id" : "gid://shopify/Fulfillment/1112696111154"
}
],
"id" : "gid://shopify/Order/1119310911134"
}
}
]
}
},
"extensions" :
{
"cost" :
{
"actualQueryCost" : 7,
"requestedQueryCost" : 10,
"throttleStatus" :
{
"currentlyAvailable" : 1993,
"maximumAvailable" : 2000.0,
"restoreRate" : 100.0
}
}
}
}
Any idea what has changed ? (this has been running correctly for almost a year now)
I also tried different versions of the Graph API ...