Post

Replies

Boosts

Views

Activity

Get prices and territories of an in-app purchase
I am trying to get the prices and territories of an in app purchase Price points API https://developer.apple.com/documentation/appstoreconnectapi/list_all_price_points_for_an_in-app_purchase doesnt include all territories, just has one. Included returns a list of 1 url: "https://api.appstoreconnect.apple.com/v2/inAppPurchases/$appleID/pricePoints?include=territory&limit=200" Then just Read in app purchase api https://developer.apple.com/documentation/appstoreconnectapi/read_in-app_purchase_information-1v2 doesnt include any territory info Price schedule api does not link to price points to see the actual prices https://developer.apple.com/documentation/appstoreconnectapi/read_in-app_purchase_price_schedule_information
0
0
530
Nov ’23
ModifyPromo 409: State Error
When calling modifypromo, I keep getting this error: error: HTTP status code 409, body { "errors" : [ { "id" : "7aeb5c20-576d-4500-ad65-525d298d2093", "status" : "409", "code" : "STATE_ERROR", "title" : "The request cannot be fulfilled because of the state of another resource.", "detail" : "Cannot invoke "com.apple.its.pricing.api.model.Country.countryCodeISO2A()" because the return value of "com.apple.its.pricing.api.model.offers.AdHocOfferProduct.country()" is null" } ] } My request is: Where id is the encrypted values needed { "data": { "attributes": {}, "relationships": { "prices": { "data": [ { "id": "id", "type": "subscriptionPromotionalOfferPrices" } ] } }, "type": "subscriptionPromotionalOffers", "id": "id" }, "included": [ { "attributes": {}, "id": "subscriptionPromotionalOfferPrices", "relationships": { "subscriptionPricePoint": { "data": { "id": "id", "type": "subscriptionPricePoints" } }, "territory": { "data": { "id": "USA", "type": "territories" } } } } ] }
2
0
71
Apr ’25