OK i found the solution.
First i have to "PATCH" availableInAllTerritories with URL https://api.appstoreconnect.apple.com/v2/inAppPurchases/:inappid with and InAppPurchaseV2UpdateRequest object.
Then state change to DEVELOPER_REMOVED_FROM_SALE and i can delete the inapp with DELETE method.
Post
Replies
Boosts
Views
Activity
Finally I found the solution to make the API work https://api.appstoreconnect.apple.com/v1/inAppPurchasePriceSchedules
In some cases, the price calendar is empty even though there is an active price in IOS Application, API call of https://api.appstoreconnect.apple.com/v1/inAppPurchasePriceSchedules/:inappid/manualPrices?include=inAppPurchasePricePoint&filter[territory]=FRA is empty too (no Customer Price / Price Tiers)
After creating a rate in the calendar, API Response is not empty...
So we had to check all the prices one by one and for the empty ones, send back the right price with API and it's works !
Hello
Is your code still working ?
I tried to post to https://api.appstoreconnect.apple.com/v1/inAppPurchasePriceSchedules but i have an 422 Unprocessable Entity Response.
I'm not sure about the id ABCDEFGHIJK and ZYXWVUTSRQP, as you wrote i filled it with "random" chars.
Thanks,
Yathus