When requesting orders using the GraphQL API we are getting duplicated FulfillmentOrder objects when the order has been fulfilled and unfulfilled in the admin interface. The FulfillmentOrders are identical other than the unique “id”.
Is this intended behaviour, or is it the same fault as is described in this thread? https://community.shopify.com/c/Shopify-APIs-SDKs/Duplicate-Fulfillment-Bug-shopify-com-issue/td-p/643110
To duplicate the fault run the query
query {
orders(first: 3, reverse: true) {
edges {
node {
id
fulfillmentOrders(first: 3) {
edges {
node {
id
lineItems(first: 3) {
edges {
node {
lineItem {
name
}
id
}
}
}
}
}
}
}
}
}
}
then unfulfill and re-fulfill one of the orders, and re-run the query. You will see that there is a new fulfullmentorder.
Any help resolving this is appreciated ![]()