Customer API last_order_date

Highlighted
Shopify Expert
1 0 0

I was looking at the documentation for the Customer resource, specifically the Search endpoint:

GET /admin/api/2019-07/customers/search.json?query=Bob country:United States

 

In the example, it says the default ordering of the response is by last_order_date DESC, but when I look at the example response there is no such field (all I see is last_order_id and last_order_name). I'd really appreciate being able to access last_order_date for customers as it is needed for my application, am I missing something or is the documentation out of date?

0 Likes