App Store Connect API

RSS for tag

The App Store Connect API helps you automate tasks usually done on the Apple Developer website and App Store Connect.

App Store Connect API Documentation

Post

Replies

Boosts

Views

Activity

Invalid vendor number specified. Try again.
HI AllI am trying to use the API in Python and am getting the followin gerror:{ "errors" : [ { "id" : "285874b4-16fb-4109-b810-ffa2973be714", "status" : "400", "code" : "PARAMETER_ERROR.INVALID", "title" : "A parameter has an invalid value", "detail" : "Invalid vendor number specified. Try again.", "source" : { "parameter" : "filter[vendorNumber]" } } ] }I am passing the Following payload:payload = {'filter[frequency]':'DAILY', 'filter[reportSubType]': 'SUMMARY', 'filter[reportDate]':'2019-03-01', 'filter[vendorNumber]': '12345678', 'filter[reportType]': 'SALES' }Here is the request call:r = requests.get('https://api.appstoreconnect.apple.com/v1/salesReports', headers={'Authorization': 'Bearer {}'.format(token)}, params=payload)Any suggestions on how do i resolve this error?Thanks
7
1
5.6k
May ’19
Is there a way to download payments data programmatically from App Store Connect?
I see that it's currently possible to report payments and tax information manually from the App Store Connect user interface, per the 'View Payment Information' section of the App Store Connect help documentation. Is there any way to retrieve this information programmatically, either via the REST API or the Reporter command line tool? The 'Finance' reports that are available through the developer tools show developer proceeds in the original currency of the transaction, not in the developer's currency post-conversion. Without currency conversion and tax information, the 'Finance' reports are not particularly useful for accounting purposes.
17
5
10k
Nov ’18