ASC Create Subscription
asc_create_subscriptionCreate an App Store Connect subscription product in a group; handles live writes via human approval and returns approval_required when needed.
Instructions
Create a subscription product inside a subscription group (live write, needs human approval).
Use when: hand-building a single product. Prefer store_setup for the whole spec. Returns: {ok, data: {data: {id, ...}}} or an approval_required refusal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"group_id": "<group_id>",
"product_id": "<product_id>",
"name": "<name>"
},
"name": "asc_create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal reference name of the subscription product. | |
| period | No | Subscription period enum: ONE_WEEK, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS or ONE_YEAR. | ONE_YEAR |
| group_id | Yes | App Store Connect subscription group id. | |
| product_id | Yes | Product identifier of the subscription, e.g. com.example.app.yearly. | |
| approval_id | No | Approval id from a previous approval_required refusal; omit on the first call. The human approves out-of-band with `appfactory approve <id>`, then call again with the same arguments and this id. | |
| family_shareable | No | Whether the subscription can be shared with family members; default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||