E
E
EVOSandru62021-03-12 16:56:19
Apple App Store
EVOSandru6, 2021-03-12 16:56:19

How to correctly send a request to appstore connect to receive events for the month?

Hey guys, please advise.

I send a request to:

GET

api.appstoreconnect.apple.com/v1/salesReports?filter[frequency]=MONTHLY&filter[reportSubType]=SUMMARY&filter[reportType]=SUBSCRIPTION_EVENT&filter[vendorNumber]=XXXXX&filter[reportDate]=2021-02&filter[version]= 1_3

I catch:


Invalid combination of date type and date. For daily and weekly reports, use format YYYY-MM-DD. For monthly, use YYYY-MM. For yearly, use YYYY


Although I have the correct date for the month -
2021-02

If YEARLY and 2021 respectively - the same error.

And if DAILY and, accordingly, 2021-03-11, then the answer is normal, with data

. And I need statistics for the month

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question