App Store Connect API Set Prices for All Territories automatically

Hi Everyone,

When you create Auto Renewable subscription price through App Store Connect site - you are able to set only 1 price (say for USA in USD) - and all the rest prices for 175 countries will set automatically. How to set same logic through using request with App Store Connect API? My current logic is:

  1. I'm using List All Price Points for a Subscription GET request to get all price points for specific subscriptionID (Docs: https://developer.apple.com/documentation/appstoreconnectapi/list_all_price_points_for_a_subscription)
  2. In the response I'm searching for specific price for USA (say $0.99) and getting it's price point ID
  3. Then using POST request to Create a Subscription Price Change (Docs: https://developer.apple.com/documentation/appstoreconnectapi/create_a_subscription_price_change) with pricePointID from the previous step.

And it's setting the price indeed, BUT for USA only, so I'm not getting this automatically applied 175 countries list for free.

Please let me know if there a way to set it automatically somehow, or should I manually calculate all 175 countries for myself somehow and to use 175 requests for each plan (I doubt it)

Hi. Did you ever find a solution?

Just found this:

https://developer.apple.com/documentation/appstoreconnectapi/app_store/auto-renewable_subscriptions/managing_auto-renewable_subscriptions

To set a price point for another territory, use POST /v1/subscriptionPrices (Create a Subscription Price Change) again, replacing the subscriptionPricePoint ID with the other values you obtain from GET /v1/subscriptionPricePoints/{id}/equalizations (List All Subscription Price Point Equalizations). If the subscription is available in all territories, an individual POST /v1/subscriptionPrices call is necessary for each territory. You might consider automating this step.

App Store Connect API Set Prices for All Territories automatically
 
 
Q