ASC Ensure Subscription Prices
asc_ensure_subscription_pricesSet prices on app subscriptions missing one to clear MISSING_METADATA; already priced subscriptions are skipped. Live write needs human approval.
Instructions
Set a price on every subscription of the app that has none, clearing MISSING_METADATA (live write, needs human approval).
Use when: subscriptions are stuck in MISSING_METADATA for price. Idempotent: priced subscriptions are skipped. Returns: {ok, priced: [...], skipped: [...]} or an approval_required refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle_id | Yes | App bundle identifier in reverse-DNS form, e.g. com.example.app. | |
| 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. | |
| default_usd | No | USD price string applied to subscriptions not listed in usd_price_by_product. | |
| usd_price_by_product | No | Map of subscription productId to USD price string, e.g. {'com.example.app.yearly': '49.99'}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||