mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #249] Add CLI support for Marketplace #81
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#81
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 28, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/249
Overview
Add CLI support for Marketplace resources including search details and marketplace webhooks using the App Store Connect API. This enables full management of marketplace configuration and webhooks from the CLI with JSON-first output and explicit flags.
Scope
Primary resources from the OpenAPI spec:
marketplaceSearchDetails(GET instance, POST create, PATCH update, DELETE)marketplaceWebhooks(GET list, POST create, PATCH update, DELETE)apps/{id}/marketplaceSearchDetailEndpoints:
Proposed CLI
Top-level group:
asc marketplace <subcommand> [flags]Subcommands (all support list/get/create/update/delete unless noted):
marketplace search-details(get/create/update/delete)marketplace webhooks(list/get/create/update/delete)Examples:
asc marketplace search-details get --app APP_IDasc marketplace search-details create --app APP_ID --keywords "app,game,fun"asc marketplace search-details update --search-detail-id DETAIL_ID --keywords "updated,keywords"asc marketplace search-details delete --search-detail-id DETAIL_ID --confirmasc marketplace webhooks listasc marketplace webhooks get --webhook-id WEBHOOK_IDasc marketplace webhooks create --url https://example.com/webhook --secret secret123 --events MARKETPLACE.SEARCH_UPDATEDasc marketplace webhooks update --webhook-id WEBHOOK_ID --enabled falseasc marketplace webhooks delete --webhook-id WEBHOOK_ID --confirmFlag patterns
Common:
--app,--output,--pretty,--limit,--next,--paginate--confirmfor destructive operationsResource-specific examples:
--search-detail-id,--keywords(comma-separated or space-separated)--webhook-id,--url,--secret,--enabled--events(comma-separated list of marketplace event types)Output
--prettyfor JSON--output table/markdownfor list commandsAcceptance criteria
asc --helpandasc marketplace --help--paginate,--next,--limit)--confirmTests
Implementation notes
cmd/marketplace*.goandinternal/asc/client_marketplace*.gointernal/asc/output_marketplace.gocmd/root.gointernal/asc/client_types.gocmd/apps.go,cmd/webhooks.go(once created), and output helpers ininternal/asc/output_*@rudrankriyam commented on GitHub (Jan 29, 2026):
@cursor Please implement #249 (Marketplace CLI) end-to-end.
Requirements:
Only open a PR after make build, make lint, and make test pass.
@cursor[bot] commented on GitHub (Jan 29, 2026):
Summary:
--fieldssupport tomarketplace search-details get, wired it through the ASC client query builder, and added validation plus HTTP/CLI tests to cover the new fields handling.Tests:
make buildmake lintmake testWalkthrough artifact:
marketplace_search_details_get_help/recording_demo.mp4— shows./asc marketplace search-details get --helpwith the new--fields catalogUrlflag displayed.@rudrankriyam commented on GitHub (Jan 29, 2026):
Marketplace CLI was already implemented; #307 added missing fields support for search-details.