Post

Replies

Boosts

Views

Activity

How to get base territory for subscriptions with App Store Connect API?
Hello all, In the App Store Connect API: Apps have /v1/appPriceSchedules/{id}/baseTerritory. IAPs have /v1/inAppPurchasePriceSchedules/{id}/baseTerritory. ...but: Auto-renewing subscriptions don't have a corresponding endpoint for getting the base territory However, the App Store Connect website does indeed require you to set a base territory when creating new auto-renewable subscriptions. Why's that? More importantly, what's the best way of determining what to use for a base territory? Thank you!!
0
0
297
Feb ’25
App Store Connect API - Can't modify subscription price that's close to its effective date
Hello, I'm using the App Store Connect API to check and modify subscription prices. I know there can be only 1 outstanding future price change for subscription pricing, so I check for any scheduled future price changes (after today's date) and then delete them before setting new ones. This works 95% of the time -- except in the last little bit before the date changes. For example, if it is 1 hour before midnight and tomorrow's date is when the scheduled price change goes into effect, when I try to delete, I'll get something like this: The request failed with response code 409 ENTITY_ERROR. There is a problem with the request entity. Cannot delete Subscription Price with id . Only future price changes can be deleted. If I look at the same subscription in App Store Connect, it will still show it as a future price change, and won't show the usual buttons to modify or delete it. However, in App Store Connect, I can still hit the "+" button to create a new price change and it will successfully delete and replace the pending price change, which will then appear with the usual Delete and Edit buttons. My first thought was that maybe it was a timezone issue, but if I go to put the new pricing into effect, that request fails with an error like this: "errors" : [ { "id" : "5a51c570-1f38-4fa0-b490-9fa979f4aecf", "status" : "409", "code" : "STATE_ERROR", "title" : "The request cannot be fulfilled because of the state of another resource.", "detail" : "Must delete future price change before creating a new price change." } ] So... my questions are: Is this expected behavior? How can App Store Connect replace the pending price change in the final hours but I can't do it with the API? As a workaround, is there a set amount of time before the price change goes into effect where the prices should no longer be editable? Thanks!
0
0
352
Feb ’25
Xcode 16.3 - very slow to run on simulator
Build and run on simulator is suddenly very slow since Xcode 16.3. The build is normal, but the run part launches the simulator and sits and waits 5, 10, 15, sometimes 20 seconds before anything happens. During that time, the screen is blank on the simulator and the console output is blank in Xcode. What's going on here? Is there a fix or work-around? EDIT: If I turn off the debugger, so it just runs without attaching it, the launch happens instantly.
3
1
155
Jul ’25
Fetching app version release dates with App Store Connect API
What App Store Connect API endpoint(s) do I need to use to get the release dates of an app's various app versions? On App Store Connect itself, I can navigate to a given app and select "History", on the left side under General. See screenshot: In the screenshot, you can clearly see that version 1.9 became Ready for Distribution on Nov 12, 2024 at 3:28 AM, and that version 1.10 became Ready for Distribution on February 18, 2025 at 8:10 AM. However, I haven't been able to find to get any of these detailed status history via the App Store Connect API. Specifically I'm looking for release, or "go live", dates for the various versions of a given app. I'd have expected one of these API endpoints, or some combination thereof, to include this information in some way, but I'm just not finding it: GET https://api.appstoreconnect.apple.com/v1/apps/{id}/appStoreVersions GET https://api.appstoreconnect.apple.com/v1/appStoreVersions/{id} GET https://api.appstoreconnect.apple.com/v1/apps/{id}/builds GET https://api.appstoreconnect.apple.com/v1/apps/{id}/reviewSubmissions I've submitted FB16730940 and also via TSI.
2
0
301
Aug ’25