create_subscription
Create an auto-renewable subscription in a group with USA price and optional free trial. Automatically sets territory availability and is idempotent.
Instructions
Create (idempotently) an auto-renewable subscription inside a group, with USA price and an optional free trial. Sets territory availability automatically. Pro feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | App Store Connect app ID | |
| locale | No | Localization locale (default en-US) | |
| period | Yes | Billing period | |
| price_usd | Yes | USA price in dollars, e.g. 4.99 | |
| free_trial | No | Free-trial length. Omit for no trial. | |
| product_id | Yes | Subscription product ID, e.g. com.app.plus.monthly | |
| description | Yes | Customer-facing description (max 45 chars) | |
| group_level | No | Rank within the group (1 = top tier; default 1). Higher-value plans get a lower number. | |
| review_note | No | Notes for App Review: how to reach the paywall, test instructions | |
| display_name | Yes | Customer-facing name (max 30 chars) | |
| reference_name | Yes | Internal reference name | |
| family_sharable | No | Allow Family Sharing of this subscription (default false). | |
| group_display_name | Yes | Customer-facing group name | |
| group_reference_name | Yes | Subscription group reference name (created if absent) |