Create subscription
create-subscriptionCreates an auto-renewable subscription in a subscription group. Requires a product ID and reference name, then supports adding localizations and prices.
Instructions
Create an auto-renewable subscription in a subscription group. Requires productId (permanent) and name. Then add localizations and prices (create-subscription-localization, create-subscription-price).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Reference name for the subscription (e.g. Premium Weekly) | |
| productId | Yes | Product ID (e.g. premium_weekly_v1). Permanent; cannot be reused if deleted. | |
| groupLevel | No | Level within the group for display order (0-based) | |
| reviewNote | No | Note for App Review (e.g. test account) | |
| familySharable | No | Whether the subscription is shareable with family | |
| subscriptionPeriod | No | Duration: ONE_WEEK, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR | |
| subscriptionGroupId | Yes | Subscription group ID (from list-subscription-groups or list-subscription-group-subscriptions context) |