Hello everyone,
I've been having some trouble with the App Store Connect API recently. Specifically, the price tiers have changed from 1,2,3,4 to 10000,10001,10002, etc. I modified my code accordingly and it worked fine for a while, but now I'm getting 500 errors.
I'm trying to make a POST request to the inAppPurchasePriceSchedules endpoint with the following JSON body:
POST https://api.appstoreconnect.apple.com/v1/inAppPurchasePriceSchedules
{
"data": {
"relationships": {
"inAppPurchase": {
"data": {
"id": 1111111111,
"type": "inAppPurchases"
}
},
"manualPrices": {
"data": [
{
"id": "price_point_id_tiers_1000x",
"type": "inAppPurchasePrices"
}
]
}
},
"type": "inAppPurchasePriceSchedules"
},
"included": [
{
"attributes": {
"startDate": null
},
"id": "price_point_id_tiers_1000x",
"relationships": {
"inAppPurchasePricePoint": {
"data": {
"id": "price_point_id_tiers_1000x",
"type": "inAppPurchasePricePoints"
}
},
"inAppPurchaseV2": {
"data": {
"id": 1111111111,
"type": "inAppPurchases"
}
}
},
"type": "inAppPurchasePrices"
}
]
}
Headers: Authorization: Bearer xxxx accept: application/json
Can anyone help me troubleshoot this issue?
Thank you in advance for your help!