用途:该技能面向 Play 商品目录操作,覆盖一次性商品(products)、订阅(subscriptions)、基础方案(base plans)和优惠(offers)的创建、查询、更新与删除。主要能力:一次性商品支持列表、获取、创建、更新与删除;订阅支持列表、获取与创建;基础方案支持列表、创建;订阅定价可按商品与基础方案查询;优惠支持列表、获取、创建、更新、激活、停用与删除。使用方式:商品列表支持分页,例如 gpc products list --page-size 50;创建商品可用文件或直接指定标题与描述,如 gpc products create --product-id premium_unlock --title "Premium" --description "Unlock all features";订阅、基础方案与优惠建议使用 JSON 文件,如 gpc subscriptions create --product-id monthly_pro --file subscription.json、gpc subscriptions base-plans create --product-id monthly_pro --file baseplan.json、gpc offers create --product-id monthly_pro --base-plan monthly --file offer.json;删除需显式确认,如 gpc products delete --product-id coins_100 --confirm、gpc offers delete --product-id monthly_pro --base-plan monthly --offer-id free_trial --confirm。代理行为约定:创建相似 ID 前先列出已有商品或订阅;订阅、基础方案与优惠使用 JSON 文件;删除显式加 --confirm;正确建模层级:subscription -> base plan -> offer。限制:资料未说明权限要求、配额、错误处理与计费价格细节,暂未提供。
gpc-monetization
通用与其它
更新于 10-16 00:23