displayFullfillmentStatus in API doesn't match actual status of the order

We found a strange bug with displayFulfillmentStatus.

There is an order in our staging store. If we go to the store’s admin panel, all physical products in this order are in the process of being delivered:

There is also a record in the timeline indicating that fulfillment has been initiated.

According to the documentation, when we query the orders object via the GraphQL API, we expect the displayFulfillmentStatus value to be IN_PROGRESS, but this does not happen.

Instead, we see the status UNFULFILLED.
Also, the fulfillments object is empty.

Does anyone know why the status in the admin panel does not match the status in GraphQL?

Thank you!

We experimented further. It turns out that the IN PROGRESS status at the order level is set when all line items have the IN PROGRESS status.

To find out the status of a specific line item, you need to look into the fulfillment group.
So it is not a bug and works as it should.

Hi @Philip_Zhavrid

Great to hear you figured this out, and thanks for updating this post for other devs who encounter the same scenario.