用途:基于购买力平价(PPP)或自定义区域策略,为 App Store Connect 中的订阅和内购(IAP)创建或更新各地区的本地化定价。
主要能力:新建订阅或内购时用 setup 一次性创建产品、本地化、初始价格与可用地区并默认校验;用 pricing summary 查看当前价格、预估收益与计划变更;用 prices import 批量导入 CSV 做 PPP 铺开,支持 --dry-run 先校验;用 prices set 做少量地区手动改价;用 price-points list/equalizations 查看或锁定 Apple 本地化价格点;用 availability edit/view 管理订阅可用地区。
使用方式:先设置凭据(asc auth login 或 ASC_* 环境变量),优先用 ASC_APP_ID 或显式传 --app。确定基准地区(通常 USA)与基准价,用 asc pricing territories list --paginate 查支持的地区 ID。订阅批量改价示例:asc subscriptions pricing prices import --subscription-id "SUB_ID" --input "./ppp-prices.csv" --dry-run --output table,确认后去掉 --dry-run 应用。CSV 必填列 territory、price,可选 currency_code、start_date、preserved、preserve_current_price、price_point_id;省略 price_point_id 时 CLI 自动匹配。单地区改价:asc subscriptions pricing prices set --subscription-id "SUB_ID" --price "2.99" --territory "IND"。IAP 用 asc iap pricing summary 查看,用 asc iap pricing schedules create 创建或替换价格计划。
适用场景:按收入水平分层定价、以表格驱动的多地区批量铺开、为未来日期安排价格变更。
限制:需先配置凭据;价格变更在 App Store Connect 与店面中传播可能需时间;目前没有专门的前后 PPP 差异对比命令,需在应用前后分别运行 summary 命令;未来生效的计划会显示为计划变更而非立即更新当前价。