asc-ppp-pricing by rudrankriyam/app-store-connect-cli-skills
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-ppp-pricing使用此技能基于购买力平价(PPP)或您自己的区域定价策略,创建或更新跨区域的本地化定价。
推荐使用当前的高级流程:
asc subscriptions setup 和 asc iap setupasc subscriptions pricing ...asc iap pricing summary 和 asc iap pricing schedules ...asc auth login 或 ASC_* 环境变量)。ASC_APP_ID 或显式传递 参数。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
--appUSA)和基准价格。asc pricing territories list --paginate。setup 引导创建当您创建新订阅并希望在一个经过验证的流程中创建组、订阅、首次本地化、初始价格和可用性时,请使用 setup。
asc subscriptions setup \
--app "APP_ID" \
--group-reference-name "Pro" \
--reference-name "Pro Monthly" \
--product-id "com.example.pro.monthly" \
--subscription-period ONE_MONTH \
--locale "en-US" \
--display-name "Pro Monthly" \
--description "Unlock everything" \
--price "9.99" \
--price-territory "USA" \
--territories "USA,CAN,GBR" \
--output json
注意事项:
setup 默认会验证创建的状态。--no-verify。--tier 或 --price-point-id 代替 --price。当您需要当前状态的简洁快照时,请首先使用摘要视图。
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "USA"
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "IND"
asc subscriptions pricing prices list --subscription-id "SUB_ID" --paginate
使用 summary 进行快速的前后抽查,当您需要原始价格记录时使用 prices list。
对于广泛的 PPP 部署,推荐使用订阅定价导入命令,而不是手动逐个添加区域价格。
示例 CSV:
territory,price,start_date,preserved
IND,2.99,2026-04-01,false
BRA,4.99,2026-04-01,false
MEX,4.99,2026-04-01,false
DEU,8.99,2026-04-01,false
首先进行试运行:
asc subscriptions pricing prices import \
--subscription-id "SUB_ID" \
--input "./ppp-prices.csv" \
--dry-run \
--output table
实际应用:
asc subscriptions pricing prices import \
--subscription-id "SUB_ID" \
--input "./ppp-prices.csv" \
--output table
注意事项:
--dry-run 会验证行并解析价格点,但不会创建价格。--continue-on-error=false 为您提供快速失败模式。territory, pricecurrency_code, start_date, preserved, preserve_current_price, price_point_idprice_point_id 时,CLI 会自动为行的区域和价格解析匹配的价格点。对于少量手动覆盖,请使用规范的 set 命令。
asc subscriptions pricing prices set --subscription-id "SUB_ID" --price "2.99" --territory "IND"
asc subscriptions pricing prices set --subscription-id "SUB_ID" --tier 5 --territory "BRA"
asc subscriptions pricing prices set --subscription-id "SUB_ID" --price-point "PRICE_POINT_ID" --territory "DEU"
注意事项:
--start-date "YYYY-MM-DD" 以安排未来的更改。--preserved。当您想要直接检查 Apple 的本地化价格阶梯或固定确切的价格点 ID 时,请使用价格点查找和等价命令。
asc subscriptions pricing price-points list --subscription-id "SUB_ID" --territory "USA" --paginate --price "9.99"
asc subscriptions pricing price-points equalizations --price-point-id "PRICE_POINT_ID" --paginate
更改后重新运行摘要和原始列表视图。
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "IND"
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "BRA"
asc subscriptions pricing prices list --subscription-id "SUB_ID" --paginate
如果订阅是新创建的,您也可以使用启用了验证的 asc subscriptions setup,而不是将单独的创建和定价步骤拼接在一起。
如果您需要为现有订阅显式启用区域,请使用定价可用性系列命令。
asc subscriptions pricing availability edit --subscription-id "SUB_ID" --territories "USA,CAN,IND,BRA"
asc subscriptions pricing availability view --subscription-id "SUB_ID"
setup 引导创建当您创建新的应用内购买并希望在一个经过验证的流程中创建产品、首次本地化和初始价格计划时,请使用 setup。
asc iap setup \
--app "APP_ID" \
--type NON_CONSUMABLE \
--reference-name "Pro Lifetime" \
--product-id "com.example.pro.lifetime" \
--locale "en-US" \
--display-name "Pro Lifetime" \
--description "Unlock everything forever" \
--price "9.99" \
--base-territory "USA" \
--output json
注意事项:
setup 默认会验证创建的应用内购买、本地化和价格计划。--start-date 安排计划定价。--tier 或 --price-point-id。使用 asc iap pricing summary 作为 PPP 工作的主要当前状态摘要。
asc iap pricing summary --iap-id "IAP_ID" --territory "USA"
asc iap pricing summary --iap-id "IAP_ID" --territory "IND"
这将返回所请求区域的基础区域、当前价格、预估收益和计划中的更改。
当您想要检查或固定确切的价格点 ID 时,请使用价格点查找命令。
asc iap pricing price-points list --iap-id "IAP_ID" --territory "USA" --paginate --price "9.99"
asc iap pricing price-points equalizations --id "PRICE_POINT_ID"
对于手动 PPP 更新,直接创建价格计划。
asc iap pricing schedules create --iap-id "IAP_ID" --base-territory "USA" --price "4.99" --start-date "2026-04-01"
asc iap pricing schedules create --iap-id "IAP_ID" --base-territory "USA" --tier 5 --start-date "2026-04-01"
asc iap pricing schedules create --iap-id "IAP_ID" --base-territory "USA" --prices "PRICE_POINT_ID:2026-04-01"
当您有意创建或替换计划条目时使用这些命令。如需更深入的检查:
asc iap pricing schedules view --iap-id "IAP_ID"
asc iap pricing schedules manual-prices --schedule-id "SCHEDULE_ID" --paginate
asc iap pricing schedules automatic-prices --schedule-id "SCHEDULE_ID" --paginate
在安排或应用定价更改后,再次使用摘要命令。
asc iap pricing summary --iap-id "IAP_ID" --territory "USA"
asc iap pricing summary --iap-id "IAP_ID" --territory "IND"
对于未来日期的计划,预计会有计划中的更改,而不是立即更新的当前价格。
USA。asc subscriptions pricing ...asc subscriptions prices ... 路径仍然存在,但规范的定价系列命令更清晰。asc iap pricing ...asc subscriptions pricing prices import --dry-run 是目前最安全的订阅批量 PPP 路径。asc subscriptions setup 和 asc iap setup 已经提供了内置的创建后验证。每周安装量
1.2K
代码仓库
GitHub 星标数
588
首次出现时间
2026 年 1 月 31 日
安全审计
安装于
codex1.1K
opencode1.1K
gemini-cli1.1K
github-copilot1.1K
kimi-cli1.1K
amp1.1K
Use this skill to create or update localized pricing across territories based on purchasing power parity (PPP) or your own regional pricing strategy.
Prefer the current high-level flows:
asc subscriptions setup and asc iap setup when you are creating a new productasc subscriptions pricing ... for subscription pricing changesasc iap pricing summary and asc iap pricing schedules ... for IAP pricing changesasc auth login or ASC_* env vars).ASC_APP_ID or pass --app explicitly.USA) and baseline price.asc pricing territories list --paginate if you need supported territory IDs.setupUse setup when you are creating a new subscription and want to create the group, subscription, first localization, initial price, and availability in one verified flow.
asc subscriptions setup \
--app "APP_ID" \
--group-reference-name "Pro" \
--reference-name "Pro Monthly" \
--product-id "com.example.pro.monthly" \
--subscription-period ONE_MONTH \
--locale "en-US" \
--display-name "Pro Monthly" \
--description "Unlock everything" \
--price "9.99" \
--price-territory "USA" \
--territories "USA,CAN,GBR" \
--output json
Notes:
setup verifies the created state by default.--no-verify only when you explicitly want speed over readback verification.--tier or --price-point-id instead of --price when your workflow is tier-driven.Use the summary view first when you want a compact current-state snapshot.
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "USA"
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "IND"
asc subscriptions pricing prices list --subscription-id "SUB_ID" --paginate
Use summary for quick before/after spot checks and prices list when you need raw price records.
For broad PPP rollouts, prefer the subscription pricing import command instead of manually adding territory prices one by one.
Example CSV:
territory,price,start_date,preserved
IND,2.99,2026-04-01,false
BRA,4.99,2026-04-01,false
MEX,4.99,2026-04-01,false
DEU,8.99,2026-04-01,false
Dry-run first:
asc subscriptions pricing prices import \
--subscription-id "SUB_ID" \
--input "./ppp-prices.csv" \
--dry-run \
--output table
Apply for real:
asc subscriptions pricing prices import \
--subscription-id "SUB_ID" \
--input "./ppp-prices.csv" \
--output table
Notes:
--dry-run validates rows and resolves price points without creating prices.--continue-on-error=false gives you a fail-fast mode.territory, pricecurrency_code, start_date, preserved, preserve_current_price, price_point_idprice_point_id is omitted, the CLI resolves the matching price point for the row's territory and price automatically.For a small number of manual overrides, use the canonical set command.
asc subscriptions pricing prices set --subscription-id "SUB_ID" --price "2.99" --territory "IND"
asc subscriptions pricing prices set --subscription-id "SUB_ID" --tier 5 --territory "BRA"
asc subscriptions pricing prices set --subscription-id "SUB_ID" --price-point "PRICE_POINT_ID" --territory "DEU"
Notes:
--start-date "YYYY-MM-DD" to schedule a future change.--preserved when you want to preserve the current price relationship.Use price-point lookup and equalizations when you want to inspect Apple's localized ladder directly or pin exact price point IDs.
asc subscriptions pricing price-points list --subscription-id "SUB_ID" --territory "USA" --paginate --price "9.99"
asc subscriptions pricing price-points equalizations --price-point-id "PRICE_POINT_ID" --paginate
Re-run the summary and raw list views after changes.
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "IND"
asc subscriptions pricing summary --subscription-id "SUB_ID" --territory "BRA"
asc subscriptions pricing prices list --subscription-id "SUB_ID" --paginate
If the subscription was newly created, you can also use asc subscriptions setup with verification enabled instead of stitching together separate create and pricing steps.
If you need to explicitly enable territories for an existing subscription, use the pricing availability family.
asc subscriptions pricing availability edit --subscription-id "SUB_ID" --territories "USA,CAN,IND,BRA"
asc subscriptions pricing availability view --subscription-id "SUB_ID"
setupUse setup when you are creating a new IAP and want to create the product, first localization, and initial price schedule in one verified flow.
asc iap setup \
--app "APP_ID" \
--type NON_CONSUMABLE \
--reference-name "Pro Lifetime" \
--product-id "com.example.pro.lifetime" \
--locale "en-US" \
--display-name "Pro Lifetime" \
--description "Unlock everything forever" \
--price "9.99" \
--base-territory "USA" \
--output json
Notes:
setup verifies the created IAP, localization, and price schedule by default.--start-date for scheduled pricing.--tier or --price-point-id when you want deterministic tier- or ID-based setup.Use asc iap pricing summary as the main current-state summary for PPP work.
asc iap pricing summary --iap-id "IAP_ID" --territory "USA"
asc iap pricing summary --iap-id "IAP_ID" --territory "IND"
This returns the base territory, current price, estimated proceeds, and scheduled changes for the requested territory.
Use price-point lookup when you want to inspect or pin exact price point IDs.
asc iap pricing price-points list --iap-id "IAP_ID" --territory "USA" --paginate --price "9.99"
asc iap pricing price-points equalizations --id "PRICE_POINT_ID"
For manual PPP updates, create a price schedule directly.
asc iap pricing schedules create --iap-id "IAP_ID" --base-territory "USA" --price "4.99" --start-date "2026-04-01"
asc iap pricing schedules create --iap-id "IAP_ID" --base-territory "USA" --tier 5 --start-date "2026-04-01"
asc iap pricing schedules create --iap-id "IAP_ID" --base-territory "USA" --prices "PRICE_POINT_ID:2026-04-01"
Use these when you are intentionally creating or replacing schedule entries. For deeper inspection:
asc iap pricing schedules view --iap-id "IAP_ID"
asc iap pricing schedules manual-prices --schedule-id "SCHEDULE_ID" --paginate
asc iap pricing schedules automatic-prices --schedule-id "SCHEDULE_ID" --paginate
Use the summary command again after scheduling or applying pricing changes.
asc iap pricing summary --iap-id "IAP_ID" --territory "USA"
asc iap pricing summary --iap-id "IAP_ID" --territory "IND"
For future-dated schedules, expect scheduled changes rather than an immediately updated current price.
USA.asc subscriptions pricing ...asc subscriptions prices ... paths still exist, but the canonical pricing family is clearer.asc iap pricing ...asc subscriptions pricing prices import --dry-run is the safest subscription batch PPP path today.asc subscriptions setup and asc iap setup already provide built-in post-create verification.Weekly Installs
1.2K
Repository
GitHub Stars
588
First Seen
Jan 31, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex1.1K
opencode1.1K
gemini-cli1.1K
github-copilot1.1K
kimi-cli1.1K
amp1.1K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
cargo-fuzz:Rust模糊测试首选工具,快速发现代码漏洞
1,100 周安装
恒定时间分析工具 | 检测密码学时序攻击漏洞 | 侧信道安全分析
1,100 周安装
Firebase APK 安全扫描器 - 审计Android应用Firebase配置漏洞
1,100 周安装
模糊测试字典(Fuzzing Dictionary)使用指南:提升代码覆盖率与漏洞发现效率
1,100 周安装
不安全默认配置检测工具 - 发现故障开放漏洞,提升应用安全审计效率
1,100 周安装
Culture Index 解读指南:行为特质分析、团队构成评估与倦怠风险检测
1,100 周安装