-
Notifications
You must be signed in to change notification settings - Fork 0
Home
In this project I explore the APIs that are useful to automate some of the tasks that I perform regularly on App Store Connect.
GET https://api.appstoreconnect.apple.com/v1/apps?filter[appStoreVersions.appStoreState]=READY_FOR_SALE
curl -v -H 'Authorization: Bearer YOUR_TOKEN' "https://api.appstoreconnect.apple.com/v1/apps?filter[id]=YOUR_APP_ID"
curl -v -H 'Authorization: Bearer YOUR_TOKEN' "https://api.appstoreconnect.apple.com/v1/apps/YOUR_APP_ID/prices?include=priceTier"
Reference: https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app
PATCH https://api.appstoreconnect.apple.com/v1/apps/YOUR_APP_ID
Authorization: Bearer YOUR_TOKEN
Body:
{
"data": {
"type": "apps",
"id": "YOUR_APP_ID",
"relationships": {
"prices": {
"data": [
{ "type": "appPrices", "id": "${new-price-1}" }
]
}
}
},
"included": [{
"id": "${new-price-1}",
"type":"appPrices",
"relationships": {
"priceTier": {
"data":{ "type": "appPriceTiers", "id": "5"}
}
}
}]
}
Reference: https://developer.apple.com/documentation/appstoreconnectapi/list_all_app_store_versions_for_an_app
GET https://api.appstoreconnect.apple.com/v1/apps/YOUR_APP_ID/appStoreVersions
GET https://api.appstoreconnect.apple.com/v1/appStoreVersions/YOUR_APP_VERSION_ID_FROM_PREVIOUS_CALL/appStoreVersionLocalizations
https://api.appstoreconnect.apple.com/v1/apps/YOUR_APP_ID/inAppPurchasesV2
https://developer.apple.com/documentation/appstoreconnectapi/list_all_in-app_purchases_for_an_app