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.5k
Oct ’24
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.
0
0
73
1d
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
57
2d
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
106
6d
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
93
6d
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
320
1w
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
160
1w
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
129
2w
`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
250
2w
使用登录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
228
2w
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
244
3w
Apple API request to submit a subscription for review failed
I am trying to submit my subscription review using the https://api.appstoreconnect.apple.com/v1/subscriptionSubmissions API from Apple. The data I submitted is:{"subscriptionSubmissionCreateRequest": {"data":{"type":"subscriptionSubmissions","relationships":{"subscription":{"data":{"type":"subscriptions","id":"6737030290"}}}}}} My subscription information is complete and correct. However, the Apple interface prompts an error and returns the following information:{"err":"unexpected status code 409: { "errors" : [ { "id" : "4267a135-2d27-4764-bcb3-85bd0247e60a", "status" : "409", "code" : "STATE_ERROR.INVALID_REQUEST_ENTITY_STATE_INVALID", "title" : "Thissubscriptionisnotinavalidstate.", "detail" : "Thissubscriptioncannotbereviewed,pleasecheckassociatederrors.", "meta" : { "associatedErrors" : { "/v1/subscriptions/6737030290" : [ { "id" : "e1db8b8f-a73a-4146-bc58-dd12c171379b", "status" : "409", "code" : "STATE_ERROR.SUBSCRIPTION_ALREADY_SUBMITTED", "title" : "YoucannotsubmityourSubscriptionforreviewwhenitisnotsubmittablestate." } ] } } } ] }"} In Apple's Developer Console, the "Submit" button appears blue, which indicates that I haven't submitted the data before and it's not currently under review. However, when I click the button, I still get the same error message. I would like to understand why I'm unable to submit the review. Where could the issue be? I hope someone can assist me with this.
1
0
125
3w
Failure in uploading screenshots through appstore connect API
Hello, we are trying to use the API provided by appstore connect to automatically upload screenshots for our app. Please notice that the same script was working up to 1 year ago. When we try to upload the screenshot, we receive a 400 error. '<?xml version="1.0" encoding="UTF-8" standalone="no"?><Error><Code>400</Code><Message>Invalid request: </Message><RequestId>832feb4a-0187-46a6-8542-4ab0b58c196a</RequestId></Error>' Can someone from the support help us? Kind regards, Andrea
0
0
120
3w
I need a help with Create a Subscription Price Change
Hello everyone: I have a question regarding subscription price settings that I would like to ask. The specific API is this one: https://developer.apple.com/documentation/appstoreconnectapi/post-v1-subscriptionprices When I set the initial price, for example, setting a price point A for the US, one of the parameters I set for this price point is preserveCurrentPrice as false. Now, when I want to adjust the price from price point A to price point B, there are two scenarios: Adjusting for all users. Adjusting for new users only. In both scenarios, when I set price point B, should I set the preserveCurrentPrice parameter to true? Do I need to reset any attributes for price point A, or will Apple automatically handle whether to retain price point A when I only set price point B? I would appreciate it if someone could help me answer this. Thank you all!
0
0
139
3w
Discovery and Engagement API Data missing impressions for specific sources
I've set up the Discovery and Engagement Report via the API to create daily reports. I'm using the Standard report so it includes all of the data and doesn't remove any as per the privacy policy. It's providing impression data for the App Store Search and App Store Browse source types but it's missing impression data for the others (web referrer and app referrer) - this data is available in the dashboard. Also, the impression data that I do have does not align with the dashboard, I thought using the standard report would mean all of the data would get provided. The product page view data is correctly being provided in the data for each of the source types. Any ideas why it's missing?
0
0
134
4w
Can't receive CONSUMPTION_REQUEST notification.
My App uses an auto-renewal subscription, and I've been using the CONSUMPTION_REQUEST event to track user refund requests. However, since yesterday morning, I haven't been receiving any CONSUMPTION_REQUEST notifications. All other notifications are functioning normally and I haven't changed anything. What could be the issue?
1
0
248
Sep ’24