FulfillmentOrders bulk API

Hi there. Have you considered using Bulk Operations to run a query in GraphQL. https://shopify.dev/docs/api/usage/bulk-operations/queries

eg


mutation {
bulkOperationRunQuery(
query: """
{
fulfillmentOrders(first: 100) {
edges {
node {
id
status
lineItems(first: 5) {
edges {
node {
id
sku

}
}
}
}
}
}
}
"""
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}

Hope this helps