Anyone successfully created and submitted an in app purchase string with the new app store connect API?
I can create the in app and add localizations and review screenshots but I am unable to get it to add the pricing to it.
I am POST TO URL: v1/inAppPurchasePriceSchedules
{
"data":{
"type":"inAppPurchasePriceSchedules",
"relationships":{
"inAppPurchase":{
"data":{
"type":"inAppPurchases",
"id":"1640694240"
},
"manualPrices":{
"data":[
{
"type":"inAppPurchasePrices",
"id":"${price1}"
}
]
}
}
},
"included":[
{
"attributes":{
"startDate":null
},
"relationships":{
"inAppPurchaseV2":{
"data":{
"type":"inAppPurchasesV2",
"id":"1640694240"
}
},
"inAppPurchasePricePoint":{
"data":{
"type":"inAppPurchasePricePoints",
"id":"eyJzIjoiMTY0MDY5NDI0MCIsInQiOiJHQlIiLCJwIjoiNiJ9"
}
}
},
"type":"inAppPurchasePrices",
"id":"${price1}"
}
]
}
Unfortunately all i get back is the following, I've tried with multiple different apps (as we need to automate this for 100s of apps)
"errors":[
{
"status":"500",
"code":"UNEXPECTED_ERROR",
"title":"An unexpected error occurred.",
"detail":"An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/."
}
]
}