Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

GraphQL fulfilment stopped working this week

GraphQL fulfilment stopped working this week

bill_the_badger
Shopify Partner
6 1 0

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 ...

Replies 0 (0)