agisboye / app-store-server-api

A Node.js client for the App Store Server API
MIT License
210 stars 32 forks source link

Filter Transactions in "DESCENDING" order #18

Closed pnostudiodeveloper closed 2 years ago

pnostudiodeveloper commented 2 years ago

By default, it appears that Apple provides the Transaction history with the oldest transactions first.

They provide a way to filter transactions using the DESCENDING value in the 'sort' parameter that returns the newest transactions first. https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history

Is there a way to pass this filter value in the api.getTransactionHistory(orderId) call?

Thank you!

agisboye commented 2 years ago

The sort and filter options were announced during WWDC 2022. I'm working on adding them as we speak. 😊

agisboye commented 2 years ago

This is now supported in v0.5.0.