mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #247] Add Merchant IDs CLI support #76
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#76
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/247
Overview
Add CLI support for Merchant IDs, which are used for Apple Pay and other payment services. This enables full management of merchant IDs from the CLI with JSON-first output and explicit flags.
Scope
Primary resources from the OpenAPI spec:
merchantIds(list, get, create, update, delete)merchantIds/{id}/certificates,merchantIds/{id}/relationships/certificatesEndpoints:
Proposed CLI
Top-level group:
asc merchant-ids <subcommand> [flags]Subcommands (all support list/get/create/update/delete unless noted):
merchant-ids list|get|create|update|deletemerchant-ids certificates list|get(read-only, certificates are managed separately)Examples:
asc merchant-ids listasc merchant-ids get --merchant-id MERCHANT_IDasc merchant-ids create --identifier com.example.merchant --name "Example Merchant"asc merchant-ids update --merchant-id MERCHANT_ID --name "Updated Name"asc merchant-ids delete --merchant-id MERCHANT_ID --confirmasc merchant-ids certificates list --merchant-id MERCHANT_IDFlag patterns
Common:
--output,--pretty,--limit,--next,--paginate--confirmfor destructive operationsResource-specific examples:
--merchant-id--identifier(reverse domain format)--nameOutput
--prettyfor JSON--output table/markdownfor list commandsAcceptance criteria
asc --helpandasc merchant-ids --help--paginate,--next,--limit)--confirmTests
Implementation notes
cmd/merchant_ids.goandinternal/asc/client_merchant_ids.gointernal/asc/output_merchant_ids.gocmd/root.gointernal/asc/client_types.gocmd/bundle_ids.go,cmd/certificates.go, and output helpers ininternal/asc/output_*