ASC Finalize Subscription
asc_finalize_subscriptionFinalize one App Store Connect subscription by applying localization, availability, price, and intro offer in sequence; returns step results or an approval request before live writes.
Instructions
Finalize one subscription in order: localization, availability (all but CHN), price, intro offer (live write, needs human approval).
Use when: fixing a single product by hand. Prefer store_setup, which does every product idempotently. Pass the spec product's intro (e.g. {"type": "free", "duration": "P3D"}); offer products get no intro. Returns: {ok, steps...} per step, or an approval_required refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subscription display name shown to users (en-US). | |
| intro | No | Intro offer from the spec product, e.g. {"type": "free", "duration": "P3D"}; omit for offer products (no intro). | |
| period | No | Ignored; kept for backward compatibility. | |
| sub_id | Yes | App Store Connect subscription id. | |
| usd_price | Yes | USD base price as a decimal string, e.g. '49.99'. | |
| 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. | |
| description | Yes | Subscription description shown to users (en-US). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||