getting wrong last order of customer in API response

Highlighted
Tourist
7 0 1

I am getting the wrong last order of a customer in API response.
img_1.png

 

As this image, order number #1493 is the last order of customer Alex which is placed by May 22, 2020 at 3:26 pm.

Also, you can see in that order total order is only 1.

 

I found last order of this customer is #1491 which is placed by May 20, 2020 at 6:03 pm

img_2.png

 

So I am expecting, in customer order last order I get "#1491" but I am getting "#1430_#1431_OM".
In REST and GraphQL both API giving this same response.

img_3.png

 

My main two questions are:
Another order has by the same customer (same email address) so why I see order total 1?
Why I am getting the customer's last order #1430_#1431_OM instead of #1491?
Also, after place order #1493 last order of that customer is #1493 but still display #1430_#1431_OM
Is there any conditions base on that consider the last order of the customer?

 

0 Likes