GraphQL: orders fullyPaid:true returns orders pending payment

Posting a graph order query with the fullyPaid:true filter that is returning orders in a payment pending status.

Also the “unpaid” return value is false, which I’d assume should be true, since it is pending.

Is this a bug or a misnomer on the terminology?

Ah, so my filter was incorrect. (The docs aren’t very clear on filter parameters)

The filter should be: query: “fulfillment_status:unfulfilled AND financial_status:paid”, then it correctly doesn’t return the unpaid orders.

However, there still is a bug based on my understanding of the “unpaid” property. It still has unpaid:false for orders that show unpaid in the UI and the transactions support that in that it’s status is “pending”.

The definition of unpaid per the docs is:

“Whether no payments have been made for the order. If no payments have been made for the order, then this returns true.”

This order has a pending sale transaction…does the existence of a pending mean that a payment has been made???

Hi there !

Do you have any updates on this ?

One year later the unpaid property seem to still return false even for orders with pending payment…