appstore_update_store_listing
Change an app's App Store page text per language; only the fields given change and a new language is added.
Changes the App Store page text, per language. Only the fields sent change; a language not yet on the listing is added (it then needs its name). It writes to the version being prepared, else the live one. Name, subtitle and privacy policy address change only while a new version is being prepared; promotional text can change any time. It does not touch screenshots.
Every length is checked before anything is sent; one value too long and nothing changes. Languages are then written one after another: if Apple refuses one, the languages before it stay changed.
| Read-only | Destructive | Idempotent |
|---|---|---|
| No | No | Yes |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
teamId |
string (UUID) | yes | — | The Team, from list_teams. |
projectId |
string (UUID) | this or appId |
— | The Project whose app this is, from list_projects: the usual way to name an app. The app is the one on App Store Connect with the bundle id the Project builds. When both are sent, projectId is used. |
appId |
string | this or projectId |
— | An App Store Connect app id from appstore_list_apps, for an app no Project builds. |
appleTeamId |
string (UUID) | no | every connected Apple team | One of the Team’s Apple teams, from appstore_list_apple_teams. With appId, only this Apple team is searched for the app. With projectId it is not needed: the Project’s app decides. |
platform |
string: IOS, MAC_OS, TV_OS, VISION_OS |
no | IOS |
Which platform’s App Store version. |
locales |
object: language code → fields | yes | — | e.g. {"en-US": {"subtitle": "…", "keywords": "a,b,c"}}. The fields are below; no others are accepted. |
| Field | Type | What |
|---|---|---|
name |
string, at most 30 characters | The App Store name. App information: changes only while a new version is being prepared |
subtitle |
string, at most 30 characters | The subtitle. App information |
privacyPolicyUrl |
string (URL) | The privacy policy address. App information |
description |
string, at most 4,000 characters | The description |
keywords |
string, at most 100 characters | Comma-separated search keywords, 100 characters in all |
whatsNew |
string, at most 4,000 characters | What’s new in this version (not on a first version) |
promotionalText |
string, at most 170 characters | Can change any time, even on the live version |
supportUrl |
string (URL) | The support address |
marketingUrl |
string (URL) | The marketing address |
Lengths are counted in characters.
The checks every tool makes on its inputs are on Server and sign-in.
Result
A JSON object, as text and as structuredContent.
| Field | What |
|---|---|
version |
The version number written to |
locales |
The languages sent, as they read now (fields as in appstore_store_listing) |
{
"version": "1.2.0",
"locales": [
{
"locale": "en-US",
"name": "Notes",
"subtitle": "Write it down",
"privacyPolicyUrl": "https://example.com/privacy",
"description": "Notes",
"keywords": "notes,writing,journal",
"whatsNew": null,
"promotionalText": null,
"supportUrl": "https://example.com/support",
"marketingUrl": null
}
]
}Errors
Each comes back as a tool error (isError: true). Italic words stand for the values in the sentence. The errors every tool can return are on Server and sign-in.
| Message | When | What to do |
|---|---|---|
| locales must name at least one language. | locales is missing or empty |
Send at least one language |
| locale.field must be text. | A field’s value is not a string | Send a string |
| Too long: locale.field is n characters (at most limit). Nothing was changed. | One or more values are over their limit; all are listed, separated by ; |
Shorten them |
| locale is new to the listing: give its name too. | A new language with subtitle or privacyPolicyUrl but no name |
Add name |
| This app has no App Store version yet. Start one with appstore_prepare_version. | The app has no version on that platform | Start one with appstore_prepare_version |
| App Store Connect has no app information for this app. | Apple returned no app information | Check the app in App Store Connect |
| Pass projectId, or appId from appstore_list_apps. | Neither projectId nor appId was sent |
Send one of them |
| This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team’s Agent to build it, or pass appId. | The Project has never been built for iOS | Ask the Project’s Agent for an iOS build (send_message), or name the app by appId |
| This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project’s), or pass appId. | No app on the Team’s connected Apple teams has the Project’s bundle id, or no Apple team is connected | Create the app with appstore_create_app, or name another app by appId |
| No connected Apple team of this Team has that app. See appstore_list_apps. | appId is not an app of any connected Apple team (or of appleTeamId) |
Take the id from appstore_list_apps |
| platform must be IOS, MAC_OS, TV_OS or VISION_OS. | Another platform value |
Send one of the four |
| App Store Connect: Apple’s sentence | Apple refused the request. Up to five of Apple’s own sentences follow, each with the field it is about in brackets when Apple names one. An Apple agreement waiting in App Store Connect is refused this way too | Act on Apple’s words. Agreements are accepted by the Apple Developer account’s Account Holder in App Store Connect (Business › Agreements) |
| App Store Connect answered status. Try again in a moment. | Apple refused without saying why | Try again in a moment |
Example
{
"name": "appstore_update_store_listing",
"arguments": {
"teamId": "00000000-0000-0000-0000-000000000000",
"projectId": "00000000-0000-0000-0000-000000000000",
"locales": {
"en-US": {
"subtitle": "Write it down",
"keywords": "notes,writing,journal"
}
}
}
}