asc subscriptions
asc subscriptions commands: create and set up auto-renewable subscriptions and their groups, set prices and availability, manage introductory, promotional, offer-code, win-back and retention offers, review screenshots, promoted purchases, versions, grace periods and retention messages.
asc subscriptions manages an app’s auto-renewable subscriptions in App Store Connect: subscription groups and their versions, the subscriptions themselves, their prices and availability, introductory, promotional, offer-code, win-back and retention offers, review screenshots, promoted purchases, version-scoped localizations and images, grace periods and retention messages. Picking an Apple team, output, pagination, --confirm and exit codes work as described on the asc page; the flag tables below leave out --output, --pretty, --limit, --next, --paginate and the --fields / --…-fields flags, which are explained there. “Required.” marks the flags the command’s help lists as required. --app takes the App Store Connect app ID and falls back to ASC_APP_ID. Where --subscription-id accepts a subscription ID, product ID or exact current name, a product ID or name also needs --app. asc: in-app purchases and subscriptions has a summary of this family with asc iap, asc storekit and asc app-events.
To submit a subscription version for review, add it to a review submission with asc review items-add:
asc review items add --submission "SUBMISSION_ID" --item-type subscriptionVersions --item-id "SUBSCRIPTION_VERSION_ID"groups
Manage subscription groups.
groups list
List subscription groups for an app.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). |
— |
--include |
Include relationships: subscriptions,subscriptionGroupLocalizations,versions. |
— |
--versions-limit |
Maximum included versions (1-50). | — |
asc subscriptions groups list --app "APP_ID"groups create
Create a subscription group.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). |
— |
--reference-name |
Reference name. | — |
asc subscriptions groups create --app "APP_ID" --reference-name "Premium"groups view
View a subscription group by ID.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription group ID. Required. | — |
--include |
Include relationships: subscriptions,subscriptionGroupLocalizations,versions. |
— |
--versions-limit |
Maximum included versions (1-50). | — |
asc subscriptions groups view --id "GROUP_ID"groups update
Update a subscription group.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription group ID. | — |
--reference-name |
Reference name. | — |
asc subscriptions groups update --id "GROUP_ID" --reference-name "Premium"groups delete
Delete a subscription group.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Subscription group ID. Required. | — |
asc subscriptions groups delete --id "GROUP_ID" --confirmgroups versions
Manage subscription group review versions.
groups versions create
Create a subscription group version.
| Flag | What it does | Default |
|---|---|---|
--group-id |
Subscription group ID. Required. | — |
asc subscriptions groups versions create --group-id "GROUP_ID"groups versions list
List versions for a subscription group.
| Flag | What it does | Default |
|---|---|---|
--group-id |
Subscription group ID. Required. | — |
--include |
Include relationships: subscriptionGroup,localizations. |
— |
--localizations-limit |
Maximum included localizations (1-50). | — |
--state |
Filter by state (comma-separated). | — |
asc subscriptions groups versions list --group-id "GROUP_ID" --state PREPARE_FOR_SUBMISSION --paginategroups versions view
View a subscription group version.
| Flag | What it does | Default |
|---|---|---|
--include |
Include relationships: subscriptionGroup,localizations. |
— |
--localizations-limit |
Maximum included localizations (1-50). | — |
--version-id |
Subscription group version ID. Required. | — |
asc subscriptions groups versions view --version-id "VERSION_ID" --include localizationsgroups versions localizations
Manage version-scoped subscription group localizations.
These are version-scoped localizations; the older group-scoped localization commands are deprecated.
groups versions localizations list
List localizations for a subscription group version.
| Flag | What it does | Default |
|---|---|---|
--include |
Include relationship: version. | — |
--version-id |
Subscription group version ID. Required. | — |
asc subscriptions groups versions localizations list --version-id "VERSION_ID" --paginategroups versions localizations create
Create a localization for a subscription group version.
| Flag | What it does | Default |
|---|---|---|
--custom-app-name |
Custom app name. | — |
--locale |
Locale (for example, en-US). Required. |
— |
--name |
Localized name. Required. | — |
--version-id |
Subscription group version ID. Required. | — |
asc subscriptions groups versions localizations create --version-id "VERSION_ID" --name "Premium" --locale "en-US"groups versions localizations view
View a version-scoped subscription group localization.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription group localization ID. Required. | — |
--include |
Include relationship: version. | — |
groups versions localizations update
Update a version-scoped subscription group localization.
| Flag | What it does | Default |
|---|---|---|
--clear-custom-app-name |
Set the custom app name to null. | false |
--clear-name |
Set the localized name to null. | false |
--custom-app-name |
Custom app name. | — |
--id |
Subscription group localization ID. Required. | — |
--name |
Localized name. | — |
asc subscriptions groups versions localizations update --id "LOCALIZATION_ID" --name "Premium Plus"groups versions localizations delete
Delete a version-scoped subscription group localization.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Subscription group localization ID. Required. | — |
groups versions localizations import
Create or update localizations from a JSON file.
Creates or updates localizations for a version from one JSON file that maps each locale to the fields to set:
{"en-US": {"name": "Premium", "customAppName": "Premium App"}, "de-DE": {"name": "Premium"}}Fields: name, customAppName. Values must be non-empty strings. Omit a field to leave it unchanged; import never clears a field or deletes a locale. A locale missing from the version is created and needs name. An existing locale is updated only with the fields that differ, so running the same file again is safe.
The command reads the version’s localizations once and validates the whole plan before writing. --dry-run prints the plan without writing. With --confirm, each locale is written independently: a failed locale is reported and the others still run. The receipt lists every locale’s action and status, and the command exits non-zero when any locale failed.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm writing localizations (required unless --dry-run). |
false |
--dry-run |
Print the create/update/skip plan without writing. | false |
--file |
Path to a JSON file mapping locales to fields. Required. | — |
--version-id |
Subscription group version ID. Required. | — |
asc subscriptions groups versions localizations import --version-id "VERSION_ID" --file "./localizations.json" --dry-rungroups versions links
View raw subscription group version linkages.
groups versions links versions
View versions relationship linkages.
| Flag | What it does | Default |
|---|---|---|
--group-id |
Subscription group ID. | — |
groups versions links localizations
View localizations relationship linkages.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Subscription group version ID. | — |
list
List subscriptions in a group or app.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID); lists subscriptions across all groups. |
— |
--group-id |
Subscription group ID. | — |
--include |
Include relationships (comma-separated): subscriptionLocalizations, appStoreReviewScreenshot, group, introductoryOffers, promotionalOffers, offerCodes, prices, promotedPurchase, subscriptionAvailability, winBackOffers, images, planAvailabilities, versions, retentionOffers, retentionMessage, retentionMessageOffers. |
— |
--versions-limit |
Maximum included versions (1-50). | — |
asc subscriptions list --group-id "GROUP_ID"create
Create a subscription.
| Flag | What it does | Default |
|---|---|---|
--family-sharable |
Enable Family Sharing (cannot be undone). | false |
--group-id |
Subscription group ID. Required. | — |
--group-level |
Subscription ordering level (positive integer). | — |
--product-id |
Product ID (e.g., com.example.sub). Required. | — |
--reference-name |
Reference name. Required. | — |
--review-note |
Review note for App Review. | — |
--subscription-period |
Subscription period: ONE_WEEK, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
asc subscriptions create --group-id "GROUP_ID" --reference-name "Monthly" --product-id "com.example.sub.monthly"setup
Create or reconcile a subscription with complete App Store metadata.
Creates the subscription and what App Store Connect needs for it: group localization, subscription localization, review screenshot, pricing and availability. Prices are set in every territory from Apple’s equalized prices; sale availability is the subset you pick with --territories.
By default it reads the subscription back and passes only when Apple reports it complete (group and subscription localizations, a review screenshot, a price and availability); a final MISSING_METADATA state fails the command, with details when --app is given. --repair rebuilds and re-saves the whole price matrix even when the base price is unchanged. Add --no-verify when you leave metadata for later commands, then check with asc validate subscriptions.
The localization flags use Apple’s deprecated v1 localization resources; for new work, use versions localizations and groups versions localizations.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). |
— |
--available-in-new-territories |
Include new territories automatically when creating availability. | false |
--description |
Description for the first subscription localization. | — |
--display-name |
Display name for the first subscription localization. | — |
--enable-monthly-commitment |
Also configure Monthly with 12-Month Commitment availability for ONE_YEAR subscriptions. |
false |
--family-sharable |
Enable Family Sharing (cannot be undone). | false |
--group-custom-app-name |
Optional custom app name for the subscription group localization. | — |
--group-display-name |
Localized display name for the subscription group. | — |
--group-id |
Existing subscription group ID. | — |
--group-level |
Subscription ordering level (positive integer). | — |
--group-locale |
Locale for the subscription group localization (e.g., en-US). |
— |
--group-reference-name |
Reference name for a new subscription group. | — |
--locale |
Locale for the first subscription localization (e.g., en-US). |
— |
--no-verify |
Skip post-create readback verification for faster execution. | false |
--price |
Customer price for the initial subscription price. | — |
--price-point-id |
Explicit price point ID for the initial subscription price. | — |
--price-territory |
Territory used to resolve and verify the initial subscription price (accepts alpha-2, alpha-3, or exact English country name). | — |
--product-id |
Product ID (e.g., com.example.sub.monthly). | — |
--reference-name |
Subscription reference name. | — |
--refresh |
Force refresh of the subscription price-point tier cache when resolving --tier or --price. |
false |
--repair |
Atomically rebuild and re-save the complete equalized price matrix. | false |
--review-note |
Review note for App Review. | — |
--review-screenshot |
Path to the App Review screenshot for the subscription. | — |
--start-date |
Start date for the initial subscription price (YYYY-MM-DD). |
— |
--subscription-period |
Subscription period: ONE_WEEK, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
--territories |
Availability territories to enable after creation (comma-separated; accepts alpha-2, alpha-3, or exact English country names). | — |
--tier |
Pricing tier number for the initial subscription price. | — |
asc subscriptions setup --app "APP_ID" --group-reference-name "Pro" --reference-name "Pro Monthly" --product-id "com.example.pro.monthly" --subscription-period ONE_MONTH --price "2.99" --price-territory "United States" --territories "US,Canada" --review-screenshot "./review.png" --no-verifyview
View a subscription by ID.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription ID. Required. | — |
--include |
Include relationships (comma-separated): subscriptionLocalizations, appStoreReviewScreenshot, group, introductoryOffers, promotionalOffers, offerCodes, prices, promotedPurchase, subscriptionAvailability, winBackOffers, images, planAvailabilities, versions, retentionOffers, retentionMessage, retentionMessageOffers. |
— |
--versions-limit |
Maximum included versions (1-50). | — |
asc subscriptions view --id "SUB_ID"update
Update a subscription.
| Flag | What it does | Default |
|---|---|---|
--family-sharable |
Enable Family Sharing (cannot be undone). | false |
--group-level |
Subscription ordering level (positive integer). | — |
--id |
Subscription ID. | — |
--market-settings |
Markets (comma-separated): APP_STORE, APPLE_SCHOOL, APPLE_BUSINESS. |
— |
--multi-seat-status |
Multi-seat status: ENABLED, DISABLED (Apple default: ENABLED). |
— |
--reference-name |
Reference name. | — |
--review-note |
Review note for App Review. | — |
--subscription-period |
Subscription period: ONE_WEEK, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
asc subscriptions update --id "SUB_ID" --reference-name "New Name"delete
Delete a subscription.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Subscription ID. Required. | — |
asc subscriptions delete --id "SUB_ID" --confirmpricing
Manage subscription pricing.
pricing summary
Show consolidated subscription pricing summary.
Returns the current price, proceeds and year-2 proceeds of each subscription in one territory, much faster than reading every price point.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--territory |
Territory for pricing (accepts alpha-2, alpha-3, or exact English country name). | USA |
asc subscriptions pricing summary --app "APP_ID"pricing prices
Manage subscription price records.
pricing prices list
List prices for a subscription.
--plan-type filters by MONTHLY or UPFRONT prices, --territory by one or more territories, --price-point-id by price point. With --resolved, the current price is returned for each listed territory.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--include |
Relationships to include (comma-separated): territory, subscriptionPricePoint. |
— |
--plan-type |
Filter by plan type: MONTHLY or UPFRONT. |
— |
--price-point-id |
Filter by subscription price point IDs (comma-separated). | — |
--resolved |
Return the current effective price per territory. | false |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
--territory |
Filter by territories (comma-separated; accepts alpha-2, alpha-3, or exact English country name; e.g., US, USA, United States). |
— |
asc subscriptions pricing prices list --subscription-id "SUB_ID"pricing prices set
Set a subscription price.
An identical existing price is returned without another write. --force with --territory rebuilds and re-saves the full equalized price matrix, to repair Apple’s MISSING_METADATA state. --plan-type MONTHLY sets a Monthly with 12-Month Commitment price; it can’t be combined with --force or USA, and needs MONTHLY plan availability.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--force |
Re-save the complete equalized price matrix even when the selected price is unchanged. | false |
--plan-type |
Billing plan: MONTHLY or UPFRONT (default Apple’s UPFRONT). |
— |
--preserved |
Preserve existing prices. | false |
--price |
Customer price to select price point (mutually exclusive with --price-point and --tier). |
— |
--price-point |
Subscription price point ID. | — |
--refresh |
Force refresh of tier cache. | false |
--start-date |
Start date (YYYY-MM-DD). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--territory |
Territory input (accepts alpha-2, alpha-3, or exact English country name; e.g., US, USA, United States). |
— |
--tier |
Pricing tier number (mutually exclusive with --price-point and --price). |
— |
asc subscriptions pricing prices set --subscription-id "SUB_ID" --price-point "PRICE_POINT_ID"pricing prices import
Import subscription prices from a CSV file.
The CSV is UTF-8 with a header row.
| Column | Required | Notes |
|---|---|---|
territory |
yes | Also accepted as Countries or Regions or countries_or_regions. |
price |
yes | |
currency_code |
no | Also accepted as Currency Code. |
start_date, preserved, preserve_current_price, price_point_id |
no | |
plan_type |
no | MONTHLY or UPFRONT; rows without it use --plan-type, then UPFRONT. MONTHLY rows need MONTHLY plan availability and can’t target USA. |
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--confirm |
Confirm creating subscription prices (required unless --dry-run). |
false |
--continue-on-error |
Continue processing rows after failures (default true). | true |
--dry-run |
Validate and resolve price points without creating subscription prices. | false |
--input |
Input CSV file path. Required. | — |
--plan-type |
Default billing plan (MONTHLY or UPFRONT) for rows without plan_type; UPFRONT when omitted. |
— |
--preserved |
Set preserveCurrentPrice=true for rows without preserved columns. |
false |
--start-date |
Default start date (YYYY-MM-DD) for rows without start_date. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions pricing prices import --subscription-id "SUB_ID" --input "./prices.csv" --dry-runpricing prices delete
Delete a subscription price.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--price-id |
Subscription price ID. Required. | — |
asc subscriptions pricing prices delete --price-id "PRICE_ID" --confirmpricing price-points
Manage subscription price points.
pricing price-points list
List price points for a subscription.
Use --territory: without it, every territory is returned (more than 140,000 price points, which takes a long time); with it, about 800. --price finds a specific customer price and --min-price / --max-price a range; these filter on the client after fetching, so combine them with --territory and --paginate. --stream with --paginate prints each page as its own JSON line (NDJSON) instead of holding all pages in memory; it needs JSON output and can’t be combined with --pretty.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--include |
Relationships to include (comma-separated): territory. | — |
--max-price |
Filter by maximum customer price. | — |
--min-price |
Filter by minimum customer price. | — |
--plan-type |
Filter by plan types (comma-separated). | — |
--price |
Filter by exact customer price (e.g., 4.99). | — |
--stream |
Stream pages as NDJSON (requires --paginate; explicit --output must be json; incompatible with --pretty). |
false |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--territory |
Filter by territory (accepts alpha-2, alpha-3, or exact English country name) to reduce results. | — |
--upfront-price-point-id |
Filter by upfront price point IDs (comma-separated). | — |
asc subscriptions pricing price-points list --subscription-id "SUB_ID"pricing price-points view
View a subscription price point by ID.
| Flag | What it does | Default |
|---|---|---|
--price-point-id |
Subscription price point ID. Required. | — |
asc subscriptions pricing price-points view --price-point-id "PRICE_POINT_ID"pricing price-points equalizations
List equalized price points for a subscription price point.
Filters take comma-separated values. --territory-fields includes the territory automatically.
| Flag | What it does | Default |
|---|---|---|
--include |
Relationships to include (comma-separated): territory. | — |
--plan-type |
Filter by plan types (comma-separated). | — |
--price-point-id |
Subscription price point ID. Required. | — |
--subscription-id |
Filter by subscription IDs (comma-separated). | — |
--territory |
Filter by territory IDs or names (comma-separated). | — |
--upfront-price-point-id |
Filter by upfront price point IDs (comma-separated). | — |
asc subscriptions pricing price-points equalizations --price-point-id "PRICE_POINT_ID"pricing price-points adjusted-equalizations
List adjusted equalized price points for a subscription price point.
Filters take comma-separated values. --territory-fields includes the territory automatically. The first page needs both --upfront-price-point-id and --plan-type MONTHLY; a --next URL already carries them.
| Flag | What it does | Default |
|---|---|---|
--include |
Relationships to include (comma-separated): territory. | — |
--plan-type |
Plan type: MONTHLY. Required. |
— |
--price-point-id |
Subscription price point ID. Required. | — |
--subscription-id |
Filter by subscription IDs (comma-separated). | — |
--territory |
Filter by territory IDs or names (comma-separated). | — |
--upfront-price-point-id |
Upfront price point IDs (comma-separated). Required. | — |
asc subscriptions pricing price-points adjusted-equalizations --price-point-id "PRICE_POINT_ID" --upfront-price-point-id "UPFRONT_PRICE_POINT_ID" --plan-type MONTHLYpricing availability
Manage subscription availability.
Deprecated: Apple replaced subscription availability with subscription plan availability in App Store Connect API 4.4. These commands still work; for plan-based availability use pricing plan-availability or pricing monthly-commitment.
pricing availability view
View subscription availability by ID or subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--availability-id |
Subscription availability ID. | — |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions pricing availability view --availability-id "AVAILABILITY_ID"pricing availability available-territories
List available territories for a subscription availability.
List available territories by subscription availability or subscription. Provide exactly one of --availability-id or --subscription-id for an initial request. Use --next instead of either selector to continue from a previous response.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--availability-id |
Subscription availability ID. | — |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions pricing availability available-territories --availability-id "AVAILABILITY_ID"pricing availability edit
Edit subscription availability in territories.
Confirmation is required when --billing-mode monthly-commitment is selected.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--available-in-new-territories |
Include new territories automatically. | false |
--billing-mode |
Billing mode: upfront or monthly-commitment. | upfront |
--confirm |
Confirm monthly-commitment availability changes. | false |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--territories |
Territory IDs, comma-separated. | — |
asc subscriptions pricing availability edit --subscription-id "SUB_ID" --territories "US,Canada"pricing plan-availability
Show and set subscription plan territory availability.
Since App Store Connect API 4.4, availability is set per billing plan (UPFRONT and MONTHLY), one plan availability each.
pricing plan-availability show
Show plan availability and available territories.
Apple includes at most 50 territories per plan availability and reports the real count; the command warns on stderr when the list is cut short. Don’t pass a cut-short list to plan-availability set --territories; use pricing plan-availability available-territories with --paginate for the complete list.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions pricing plan-availability show --subscription-id "SUB_ID"pricing plan-availability available-territories
List available territories for a plan availability.
Reads the full list, without the 50-territory limit of plan-availability show. Use --paginate for the complete list. pricing plan-availability show prints each plan availability ID.
| Flag | What it does | Default |
|---|---|---|
--plan-availability-id |
Subscription plan availability ID. Required. | — |
asc subscriptions pricing plan-availability available-territories --plan-availability-id "PLAN_AVAILABILITY_ID"pricing plan-availability set
Set the complete territory availability for a billing plan.
--territories is the desired state: territories missing from the list are removed and those in it are added. The CLI reads the current territories first, reports what is added, removed and unchanged, and skips the write when nothing changes (changed:false). The plan availability is created if the subscription has none for --plan-type.
Emptying availability is refused here because it removes the subscription from sale; asc web subscriptions availability remove-from-sale does that. --available-in-new-territories applies to UPFRONT plans only. USA is removed from MONTHLY requests.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--available-in-new-territories |
Make the plan available in new territories automatically; UPFRONT only. |
false |
--confirm |
Confirm replacing the plan’s territory availability. Required. | false |
--plan-type |
Billing plan: MONTHLY or UPFRONT. Required. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
--territories |
Complete desired territory list, comma-separated. Required. | — |
asc subscriptions pricing plan-availability set --subscription-id "SUB_ID" --plan-type UPFRONT --territories "United States,Canada" --confirmpricing monthly-commitment
Manage Monthly with 12-Month Commitment subscription availability.
Monthly with 12-Month Commitment needs a subscription with subscriptionPeriod ONE_YEAR. Apple excludes USA.
pricing monthly-commitment enable
Enable monthly-commitment availability.
The subscription must be ONE_YEAR, and each territory must already have an UPFRONT price. USA is removed from --territories. When the current upfront price can be read, the CLI checks that 12 monthly payments add up to at least the annual price and no more than 1.5 times it. It sets the MONTHLY plan availability before creating the MONTHLY prices, the order Apple requires.
--start-date schedules the MONTHLY prices; a territory already priced at --price on that date is skipped. Plan availability still changes immediately, and the upfront checks use today’s prices.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--available-in-new-territories |
Unsupported for MONTHLY plan availability. |
false |
--confirm |
Confirm enabling monthly-commitment prices and availability. | false |
--preserved |
Preserve current prices for existing subscribers. | false |
--price |
Monthly customer price; total commitment is price x 12. | — |
--price-territory |
Territory used to compare the upfront annual price. | — |
--start-date |
Start date (YYYY-MM-DD) for scheduled MONTHLY prices. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--territories |
Territories to enable, comma-separated; USA is excluded. |
— |
asc subscriptions pricing monthly-commitment enable --subscription-id "SUB_ID" --price "9.99" --price-territory "Norway" --territories "Norway,Germany,France" --confirmpricing monthly-commitment disable
Disable monthly-commitment availability.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--confirm |
Confirm disabling monthly-commitment availability. | false |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--territories |
Territories to disable, comma-separated; USA is excluded. |
— |
asc subscriptions pricing monthly-commitment disable --subscription-id "SUB_ID" --territories "Norway" --confirmpricing monthly-commitment list
List monthly-commitment plan availability.
--plan-type filters by MONTHLY or UPFRONT, on the client side.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--plan-type |
Filter by plan type: MONTHLY or UPFRONT. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions pricing monthly-commitment list --subscription-id "SUB_ID"pricing equalize
Set equalized prices for all territories from a base price.
Finds the price point for the base territory and price, fetches Apple’s equalized prices for all other territories, and sets them in one operation. The subscription’s availability must already include every territory to be priced; set it first with pricing availability edit.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--auto-start-date |
Automatically schedule approved/live subscriptions for tomorrow when --start-date is omitted. |
true |
--base-price |
Customer price in the base territory. Required. | — |
--base-territory |
Pricing base territory (accepts alpha-2, alpha-3, or exact English country name). | USA |
--confirm |
Confirm applying equalized prices (required unless --dry-run). |
false |
--dry-run |
Show equalized prices without applying them. | false |
--preserved |
Preserve existing prices. | false |
--start-date |
Start date (YYYY-MM-DD) for scheduled price changes. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
--workers |
Number of concurrent API requests. | 8 |
asc subscriptions pricing equalize --subscription-id "SUB_ID" --base-price "3.49" --dry-runpricing derive
Derive one subscription’s territory prices from another.
For every territory with a current source price, multiplies that local price by --multiplier and picks the target subscription’s Apple price point with --round. Apple’s price steps are uneven, so the chosen target and the multiple achieved are reported for every territory.
--round |
Picks |
|---|---|
exact |
The calculated price; fails if it doesn’t exist. |
nearest |
The closest price; exact ties choose the lower price. |
up |
The lowest price greater than or equal to the calculation. |
down |
The highest price less than or equal to the calculation. |
The source and target must be different subscriptions that already have prices. This derives standard UPFRONT prices; Monthly with 12-Month Commitment prices are under pricing monthly-commitment. --territory limits a preview or apply to one territory.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when either subscription selector is a product ID or name). |
— |
--auto-start-date |
Automatically schedule approved/live target subscriptions for tomorrow when --start-date is omitted. |
true |
--confirm |
Confirm applying derived target prices (required unless --dry-run). |
false |
--dry-run |
Show derived target prices without applying them. | false |
--multiplier |
Positive decimal multiplied by each source territory price. Required. | — |
--preserved |
Preserve current target prices for existing subscribers. | false |
--round |
Price-point resolution: exact, nearest, up, or down. | nearest |
--source-subscription-id |
Source subscription ID, product ID, or exact current name. Required. | — |
--start-date |
Start date (YYYY-MM-DD) for scheduled target price changes. |
— |
--target-subscription-id |
Target subscription ID, product ID, or exact current name. Required. | — |
--territory |
Limit derivation to one territory ID, 2-letter code, or name. | — |
--workers |
Number of concurrent planning workers and price mutations. | 8 |
asc subscriptions pricing derive --source-subscription-id "MONTHLY_ID" --target-subscription-id "YEARLY_ID" --multiplier "10" --dry-runpricing ppp
Plan and apply purchasing-power-parity prices from a base price.
Finds the price point for --base-price in --base-territory and Apple’s equalized price for it in every territory the subscription is priced in, multiplies each by the territory’s price level divided by the base territory’s (rounded to 4 decimals), then picks a price point with --round. The plan reports the equalized, desired, current and selected price for every territory.
--round |
Picks |
|---|---|
exact |
The calculated price; fails if it doesn’t exist. |
nearest |
The closest price; exact ties choose the lower price. |
up |
The lowest price greater than or equal to the calculation. |
down |
The highest price less than or equal to the calculation. |
Price levels come with the CLI: the World Bank PPP conversion factor (GDP) divided by the official exchange rate, latest year from 2021 through 2025, United States = 1. Territories without a price level are skipped and keep their current price.
The subscription must already have UPFRONT prices; only territories priced on the effective date are planned, and --territory limits it to the listed ones. Sale availability is not changed. --confirm builds a fresh plan, applies the changed territories and reads the prices back.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--auto-start-date |
Automatically schedule approved/live subscriptions for tomorrow when --start-date is omitted. |
true |
--base-price |
Customer price in the base territory. Required. | — |
--base-territory |
Base territory (accepts alpha-2, alpha-3, or exact English country name). | USA |
--confirm |
Confirm applying the purchasing-power plan (required unless --dry-run). |
false |
--dry-run |
Show the purchasing-power plan without applying it. | false |
--preserved |
Preserve current prices for existing subscribers. | false |
--round |
Price-point resolution: exact, nearest, up, or down. | nearest |
--start-date |
Start date (YYYY-MM-DD) for scheduled price changes. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
--territory |
Only change these territories (comma-separated alpha-2, alpha-3, or English names). | — |
--workers |
Number of concurrent planning workers and price mutations. | 8 |
asc subscriptions pricing ppp --subscription-id "SUB_ID" --base-price "9.99" --dry-runoffers
Manage subscription offers.
offers introductory
Manage subscription introductory offers.
offers introductory list
List introductory offers for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--include |
Relationships to include (comma-separated): subscription, territory, subscriptionPricePoint. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--territory |
Filter by territories (comma-separated; alpha-2, alpha-3, or English name, e.g. USA,GB). |
— |
asc subscriptions offers introductory list --subscription-id "SUB_ID"offers introductory view
View an introductory offer by subscription and offer ID.
The subscription selector accepts a subscription ID, product ID, or exact current name. Product IDs and names require --app to resolve the subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--id |
Introductory offer ID. Required. | — |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions offers introductory view --subscription-id "SUB_ID" --id "OFFER_ID"offers introductory create
Create an introductory offer.
With --all-territories and --target-subscription-plan-type, an existing offer for the other plan type does not count as already existing. If ASC_TIMEOUT is set, it caps the whole operation.
| Flag | What it does | Default |
|---|---|---|
--all-territories |
Create introductory offers for all current subscription availability territories. | false |
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--continue-on-error |
Continue creating offers after a territory fails. | true |
--dry-run |
Print a summary without creating offers; single-territory mode makes no network requests. | false |
--end-date |
End date (YYYY-MM-DD). |
— |
--number-of-periods |
Number of periods. Required. | — |
--offer-duration |
Offer duration: THREE_DAYS, ONE_WEEK, TWO_WEEKS, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
--offer-mode |
Offer mode: PAY_AS_YOU_GO, PAY_UP_FRONT, FREE_TRIAL. |
— |
--price-point |
Subscription price point ID. | — |
--start-date |
Start date (YYYY-MM-DD). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
--target-subscription-plan-type |
Target subscription plan type: MONTHLY, UPFRONT. |
— |
--territory |
Territory for the offer (accepts alpha-2, alpha-3, or exact English country name; required unless --all-territories). |
— |
asc subscriptions offers introductory create --subscription-id "SUB_ID" --territory "USA" --offer-duration ONE_MONTH --offer-mode FREE_TRIAL --number-of-periods 1offers introductory import
Import introductory offers from a CSV file.
The CSV is UTF-8 with a header row. Values in a row override the command’s flags.
| Column | Required | Notes |
|---|---|---|
territory |
yes | Three-letter App Store Connect territory ID, two-letter country code or English territory name. |
offer_mode, offer_duration, number_of_periods, start_date, end_date |
no | |
price_point_id |
no | Also accepted as price_point. |
target_subscription_plan_type |
no | UPFRONT when neither the row nor the flag sets it. |
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--confirm |
Confirm creating introductory offers (required unless --dry-run). |
false |
--continue-on-error |
Continue processing rows after runtime failures (default true). | true |
--dry-run |
Validate input and print summary without creating offers. | false |
--end-date |
Default end date (YYYY-MM-DD). |
— |
--input |
Input CSV file path. Required. | — |
--number-of-periods |
Default number of periods. | — |
--offer-duration |
Default offer duration. | — |
--offer-mode |
Default offer mode. | — |
--start-date |
Default start date (YYYY-MM-DD). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
--target-subscription-plan-type |
Target subscription plan type: MONTHLY, UPFRONT. |
— |
asc subscriptions offers introductory import --subscription-id "SUB_ID" --input "./offers.csv" --confirmoffers introductory update
Update an introductory offer.
| Flag | What it does | Default |
|---|---|---|
--end-date |
End date (YYYY-MM-DD). |
— |
--id |
Introductory offer ID. | — |
asc subscriptions offers introductory update --id "OFFER_ID" --end-date "2026-02-01"offers introductory delete
Delete an introductory offer.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Introductory offer ID. Required. | — |
asc subscriptions offers introductory delete --id "OFFER_ID" --confirmoffers promotional
Manage subscription promotional offers.
offers promotional list
List promotional offers for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions offers promotional list --subscription-id "SUB_ID"offers promotional view
View a promotional offer by ID.
| Flag | What it does | Default |
|---|---|---|
--id |
Promotional offer ID. Required. | — |
asc subscriptions offers promotional view --id "OFFER_ID"offers promotional create
Create a promotional offer.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--name |
Offer name. | — |
--number-of-periods |
Number of periods. Required. | — |
--offer-code |
Offer code. | — |
--offer-duration |
Offer duration: THREE_DAYS, ONE_WEEK, TWO_WEEKS, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
--offer-mode |
Offer mode: PAY_AS_YOU_GO, PAY_UP_FRONT, FREE_TRIAL. |
— |
--prices |
Promotional offer prices: existing PRICE_ID entries, inline TERRITORY entries, or inline TERRITORY:PRICE_POINT_ID entries; territory accepts alpha-2, alpha-3, or exact English country name. Required. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--target-subscription-plan-type |
Target subscription plan type: MONTHLY, UPFRONT. |
— |
asc subscriptions offers promotional create --subscription-id "SUB_ID" --offer-code "SPRING" --name "Spring" --offer-duration ONE_MONTH --offer-mode FREE_TRIAL --number-of-periods 1 --prices "US"offers promotional update
Update a promotional offer’s prices.
| Flag | What it does | Default |
|---|---|---|
--id |
Promotional offer ID. | — |
--prices |
Promotional offer price ID(s), comma-separated. | — |
asc subscriptions offers promotional update --id "OFFER_ID" --prices "PRICE_ID"offers promotional delete
Delete a promotional offer.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Promotional offer ID. Required. | — |
asc subscriptions offers promotional delete --id "OFFER_ID" --confirmoffers promotional prices
List prices for a promotional offer.
| Flag | What it does | Default |
|---|---|---|
--id |
Promotional offer ID. Required. | — |
asc subscriptions offers promotional prices --id "OFFER_ID"offers offer-codes
Manage subscription offer codes.
offers offer-codes list
List offer codes for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions offers offer-codes list --subscription-id "SUB_ID"offers offer-codes view
View an offer code by ID.
| Flag | What it does | Default |
|---|---|---|
--offer-code-id |
Offer code ID. Required. | — |
asc subscriptions offers offer-codes view --offer-code-id "OFFER_CODE_ID"offers offer-codes create
Create an offer code.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--auto-renew-enabled |
Enable auto-renew: true or false. | — |
--customer-eligibilities |
Customer eligibilities: NEW, EXISTING, EXPIRED. |
— |
--name |
Offer code name. | — |
--number-of-periods |
Number of periods. Required. | — |
--offer-duration |
Offer duration: THREE_DAYS, ONE_WEEK, TWO_WEEKS, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
--offer-eligibility |
Offer eligibility: STACK_WITH_INTRO_OFFERS, REPLACE_INTRO_OFFERS. |
— |
--offer-mode |
Offer mode: PAY_AS_YOU_GO, PAY_UP_FRONT, FREE_TRIAL. |
— |
--prices |
Offer code prices: TERRITORY entries for FREE_TRIAL or TERRITORY:PRICE_POINT_ID entries for paid modes; territory accepts alpha-2, alpha-3, or exact English country name. Required. |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--target-subscription-plan-type |
Target subscription plan type: MONTHLY, UPFRONT. |
— |
asc subscriptions offers offer-codes create --subscription-id "SUB_ID" --name "SPRING" --offer-eligibility STACK_WITH_INTRO_OFFERS --customer-eligibilities NEW --offer-duration ONE_MONTH --offer-mode FREE_TRIAL --number-of-periods 1 --prices "US"offers offer-codes update
Update an offer code.
| Flag | What it does | Default |
|---|---|---|
--active |
Enable or disable the offer code: true or false. | — |
--offer-code-id |
Offer code ID. | — |
asc subscriptions offers offer-codes update --offer-code-id "OFFER_CODE_ID" --active falseoffers offer-codes custom-codes
Manage custom offer codes.
offers offer-codes custom-codes list
List custom codes for a subscription offer.
| Flag | What it does | Default |
|---|---|---|
--offer-code-id |
Subscription offer code ID. Required. | — |
asc subscriptions offers offer-codes custom-codes list --offer-code-id "OFFER_CODE_ID"offers offer-codes custom-codes view
View a custom code by ID.
| Flag | What it does | Default |
|---|---|---|
--custom-code-id |
Custom code ID. Required. | — |
asc subscriptions offers offer-codes custom-codes view --custom-code-id "CUSTOM_CODE_ID"offers offer-codes custom-codes create
Create custom codes for a subscription offer.
| Flag | What it does | Default |
|---|---|---|
--code |
Custom code value. Required. | — |
--expiration-date |
Expiration date (YYYY-MM-DD). |
— |
--offer-code-id |
Subscription offer code ID. Required. | — |
--quantity |
Number of codes to create. Required. | — |
asc subscriptions offers offer-codes custom-codes create --offer-code-id "OFFER_CODE_ID" --code "SPRING2026" --quantity 10offers offer-codes custom-codes update
Update a custom code.
| Flag | What it does | Default |
|---|---|---|
--active |
Set active (true/false). | — |
--custom-code-id |
Custom code ID. Required. | — |
asc subscriptions offers offer-codes custom-codes update --custom-code-id "CUSTOM_CODE_ID" --active falseoffers offer-codes one-time-codes
Manage one-time use code batches for an offer code.
offers offer-codes one-time-codes list
List one-time use code batches for an offer code.
| Flag | What it does | Default |
|---|---|---|
--offer-code-id |
Offer code ID. Required. | — |
asc subscriptions offers offer-codes one-time-codes list --offer-code-id "OFFER_CODE_ID"offers offer-codes one-time-codes view
View a one-time use code batch by ID.
| Flag | What it does | Default |
|---|---|---|
--batch-id |
One-time use code batch ID. Required. | — |
asc subscriptions offers offer-codes one-time-codes view --batch-id "ONE_TIME_USE_CODE_ID"offers offer-codes one-time-codes update
Turn off a one-time use code batch.
Turning a batch off is permanent: Apple rejects --active true on an inactive batch, so --active false requires --confirm.
| Flag | What it does | Default |
|---|---|---|
--active |
Set active (true/false). Required. | — |
--batch-id |
One-time use code batch ID. Required. | — |
--confirm |
Confirm --active false, which is permanent. Required. |
false |
asc subscriptions offers offer-codes one-time-codes update --batch-id "ONE_TIME_USE_CODE_ID" --active false --confirmoffers offer-codes generate
Generate one-time use offer codes for a subscription offer.
| Flag | What it does | Default |
|---|---|---|
--environment |
Offer code environment: PRODUCTION or SANDBOX. |
— |
--expiration-date |
Expiration date (YYYY-MM-DD). Required. |
— |
--offer-code-id |
Subscription offer code ID. Required. | — |
--output-format |
Output format for metadata: json (default), table, markdown. | json |
--quantity |
Number of one-time use codes to generate. Required. | — |
asc subscriptions offers offer-codes generate --offer-code-id "OFFER_CODE_ID" --quantity 10 --expiration-date "2026-02-01"offers offer-codes values
Fetch one-time use offer code values for a batch.
| Flag | What it does | Default |
|---|---|---|
--batch-id |
One-time use offer code batch ID. Required. | — |
--format |
Output file format: text, csv. | text |
asc subscriptions offers offer-codes values --batch-id "ONE_TIME_USE_CODE_ID"offers offer-codes prices
List prices for an offer code.
| Flag | What it does | Default |
|---|---|---|
--offer-code-id |
Offer code ID. Required. | — |
asc subscriptions offers offer-codes prices --offer-code-id "OFFER_CODE_ID"offers win-back
Manage subscription win-back offers.
offers win-back list
List win-back offers for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--include |
Include related resources: prices. | — |
--prices-limit |
Maximum included prices per offer (1-50). | — |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions offers win-back list --subscription-id "SUB_ID"offers win-back view
View a win-back offer by ID.
| Flag | What it does | Default |
|---|---|---|
--id |
Win-back offer ID. Required. | — |
asc subscriptions offers win-back view --id "OFFER_ID"offers win-back create
Create a win-back offer.
Paid offer modes (PAY_AS_YOU_GO, PAY_UP_FRONT) require --price with subscription price point IDs. FREE_TRIAL offers carry no price point, so they require --territory instead.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--duration |
Offer duration: THREE_DAYS, ONE_WEEK, TWO_WEEKS, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
--eligibility-last-subscribed-max |
Maximum months since last subscribed. | — |
--eligibility-last-subscribed-min |
Minimum months since last subscribed. | — |
--eligibility-paid-months |
Paid subscription duration in months. Required. | — |
--eligibility-wait-months |
Wait between offers in months (optional). | — |
--end-date |
End date (YYYY-MM-DD). |
— |
--offer-id |
Offer ID. | — |
--offer-mode |
Offer mode: PAY_AS_YOU_GO, PAY_UP_FRONT, FREE_TRIAL. |
— |
--period-count |
Number of periods. Required. | — |
--price |
Subscription price point ID(s), comma-separated (required for paid offer modes). | — |
--priority |
Offer priority: HIGH, NORMAL. |
— |
--promotion-intent |
Promotion intent: NOT_PROMOTED, USE_AUTO_GENERATED_ASSETS. |
— |
--reference-name |
Reference name. | — |
--start-date |
Start date (YYYY-MM-DD). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--target-subscription-plan-type |
Target subscription plan type: MONTHLY, UPFRONT. |
— |
--territory |
Territories for FREE_TRIAL offers, comma-separated (accepts alpha-2, alpha-3, or exact English country names). |
— |
asc subscriptions offers win-back create --subscription-id "SUB_ID" --reference-name "spring-2026" --offer-id "OFFER-1" --duration ONE_MONTH --offer-mode PAY_AS_YOU_GO --period-count 1 --eligibility-paid-months 6 --eligibility-last-subscribed-min 3 --eligibility-last-subscribed-max 12 --start-date "2026-02-01" --priority HIGH --price "SUBSCRIPTION_PRICE_POINT_ID"offers win-back update
Update a win-back offer.
| Flag | What it does | Default |
|---|---|---|
--eligibility-last-subscribed-max |
Maximum months since last subscribed. | — |
--eligibility-last-subscribed-min |
Minimum months since last subscribed. | — |
--eligibility-paid-months |
Paid subscription duration in months. | — |
--eligibility-wait-months |
Wait between offers in months. | — |
--end-date |
End date (YYYY-MM-DD). |
— |
--id |
Win-back offer ID. | — |
--priority |
Offer priority: HIGH, NORMAL. |
— |
--promotion-intent |
Promotion intent: NOT_PROMOTED, USE_AUTO_GENERATED_ASSETS. |
— |
--start-date |
Start date (YYYY-MM-DD). |
— |
asc subscriptions offers win-back update --id "OFFER_ID" --priority NORMALoffers win-back delete
Delete a win-back offer.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Win-back offer ID. Required. | — |
asc subscriptions offers win-back delete --id "OFFER_ID" --confirmoffers win-back prices
List prices for a win-back offer.
| Flag | What it does | Default |
|---|---|---|
--id |
Win-back offer ID. Required. | — |
--include |
Include related resources: territory, subscriptionPricePoint. |
— |
--territory |
Territory inputs, comma-separated (accepts alpha-2, alpha-3, or exact English country names). | — |
asc subscriptions offers win-back prices --id "OFFER_ID"offers win-back prices-links
List price relationships for a win-back offer.
| Flag | What it does | Default |
|---|---|---|
--id |
Win-back offer ID. Required. | — |
asc subscriptions offers win-back prices-links --id "OFFER_ID"offers win-back links
List win-back offer relationships for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions offers win-back links --subscription-id "SUB_ID"offers retention
Manage subscription retention offers.
Retention offers are discounts shown with a subscription’s retention message when people start to cancel. Creating an offer does not present it; use presented add to present it with the subscription’s retention message.
offers retention list
List retention offers for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--include |
Include related resources: prices, subscription. | — |
--prices-limit |
Maximum included prices per offer (1-50; requires --include prices). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions offers retention list --subscription-id "SUB_ID"offers retention links
List retention offer relationships for a subscription.
| Flag | What it does | Default |
|---|---|---|
--subscription-id |
Subscription ID. Required. | — |
asc subscriptions offers retention links --subscription-id "SUB_ID"offers retention view
View a retention offer by ID.
| Flag | What it does | Default |
|---|---|---|
--id |
Retention offer ID. Required. | — |
--include |
Include related resources: prices, subscription. | — |
--prices-limit |
Maximum included prices per offer (1-50; requires --include prices). |
— |
asc subscriptions offers retention view --id "OFFER_ID"offers retention create
Create a retention offer.
Each --price is a subscription price point ID; the price point sets the territory, so add one per territory (find them with pricing price-points list). Creating an offer does not present it; use offers retention presented add.
Apple’s default target plan type is UPFRONT. --target-subscription-plan-type MONTHLY only works when the subscription offers the Monthly with 12-Month Commitment plan in each price point’s territory.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--duration |
Offer duration: THREE_DAYS, ONE_WEEK, TWO_WEEKS, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR. |
— |
--eligibility-paid-months |
Minimum months of paid subscription for eligibility: 1-24, 36, 48, or 60. Required. | — |
--eligibility-wait-months |
Months to wait before redeeming another retention offer: 2-24. | — |
--offer-id |
Offer identifier used by StoreKit. | — |
--offer-mode |
Offer mode: PAY_AS_YOU_GO, PAY_UP_FRONT, FREE_TRIAL. |
— |
--period-count |
Number of offer periods. Required. | — |
--price |
Subscription price point ID(s), comma-separated, one per territory. Required. | — |
--reference-name |
Reference name (not shown to customers). | — |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
--target-subscription-plan-type |
Target subscription plan type: MONTHLY, UPFRONT. |
— |
asc subscriptions offers retention create --subscription-id "SUB_ID" --reference-name "winter" --offer-id "winter_one_month" --duration ONE_MONTH --offer-mode PAY_UP_FRONT --period-count 1 --eligibility-paid-months 3 --eligibility-wait-months 6 --target-subscription-plan-type UPFRONT --price "SUBSCRIPTION_PRICE_POINT_ID"offers retention update
Update a retention offer’s eligibility.
The eligibility attributes are the only attributes Apple lets you change. Apple rejects clearing the wait between offers (null), so set a new value instead.
| Flag | What it does | Default |
|---|---|---|
--eligibility-paid-months |
Minimum months of paid subscription for eligibility: 1-24, 36, 48, or 60. | — |
--eligibility-wait-months |
Months to wait before redeeming another retention offer: 2-24. | — |
--id |
Retention offer ID. Required. | — |
asc subscriptions offers retention update --id "OFFER_ID" --eligibility-paid-months 6offers retention delete
Delete a retention offer.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Retention offer ID. Required. | — |
asc subscriptions offers retention delete --id "OFFER_ID" --confirmoffers retention prices
List retention offer prices.
offers retention prices list
List prices for a retention offer.
| Flag | What it does | Default |
|---|---|---|
--id |
Retention offer ID. Required. | — |
--include |
Include related resources: subscriptionPricePoint, territory. |
— |
--territory |
Filter by territories, comma-separated (alpha-2, alpha-3, or exact English country names). | — |
asc subscriptions offers retention prices list --id "OFFER_ID"offers retention prices links
List price relationships for a retention offer.
| Flag | What it does | Default |
|---|---|---|
--id |
Retention offer ID. Required. | — |
asc subscriptions offers retention prices links --id "OFFER_ID"offers retention presented
Manage the retention offers presented with a subscription’s retention message.
Add an offer here to present it with the subscription’s retention message; remove it to stop. Apple rejects presented add until a retention message is assigned to the subscription (retention-messages assign).
offers retention presented list
List the retention offers presented with a subscription’s retention message.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--include |
Include related resources: prices, subscription. | — |
--prices-limit |
Maximum included prices per offer (1-50; requires --include prices). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions offers retention presented list --subscription-id "SUB_ID"offers retention presented links
List the relationships of the retention offers presented with a subscription’s retention message.
| Flag | What it does | Default |
|---|---|---|
--subscription-id |
Subscription ID. Required. | — |
asc subscriptions offers retention presented links --subscription-id "SUB_ID"offers retention presented add
Present retention offers with a subscription’s retention message.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--retention-offer-id |
Retention offer ID(s), comma-separated. Required. | — |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions offers retention presented add --subscription-id "SUB_ID" --retention-offer-id "OFFER_ID,OFFER_ID_2"offers retention presented remove
Stop presenting retention offers with a subscription’s retention message.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--confirm |
Confirm removal. Required. | false |
--retention-offer-id |
Retention offer ID(s), comma-separated. Required. | — |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions offers retention presented remove --subscription-id "SUB_ID" --retention-offer-id "OFFER_ID,OFFER_ID_2" --confirmreview
Manage subscription review workflows.
These manage the review assets on a subscription. To submit a subscription or group version, add it to a review submission:
asc review items add --submission "SUBMISSION_ID" --item-type subscriptionVersions --item-id "SUBSCRIPTION_VERSION_ID"
asc review items add --submission "SUBMISSION_ID" --item-type subscriptionGroupVersions --item-id "GROUP_VERSION_ID"review screenshots
Manage subscription App Store review screenshots.
review screenshots view
View a review screenshot by ID.
| Flag | What it does | Default |
|---|---|---|
--screenshot-id |
Review screenshot ID. Required. | — |
asc subscriptions review screenshots view --screenshot-id "SHOT_ID"review screenshots create
Upload a review screenshot for a subscription.
The file must be a PNG or JPEG named .png, .jpg or .jpeg. The command warns, and still uploads, when the size matches no documented App Store screenshot size (such as 1290x2796 for iPhone), the image has an alpha channel, or the image doesn’t fully decode. If App Store Connect rejects the image, delete the screenshot and upload a corrected file.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--file |
Path to review screenshot file. | — |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions review screenshots create --subscription-id "SUB_ID" --file "./screenshot.png"review screenshots update
Update a review screenshot.
| Flag | What it does | Default |
|---|---|---|
--checksum |
Source file checksum (MD5). | — |
--screenshot-id |
Review screenshot ID. | — |
--uploaded |
Mark upload complete: true or false. | — |
asc subscriptions review screenshots update --screenshot-id "SHOT_ID" --uploaded true --checksum "HASH"review screenshots delete
Delete a review screenshot.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--screenshot-id |
Review screenshot ID. Required. | — |
asc subscriptions review screenshots delete --screenshot-id "SHOT_ID" --confirmreview app-store-screenshot
Inspect the App Store review screenshot for a subscription.
review app-store-screenshot view
View the App Store review screenshot for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions review app-store-screenshot view --subscription-id "SUBSCRIPTION_ID"promoted-purchases
Manage promoted purchases for subscriptions.
Only promoted purchases attached to subscriptions are listed or modified. Link operations preserve any in-app purchase promoted purchases already attached to the app.
promoted-purchases list
List promoted purchases for subscriptions in an app.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). |
— |
asc subscriptions promoted-purchases list --app "APP_ID"promoted-purchases view
View a promoted purchase for a subscription by ID.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--promoted-purchase-id |
Promoted purchase ID. | — |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions promoted-purchases view --promoted-purchase-id "PROMO_ID"promoted-purchases create
Create a promoted purchase for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). Required. |
— |
--enabled |
Enable or disable the promoted purchase. | — |
--product-id |
Subscription ID. Required. | — |
--visible-for-all-users |
Visible for all users: true or false. Required. | — |
asc subscriptions promoted-purchases create --app "APP_ID" --product-id "SUB_ID" --visible-for-all-users truepromoted-purchases update
Update a promoted purchase for a subscription.
| Flag | What it does | Default |
|---|---|---|
--enabled |
Enable or disable the promoted purchase. | — |
--promoted-purchase-id |
Promoted purchase ID. Required. | — |
--visible-for-all-users |
Visible for all users: true or false. | — |
asc subscriptions promoted-purchases update --promoted-purchase-id "PROMO_ID" --visible-for-all-users falsepromoted-purchases delete
Delete a promoted purchase for a subscription.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--promoted-purchase-id |
Promoted purchase ID. Required. | — |
asc subscriptions promoted-purchases delete --promoted-purchase-id "PROMO_ID" --confirmpromoted-purchases link
Link or clear promoted purchases for subscriptions while preserving in-app purchases.
Only promoted purchases for subscriptions are changed; those for in-app purchases are kept.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). Required. |
— |
--clear |
Remove all promoted purchases from the app. | false |
--confirm |
Confirm removal when using --clear. |
false |
--promoted-purchase-id |
Comma-separated promoted purchase IDs. | — |
asc subscriptions promoted-purchases link --app "APP_ID" --promoted-purchase-id "PROMO_ID"versions
Manage version-scoped subscription metadata.
Version IDs are not subscription product IDs. The older product-scoped localization and image commands are deprecated; use these.
versions create
Create a subscription version.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. Required. | — |
asc subscriptions versions create --subscription-id "SUBSCRIPTION_ID"versions list
List versions for a subscription.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--images-limit |
Maximum included images (1-50). | — |
--include |
Include relationships: subscription,image,images,localizations. |
— |
--localizations-limit |
Maximum included localizations (1-50). | — |
--state |
Filter by version state (comma-separated). | — |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
asc subscriptions versions list --subscription-id "SUBSCRIPTION_ID"versions view
View a subscription version.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription version ID. Required. | — |
--images-limit |
Maximum included images (1-50). | — |
--include |
Include relationships: subscription,image,images,localizations. |
— |
--localizations-limit |
Maximum included localizations (1-50). | — |
asc subscriptions versions view --id "VERSION_ID"versions links
List raw subscription version linkages.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID; required when --subscription-id uses a product ID or name). |
— |
--subscription-id |
Subscription ID, product ID, or exact current name. | — |
versions localizations
Manage version-scoped subscription localizations.
versions localizations list
List localizations for a subscription version.
| Flag | What it does | Default |
|---|---|---|
--include |
Include relationships: version. | — |
--version-id |
Subscription version ID. | — |
asc subscriptions versions localizations list --version-id "VERSION_ID"versions localizations links
List raw localization linkages.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Subscription version ID. | — |
versions localizations view
View a version-scoped localization.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription localization ID. Required. | — |
--include |
Include relationships: version. | — |
versions localizations create
Create a version-scoped localization.
| Flag | What it does | Default |
|---|---|---|
--description |
Localized description (may be empty). | — |
--locale |
Localization locale. | — |
--name |
Localized display name. | — |
--version-id |
Subscription version ID. | — |
asc subscriptions versions localizations create --version-id "VERSION_ID" --locale "en-US" --name "Premium"versions localizations update
Update a version-scoped localization.
The locale can’t be changed.
| Flag | What it does | Default |
|---|---|---|
--clear-description |
Set the localized description to null. | false |
--clear-name |
Set the localized display name to null. | false |
--description |
Localized description (may be empty). | — |
--id |
Subscription localization ID. | — |
--name |
Localized display name (may be empty). | — |
asc subscriptions versions localizations update --id "LOCALIZATION_ID" --name "Pro Plus"versions localizations delete
Delete a version-scoped localization.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Subscription localization ID. Required. | — |
versions localizations import
Create or update localizations from a JSON file.
Creates or updates localizations for a version from one JSON file that maps each locale to the fields to set:
{"en-US": {"name": "Premium", "description": "All features"}, "de-DE": {"name": "Premium"}}Fields: name, description. Values must be non-empty strings. Omit a field to leave it unchanged; import never clears a field or deletes a locale. A locale missing from the version is created and needs name. An existing locale is updated only with the fields that differ, so running the same file again is safe.
The command reads the version’s localizations once and validates the whole plan before writing. --dry-run prints the plan without writing. With --confirm, each locale is written independently: a failed locale is reported and the others still run. The receipt lists every locale’s action and status, and the command exits non-zero when any locale failed.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm writing localizations (required unless --dry-run). |
false |
--dry-run |
Print the create/update/skip plan without writing. | false |
--file |
Path to a JSON file mapping locales to fields. Required. | — |
--version-id |
Subscription version ID. Required. | — |
asc subscriptions versions localizations import --version-id "VERSION_ID" --file "./localizations.json" --dry-runversions images
Manage version-scoped subscription images.
versions images list
List images for a subscription version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Subscription version ID. | — |
asc subscriptions versions images list --version-id "VERSION_ID"versions images primary
View the singular image for a version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Subscription version ID. Required. | — |
versions images links
List raw image linkages.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Subscription version ID. | — |
versions images primary-link
View the singular image linkage.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Subscription version ID. Required. | — |
versions images view
View a version-scoped image.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription image ID. Required. | — |
versions images upload
Upload a version-scoped subscription image.
Reserves, uploads and commits the image.
| Flag | What it does | Default |
|---|---|---|
--file |
Path to image file. | — |
--version-id |
Subscription version ID. | — |
asc subscriptions versions images upload --version-id "VERSION_ID" --file "./image.png"versions images update
Update a version-scoped image.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription image ID. Required. | — |
--uploaded |
Mark upload complete: true or false. Required. | — |
versions images delete
Delete a version-scoped image.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Subscription image ID. Required. | — |
grace-periods
Inspect subscription grace periods.
grace-periods view
View a subscription grace period by ID.
| Flag | What it does | Default |
|---|---|---|
--id |
Subscription grace period ID. Required. | — |
asc subscriptions grace-periods view --id "GRACE_PERIOD_ID"grace-periods update
Update a subscription grace period.
| Flag | What it does | Default |
|---|---|---|
--duration |
Grace period duration: THREE_DAYS, SIXTEEN_DAYS, TWENTY_EIGHT_DAYS. |
— |
--id |
Subscription grace period ID. | — |
--opt-in |
Enable grace period opt-in: true or false. | — |
--renewal-type |
Grace period renewal type: ALL_RENEWALS, PAID_TO_PAID_ONLY. |
— |
--sandbox-opt-in |
Enable grace period sandbox opt-in: true or false. | — |
asc subscriptions grace-periods update --id "GRACE_PERIOD_ID" --duration SIXTEEN_DAYS --opt-in trueretention-messages
Manage retention messages shown when people cancel a subscription.
A message keeps its content in versions. Create a message and a version, add localized text, optionally place an asset library image, assign the message to a subscription, then submit the version for review:
asc review items add --submission "SUBMISSION_ID" --item-type retentionMessageVersions --item-id "VERSION_ID"Apple accepts that submission only when the app already has an approved App Store version, or the submission also includes one. An app can have at most 10 retention messages, and a subscription at most one. To choose messages in real time from your server, use storekit retention-messaging.
retention-messages list
List retention messages for an app.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). Required. |
— |
--include |
Include relationships: subscriptions, versions. | — |
--subscriptions-limit |
Maximum included subscriptions (1-50). | — |
--versions-limit |
Maximum included versions (1-50). | — |
asc subscriptions retention-messages list --app "APP_ID"retention-messages view
View a retention message.
| Flag | What it does | Default |
|---|---|---|
--id |
Retention message ID. Required. | — |
--include |
Include relationships: subscriptions, versions. | — |
--subscriptions-limit |
Maximum included subscriptions (1-50). | — |
--versions-limit |
Maximum included versions (1-50). | — |
asc subscriptions retention-messages view --id "MESSAGE_ID" --include versionsretention-messages create
Create a retention message for an app.
The reference name (up to 64 characters) isn’t shown to people and can’t be changed later.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). Required. |
— |
--reference-name |
Reference name (up to 64 characters). Required. | — |
asc subscriptions retention-messages create --app "APP_ID" --reference-name "winter-stay"retention-messages delete
Delete a retention message.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Retention message ID. Required. | — |
asc subscriptions retention-messages delete --id "ID" --confirmretention-messages assigned
View the retention message assigned to a subscription.
| Flag | What it does | Default |
|---|---|---|
--include |
Include relationships: subscriptions, versions. | — |
--subscription-id |
Subscription ID. Required. | — |
--subscriptions-limit |
Maximum included subscriptions (1-50). | — |
--versions-limit |
Maximum included versions (1-50). | — |
asc subscriptions retention-messages assigned --subscription-id "SUB_ID"retention-messages assign
Assign a retention message to a subscription.
A subscription has at most one retention message; assigning one replaces the current message. Apple has no unassign request; deleting the message clears the assignment. Assign a message before presenting retention offers with it.
| Flag | What it does | Default |
|---|---|---|
--message-id |
Retention message ID. Required. | — |
--subscription-id |
Subscription ID. Required. | — |
asc subscriptions retention-messages assign --subscription-id "SUB_ID" --message-id "MESSAGE_ID"retention-messages subscriptions
List subscriptions that use a retention message.
retention-messages subscriptions list
List subscriptions assigned to a retention message.
| Flag | What it does | Default |
|---|---|---|
--message-id |
Retention message ID. Required. | — |
--name |
Filter by subscription names (comma-separated). | — |
--product-id |
Filter by product IDs (comma-separated). | — |
--sort |
Sort order: name, -name. | — |
--state |
Filter by states (comma-separated). | — |
asc subscriptions retention-messages subscriptions list --message-id "MESSAGE_ID" --state APPROVEDretention-messages versions
Manage retention message versions.
retention-messages versions list
List versions of a retention message.
| Flag | What it does | Default |
|---|---|---|
--include |
Include relationships: localizations, placement, retentionMessage. |
— |
--localizations-limit |
Maximum included localizations (1-50). | — |
--message-id |
Retention message ID. Required. | — |
asc subscriptions retention-messages versions list --message-id "MESSAGE_ID" --include localizationsretention-messages versions view
View a retention message version and its review state.
| Flag | What it does | Default |
|---|---|---|
--id |
Retention message version ID. Required. | — |
--include |
Include relationships: localizations, placement, retentionMessage. |
— |
--localizations-limit |
Maximum included localizations (1-50). | — |
asc subscriptions retention-messages versions view --id "VERSION_ID" --include localizations,placementretention-messages versions create
Create a version of a retention message.
A version starts in PREPARE_FOR_SUBMISSION and can’t be changed or deleted after it is created; to change approved content, create a new version. Leave out --placement-id for a text-only message, or add an image later with retention-messages versions placement create.
| Flag | What it does | Default |
|---|---|---|
--message-id |
Retention message ID. Required. | — |
--placement-id |
Existing asset library placement ID (optional). | — |
asc subscriptions retention-messages versions create --message-id "MESSAGE_ID"retention-messages versions placement
View or create the image placement of a retention message version.
retention-messages versions placement view
View the asset library placement of a retention message version.
| Flag | What it does | Default |
|---|---|---|
--include |
Include relationships: image, retentionMessageVersion, video. |
— |
--version-id |
Retention message version ID. Required. | — |
asc subscriptions retention-messages versions placement view --version-id "VERSION_ID" --include imageretention-messages versions placement create
Place an asset library image on a retention message version.
Retention messages take images only, with placement type RETENTION_MESSAGE_ASSET in the DEFAULT_PROFILE group, at most one per version. Check Apple’s current image spec with:
asc asset-library specs --placement-type RETENTION_MESSAGE_ASSET --feature RETENTION_MESSAGINGUpload the image with asc asset-library images upload first. Apple can take longer than the default upload wait to process it, so raise ASC_UPLOAD_TIMEOUT or check the image state with asc asset-library images view before placing it. This does not submit the version for review.
| Flag | What it does | Default |
|---|---|---|
--image-id |
Uploaded asset library image ID. Required. | — |
--version-id |
Retention message version ID. Required. | — |
asc subscriptions retention-messages versions placement create --version-id "VERSION_ID" --image-id "IMAGE_ID"retention-messages localizations
Manage localized retention message text.
retention-messages localizations list
List localizations of a retention message version.
| Flag | What it does | Default |
|---|---|---|
--include |
Include relationships: retentionMessageVersion. |
— |
--version-id |
Retention message version ID. Required. | — |
asc subscriptions retention-messages localizations list --version-id "VERSION_ID"retention-messages localizations view
View a retention message localization.
| Flag | What it does | Default |
|---|---|---|
--id |
Retention message localization ID. Required. | — |
--include |
Include relationships: retentionMessageVersion. |
— |
asc subscriptions retention-messages localizations view --id "LOCALIZATION_ID"retention-messages localizations create
Create a localization for a retention message version.
The header can contain up to 66 characters and the body up to 144. Apple rejects new localizations on an APPROVED version.
| Flag | What it does | Default |
|---|---|---|
--body |
Body text (up to 144 characters). | — |
--header |
Header text (up to 66 characters). | — |
--locale |
Locale (for example, en-US). Required. |
— |
--version-id |
Retention message version ID. Required. | — |
asc subscriptions retention-messages localizations create --version-id "VERSION_ID" --locale en-US --header "Your cortado is waiting" --body "Stay subscribed and keep your daily cortado coming."retention-messages localizations update
Update the header or body of a retention message localization.
The locale can’t be changed; delete the localization and create a new one instead.
| Flag | What it does | Default |
|---|---|---|
--body |
Body text (up to 144 characters). | — |
--clear-body |
Set the body to null. | false |
--clear-header |
Set the header to null. | false |
--header |
Header text (up to 66 characters). | — |
--id |
Retention message localization ID. Required. | — |
asc subscriptions retention-messages localizations update --id "LOCALIZATION_ID" --body "Stay subscribed for one more month."retention-messages localizations delete
Delete a retention message localization.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | false |
--id |
Retention message localization ID. Required. | — |
asc subscriptions retention-messages localizations delete --id "ID" --confirmretention-messages links
View raw retention messaging relationship linkages.
retention-messages links messages
View retention message linkages for an app.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). Required. |
— |
asc subscriptions retention-messages links messages --app "ID"retention-messages links versions
View version linkages for a retention message.
| Flag | What it does | Default |
|---|---|---|
--message-id |
Retention message ID. Required. | — |
asc subscriptions retention-messages links versions --message-id "ID"retention-messages links subscriptions
View subscription linkages for a retention message.
| Flag | What it does | Default |
|---|---|---|
--message-id |
Retention message ID. Required. | — |
asc subscriptions retention-messages links subscriptions --message-id "ID"retention-messages links localizations
View localization linkages for a retention message version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Retention message version ID. Required. | — |
asc subscriptions retention-messages links localizations --version-id "ID"retention-messages links placement
View the placement linkage for a retention message version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
Retention message version ID. Required. | — |
asc subscriptions retention-messages links placement --version-id "ID"retention-messages links assigned
View the retention message linkage for a subscription.
| Flag | What it does | Default |
|---|---|---|
--subscription-id |
Subscription ID. Required. | — |
asc subscriptions retention-messages links assigned --subscription-id "ID"