mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #156] Add Custom Product Pages & Product Page Optimization CLI support #37
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/156
Overview
Add CLI support for Custom Product Pages and Product Page Optimization (experiments/treatments) using the App Store Connect API. This should enable full lifecycle management via JSON-first commands.
Scope (OpenAPI resources)
Custom Product Pages:
appCustomProductPagesappCustomProductPageVersionsappCustomProductPageLocalizationsProduct Page Optimization:
appStoreVersionExperiments(v1/v2)appStoreVersionExperimentTreatmentsappStoreVersionExperimentTreatmentLocalizationsProposed CLI
Top-level group:
asc product-pages <subcommand> [flags]Subcommands:
product-pages custom-pages list|get|create|update|deleteproduct-pages custom-pages localizations list|get|create|update|deleteproduct-pages custom-pages versions list|get|create|update|delete(if API uses version resources)product-pages experiments list|get|create|update|deleteproduct-pages experiments treatments list|get|create|update|deleteproduct-pages experiments treatments localizations list|get|create|update|deleteExamples:
asc product-pages custom-pages list --app APP_IDasc product-pages custom-pages create --app APP_ID --name "Summer Campaign"asc product-pages experiments create --version-id VERSION_ID --name "Icon Test"asc product-pages experiments treatments create --experiment-id EXP_ID --name "Variant A"Flag patterns
Common:
--app,--output,--pretty,--limit,--next,--paginate,--confirmResource-specific examples:
--custom-page-id,--custom-page-version-id,--localization-id--experiment-id,--treatment-id--name,--state,--traffic-proportion--locale,--short-description,--long-descriptionOutput
--prettyfor JSON--output table/markdownfor list commandsAcceptance criteria
asc product-pages --help--nextvalidation works--confirmTests
Implementation notes
cmd/product_pages*.goandinternal/asc/client_product_pages*.gointernal/asc/output_product_pages.gocmd/root.gointernal/asc/client_types.gocmd/versions.go,cmd/apps.go,internal/asc/output_*@rudrankriyam commented on GitHub (Jan 29, 2026):
@cursor Please implement this issue.
Guidance (same expectations as for me):
docs/GO_STANDARDS.mdanddocs/TESTING.md.docs/openapi/paths.txt+docs/openapi/latest.jsonfor endpoints and schemas.--confirmfor destructive actions.asc product-pagesgroup covering custom product pages + experiments/treatments/localizations per issue scope.internal/asc/output_*+output_core.go.make build,make lint,make test, and create a PR.Thanks!
@cursor[bot] commented on GitHub (Jan 29, 2026):
Summary:
asc product-pagescommand group with custom pages, versions, localizations, experiments (v1/v2 via--v2), treatments, and treatment localizations, plus full client support, pagination handling, and table/markdown output.Tests:
make buildmake lintmake testArtifacts / notes:
product_pages_help/recording_demo.mp4(shows./asc product-pages --helpwith the new subcommands).@rudrankriyam commented on GitHub (Jan 30, 2026):
Fixed by #310.