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" } } } } ] }
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi I am looking through this documentation - https://developer.apple.com/documentation/appstoreconnectapi/create_an_introductory_offer - but where will the intro be applied to what app? There is no info for id or app id - I need an example request
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
App Store Connect API
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
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
In-App Purchase
App Store Connect
App Store Connect API