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

Update for the subscriptionPricePoints Endpoint
I received an email from the app store that contained this message We’re reaching out to let you know that the subscriptionPricePoints endpoint now requires a territory relationship filter. If you use the App Store Connect API to configure your subscriptions, please note that you'll be required to define this filter in an upcoming release. but I can't understant it, please could anyon explain what they want or what should I do? my app was built with Flutter and had in-app purchase
1
5
1.6k
Oct ’24
How to change the icon when the application is in the "ready to submit" stage
I filled in some information when publishing the application and felt that the icon was not good enough. I made another one and used this new icon in XCode. After running it on iPhone, the icon changed, but there was no change in the submission section. Now the application is in the "ready to submit" stage and I don't know how to change it to the new icon. Can anyone give me some guidance? Thank you!
0
0
67
14h
App Store Connect Certificates API
Hi all, I‘m using the certificates API in order to create a development certificate. I want to create a Jenkins job that will give employees an option to create a certificate without giving them admin rights. I’m creating a new certificate without any issues. When I try to create another certificate with a different CSR (for a diff user) I get an error that a certificate already exists. Is it limited to create only one certificate per API key?? Thanks!
0
0
94
3d
Guidance needed to pull yesterday's data from perfPowerMetrics endpoint
Hi Folks, I’m looking to pull performance metrics using https://developer.apple.com/documentation/appstoreconnectapi/get-v1-apps-_id_-perfpowermetrics from Lookback for yesterday's data. Could you guide me on the best way to filter or query this specific timeframe? I dont actually see a way pull data from history. Any advice or steps would be greatly appreciated. TIA!
0
0
88
6d
App Store Preview Getting "Cut Off"
I have posted, re-checked and reposted multiple times, a preview video for my app. It shows as 26 seconds in the info window on m y Mac. When I load it onto the App Store and it starts to play, it shows 26 seconds. But ... it plays about 21 seconds of it and then stops and the timeline switches from saying the video was 26 seconds long to suddenly stating it is only 21 seconds long. This is cutting off the last of my preview. If anyone has any thoughts, they would be greatly appreciated!
0
0
82
1w
In-App Purchase Transaction Handling and Refund Implications in App Store API
Hello, I am currently encountering an issue while using the server-side API for in-app purchase integration. Suppose a user has already purchased a product, and the App Store returns a transactionId of 1. After some time, the user repeats the purchase for some reason, and the App Store returns a transactionId of 2. However, when I use the Get Transaction History interface to query the transaction information for transactionId 2, I see that the data returned by the App Store does not include the transaction data for transactionId 2; it only contains the transaction data for transactionId 1. In this situation, my guess is that when the user makes a repeat purchase, the App Store recognizes that the user has already purchased the item and has not executed a refund. Therefore, the App Store generates a new transactionId for this request (the user's purchase) and associates it with the previous purchase's transaction data. This is my inference. If this user has made 5 repeat purchases, when the user successfully requests a refund, if I query the transaction information through the Get Transaction History interface, will the revocationDate for all 5 transactions in the App Store's official database be modified to the same date? Additionally, after the user successfully refunds and makes another purchase, will the new transactionId still be associated with the previous transaction data?
0
0
113
1w
appStoreVersionReleaseRequests failing without error possibly due to new ui dialog?
We have been using app store connect api to release iOS app, using appStoreVersionReleaseRequests endpoints, but on the last couple of releases this has failed to release the app but without any error. On manually releasing the app via app store connect api noticed a new dialog requiring confirmation of release to 175 countries. Suspect this new confirmation maybe the reason the release didn't work via api. Has anyone had this issue and know how to make the release work via the api?
0
0
127
1w
Leaderboard misconfigured
Hi there, I've recently added support for leaderboards to one of my apps. However, unfortunately I've misconfigured the sorting order of scores. I've clicked rising instead of falling. Apparently the understanding of sorting differs between the Play and the App Store. Nevertheless, I am now unable to resolve this issue manually. So what can I do? I've already contacted the developer support. They told me to contact the developer technical support team. And they send me a generic response to check the forums. So here I am.
2
0
197
2w
Get Total App Installs
I've been working on retrieving total app installs via the Apple Connect API using Python. However, I've noticed a discrepancy between the data obtained manually and the API results. When I download the Sales & Trends report manually with these settings: Sales & Trends, Monthly, By Territory, Total Installs …the results don't match those from the API when I use the following parameters python report_date = '2024-09' params = { "filter[frequency]": "MONTHLY", "filter[reportDate]": report_date, # Date for the report "filter[reportSubType]": "SUMMARY", "filter[reportType]": "SALES", "filter[vendorNumber]": vendor_number } I’m seeing a clear mismatch in units between the manual download and the API output Note: This report was generated on 2024-11-05
1
0
145
2w
Accessing Historical Metrics Data with App Store Connect API?
Hi everyone, I’m working with the App Store Connect API to analyze my app's launch time performance, but I’d like to retrieve historical data spanning multiple dates. However, I haven’t found parameters like startDate or endDate in the API documentation. Is there any way to retrieve data for past dates, or is the API limited to recent data only? If anyone has experience with this or any workaround, I’d love to hear about it. Thank you!
0
0
168
3w
How to Get App Store Connect Metrics by iPhone Model?
Hi Folks, I'm currently using the App Store Connect API's perfPowerMetrics endpoint to pull launch time metrics for my app, but I want to break down the data by specific iPhone models (e.g., iPhone 13 Pro, iPhone 12, etc.). I’ve tried using filter[deviceType] set to all_iphones, which works, but it aggregates data for all iPhone models. Does anyone know the specific identifiers for individual iPhone models, or if there's a way to retrieve metrics by specific iPhone model segments? TIA
2
0
163
3w
Upload error using iTMSTransporter 'An error occurred while trying to call the requested method validateAssets. (1272)'
We have a CD pipeline set up for many apps (we're an app dev agency, we're uploading apps all the time). Uploads of our apps to AppStoreConnect using the iTMSTransporter command line tool started failing a few days ago. If we attempt to upload the same bundle using the Mac Transporter app, it uploads just fine. The problem only seems to be the iTMSTransporter command line tool. The version of the tool we're using is: iTMSTransporter, version 3.3.0 I've also tried running these commands pointing at the version of iTMSTransporter running at /Applications/Transporter.app/Contents/itms/bin/iTMSTransporter but this won't even start due to some Java security certificate issue. An example of the command we are calling is: /usr/local/itms/bin/iTMSTransporter -m upload -v eXtreme -f "/path/to/Bundle.itmsp" -jwt {generatedJwtHere} The bundle appears to actually upload to the AppStore OK, after lots of logs we get a message like: INFO: Reservation committed: (CPUSource221/v4/0b/e5/74/0be57409-0479-3c02-0fa7-6b1e2125342f/http-transport-diagnostic-2323106272954036093.txt) file: (http-transport-diagnostic-2323106272954036093.txt) [2024-10-30 14:48:12 AEDT] <RLT-001> INFO: Finished upload for reservation: (CPUSource221/v4/0b/e5/74/0be57409-0479-3c02-0fa7-6b1e2125342f/http-transport-diagnostic-2323106272954036093.txt) file: (http-transport-diagnostic-2323106272954036093.txt) But then soon after the system fails. Here's the last bunch of lines from the logs: [2024-10-30 14:48:12 AEDT] <main> DBG-X: Using operation named: validateAssets [2024-10-30 14:48:12 AEDT] <main> DBG-X: Apple's web service operation input parameters: [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Application = iTMSTransporter [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter BaseVersion = 3.3.0 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter CPUToken = fdc4eb8b-c249-4c70-bf90-8b0878d2de9c/1730248300667 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Files = [metadata.xml, App.ipa] [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataChecksum = c32ad756f090da68830123132a616e3a [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataCompressed = (suppressed) [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataInfo = {packageVersion=software4.7} [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter OSIdentifier = Mac OS X 14.5 (aarch64); jvm=17.0.7+7-iTunesOpenJDK-3; jre=17.0.7+7-iTunesOpenJDK-3; arch=arm64; rosetta=true [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter PackageName = Bundle.itmsp [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter PackageSize = 40603953 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter RequestUUID = 1c12bf85-9ff2-4916-a55c-12dd9e4ab771 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter StatisticsClientStartDateTimeZoneISO = 2024-10-30T14:48:12+11:00 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter StreamingInfoList = [file: 97c48494-e436-484d-9a5f-2a84576553338130357476207288847.swinfo.plist.gz, content-length: 194606, content-type: application/binary, MD5: b4df61ca1fb5d74e74b13117619a5cd2] [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Transport = HTTP [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter TransporterArguments = -m upload -v eXtreme -f /Users/mick/Projects/Catholic Cemeteries/CCC App/Bundle.itmsp -jwt **hidden value** [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter TxTransportVersions = {SigniantTCP=1.3.0, Aspera=1.2.1, Signiant=1.3.0, HTTP=2.1.2.SNAPSHOT} [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Version = 3.3.0 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter iTMSTransporterMode = upload [2024-10-30 14:48:12 AEDT] <main> INFO: id = 20241030144812-155 [2024-10-30 14:48:12 AEDT] <main> DEBUG: SMART-CLIENT: getCurrent(); using pinned data center = contentdelivery01.itunes.apple.com [2024-10-30 14:48:12 AEDT] <main> INFO: iTMSTransporter Correlation Key: 816c0e77-2860-4ba5-9e0d-61d633c61b7f-0001 [2024-10-30 14:48:12 AEDT] <main> DEBUG: SMART-CLIENT: Host HTTP header: contentdelivery01.itunes.apple.com [2024-10-30 14:48:15 AEDT] <main> DBG-X: Apple's web service operation return value: [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter Errors = [An error occurred while trying to call the requested method validateAssets. (1272)] [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter RestartClient = false [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter ErrorCode = 1272 [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter ErrorMessage = An error occurred while trying to call the requested method validateAssets. (1272) [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter Success = false [2024-10-30 14:48:15 AEDT] <main> ERROR: An error occurred while trying to call the requested method validateAssets. (1272) [2024-10-30 14:48:15 AEDT] <main> DBG-X: The error code is: 1272 [2024-10-30 14:48:15 AEDT] <main> INFO: Done performing authentication. This problem is affecting all our apps. We've tried apps built using Xcode 15 and 16. All issues are happening on Mac machines.
3
4
407
3w
About the past retrieval range of Look Up Order ID API
I would like to know if there is a limit to past information in the Look Up Order ID API. https://developer.apple.com/documentation/appstoreserverapi/look_up_order_id I understand that you can also get information about users who deleted or reinstalled the app from the content of the document. On the other hand, are there any temporal limits to the past? For example, can the above API make requests for purchases made one year ago, five years ago, or ten years ago?
1
0
213
4w
Error on Post request for Create Achievement Localization
Hi, I am using Node.js for updating my game achievements. Also not sure what is the recommended programming language to use for this. I will want to add Achievement Localization to my existing achievement. I was following the document here: https://developer.apple.com/documentation/appstoreconnectapi/post-v1-gamecenterachievementlocalizations const postData = { type: "gameCenterAchievementLocalizations", attributes: { locale: "it-IT", name: "XXXXXXXXXXX", afterEarnedDescription: "XXXXXXXXXXXXXX", beforeEarnedDescription: "XXXXXXXXXXXXXXXXXXXXXXXX" }, relationships: { gameCenterAchievement: { data: { type: "gameCenterAchievement", id: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" } } } }; let axiosConfig = { headers:{ Authorization: `Bearer ${token}` } }; const response = axios.post('https://api.appstoreconnect.apple.com/v1/gameCenterAchievementLocalizations', postData, axiosConfig); After I run the above code, it throw me an error 422. status: '422', code: 'ENTITY_UNPROCESSABLE', title: 'The request entity is not a valid request document object', detail: "Unexpected or invalid value at 'type'.", meta: { position: [Object] } Any idea what went wrong with my code? Thank you
0
0
181
Oct ’24
`appStoreVersions` returning incorrect data
The endpoint https://api.appstoreconnect.apple.com/v1/apps/{app id}/appStoreVersions is returning some very strange data as of sometime this afternoon (Pacific time). We are only seeing a subset of builds. They are verrrry old and they are not in order. This exact same list is shown in the app store connect web dashboard when I view my apps history suggesting it uses the same API call.
3
6
311
Oct ’24
使用登录API模拟登录appstoreconnect后台是报503错误
URL:https://idmsa.apple.com/appleauth/auth/signin Header: { Accept=application/json, text/javascript, /; q=0.01, X-Requested-With=XMLHttpRequest, origin=https://idmsa.apple.com, Connection=keep-alive, Referer=https://idmsa.apple.com/, User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36, Host=idmsa.apple.com, Accept-Encoding=gzip, deflate, br, X-Apple-Widget-Key=e0b80c3bf78523bfe80974d320935bfa30add02e1bff88ec2166c6bd5a706c42, pragma=no-cache, X-Apple-Domain-Id=3, Accept-Language=zh-CN,zh;q=0.9, Content-Type=application/json } Response:503 Service Temporarily Unavailable 麻烦请尽快解决这个问题,这影响了我们的自动化构建流程!
1
0
288
Oct ’24
Asset Validation failed for .ipa file in transporter
I have spent time developing a MAUI project and have successfully released the android app for some time now but apple has been coming up with different issues. See the description of the latest issues as reported in transporter. Asset validation failed (91111) Missing app icon. Include a large app icon as a 1024 by 1024 pixel PNG for the 'Any Appearance' image well in the asset catalog of apps built for iOS or iPadOS. Without this icon, apps can't be submitted for review. For details, visit: https://developer.apple.com/documentation/xcode/configuring-your-app-icon. (ID: eb3a7e69-d31c-4277-bec8-350e309412aa) Asset validation failed (90022) Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface (ID: 7661855d-86e9-4ed9-8eff-948f723e4234)
1
0
329
Oct ’24