Update age rating
update_age_ratingAnswers the App Store age rating questionnaire by submitting Apple attribute answers, with an option to fill unanswered questions as NONE or false so changes can be accepted.
Instructions
Answers the age rating questionnaire of the app info being prepared. Pass the answers to change, using Apple's attribute names, e.g. {"violenceCartoonOrFantasy": "INFREQUENT_OR_MILD", "gambling": false}. Content questions take NONE, INFREQUENT_OR_MILD or FREQUENT_OR_INTENSE: alcoholTobaccoOrDrugUseOrReferences, contests, gamblingSimulated, gunsOrOtherWeapons, horrorOrFearThemes, matureOrSuggestiveThemes, medicalOrTreatmentInformation, profanityOrCrudeHumor, sexualContentGraphicAndNudity, sexualContentOrNudity, violenceCartoonOrFantasy, violenceRealistic, violenceRealisticProlongedGraphicOrSadistic. Yes/no questions take true/false: advertising, ageAssurance, gambling, healthOrWellnessTopics, lootBox, parentalControls, unrestrictedWebAccess, userGeneratedContent, plus messagingAndChat, socialMedia. Apple needs every question answered before it accepts any change; fill_unanswered: true answers the rest NONE/false. Confirm those answers with the user.
Changes App Store Connect (needs ASC_WRITE=1). Safe to re-run: steps already done are skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | App ID, bundle ID or exact app name. Defaults to ASC_APP_ID, or to the only app the key can see. | |
| answers | No | ||
| dry_run | No | If true, return the plan without changing anything. | |
| fill_unanswered | No | Answer every question that has no answer yet with NONE or false. |