Skip to main content
Solved

The response from the "Get Purchases" endpoint in REST API v2 isn't ordered by time.


Forum|alt.badge.img

The response from the "Get Purchases" endpoint (https://api.revenuecat.com/v2/projects/{project_id}/customers/{customer_id}/purchases) isn’t ordered by the customer's purchase time. Is this expected?

 

It’s weird that the Customer History is ordered by time in the dashboard, but it’s not in the REST API.

Best answer by kaitlin

Hey ​@YU Chen,

I understand that’s a bit confusing, but it is expected that the Get Purchases response isn’t ordered by purchase date at this time!

View original
Did this post help you find an answer to your question?

2 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 372 replies
  • Answer
  • March 19, 2025

Hey ​@YU Chen,

I understand that’s a bit confusing, but it is expected that the Get Purchases response isn’t ordered by purchase date at this time!


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • March 19, 2025

Hi ​@kaitlin 

Got it. Thanks for your answer.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings