[PR #291] [MERGED] Add promoted purchases CLI #415

Closed
opened 2026-02-26 22:30:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/291
Author: @rudrankriyam
Created: 1/29/2026
Status: Merged
Merged: 1/29/2026
Merged by: @rudrankriyam

Base: mainHead: feat/promoted-purchases


📝 Commits (5)

  • 16ff47d Add promoted purchases commands
  • 7f2acd3 Deduplicate optional bool flag type
  • cdb9aa7 Merge pull request #292 from rudrankriyam/cursor/optionalbool-type-deduplication-0694
  • a2eb6a3 Merge main into feat/promoted-purchases
  • 5ed9e4b Merge main into feat/promoted-purchases

📊 Changes

22 files changed (+1492 additions, -104 deletions)

View changed files

📝 internal/asc/client_http_test.go (+255 -0)
📝 internal/asc/client_options.go (+20 -1)
📝 internal/asc/client_pagination.go (+4 -0)
internal/asc/client_promoted_purchases.go (+178 -0)
📝 internal/asc/client_queries.go (+10 -0)
📝 internal/asc/client_types.go (+1 -0)
📝 internal/asc/output_core.go (+16 -0)
internal/asc/output_promoted_purchases.go (+93 -0)
📝 internal/asc/output_test.go (+130 -0)
internal/asc/promoted_purchases.go (+60 -0)
internal/cli/cmdtest/promoted_purchases_test.go (+127 -0)
internal/cli/preorders/optional_bool.go (+0 -32)
📝 internal/cli/preorders/pre_orders.go (+4 -3)
internal/cli/promotedpurchases/promoted_purchases.go (+466 -0)
internal/cli/promotedpurchases/promoted_purchases_helpers.go (+27 -0)
internal/cli/promotedpurchases/shared_wrappers.go (+38 -0)
📝 internal/cli/registry/registry.go (+2 -0)
📝 internal/cli/sandbox/sandbox_helpers.go (+0 -27)
📝 internal/cli/sandbox/sandbox_helpers_test.go (+8 -4)
📝 internal/cli/sandbox/sandbox_manage.go (+5 -4)

...and 2 more files

📄 Description

Summary

  • add promoted-purchases CLI with list/get/create/update/delete and link
  • add promoted purchase client endpoints and app relationship helpers with pagination
  • add output formatting plus CLI/client tests

Test plan

  • make format
  • make test
  • make lint

Fixes #243


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/291 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `feat/promoted-purchases` --- ### 📝 Commits (5) - [`16ff47d`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/16ff47d7a787fd68bf0e73d7848386454a64a96c) Add promoted purchases commands - [`7f2acd3`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/7f2acd384abeed3648922aaae448faf0c593162d) Deduplicate optional bool flag type - [`cdb9aa7`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/cdb9aa7b882a962f650a4fe1b8bab0ee9fc08d7b) Merge pull request #292 from rudrankriyam/cursor/optionalbool-type-deduplication-0694 - [`a2eb6a3`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/a2eb6a35db71c2da3a11cd6482915040745cd1c3) Merge main into feat/promoted-purchases - [`5ed9e4b`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/5ed9e4b13741cb1aaee0be520935d6e816955c96) Merge main into feat/promoted-purchases ### 📊 Changes **22 files changed** (+1492 additions, -104 deletions) <details> <summary>View changed files</summary> 📝 `internal/asc/client_http_test.go` (+255 -0) 📝 `internal/asc/client_options.go` (+20 -1) 📝 `internal/asc/client_pagination.go` (+4 -0) ➕ `internal/asc/client_promoted_purchases.go` (+178 -0) 📝 `internal/asc/client_queries.go` (+10 -0) 📝 `internal/asc/client_types.go` (+1 -0) 📝 `internal/asc/output_core.go` (+16 -0) ➕ `internal/asc/output_promoted_purchases.go` (+93 -0) 📝 `internal/asc/output_test.go` (+130 -0) ➕ `internal/asc/promoted_purchases.go` (+60 -0) ➕ `internal/cli/cmdtest/promoted_purchases_test.go` (+127 -0) ➖ `internal/cli/preorders/optional_bool.go` (+0 -32) 📝 `internal/cli/preorders/pre_orders.go` (+4 -3) ➕ `internal/cli/promotedpurchases/promoted_purchases.go` (+466 -0) ➕ `internal/cli/promotedpurchases/promoted_purchases_helpers.go` (+27 -0) ➕ `internal/cli/promotedpurchases/shared_wrappers.go` (+38 -0) 📝 `internal/cli/registry/registry.go` (+2 -0) 📝 `internal/cli/sandbox/sandbox_helpers.go` (+0 -27) 📝 `internal/cli/sandbox/sandbox_helpers_test.go` (+8 -4) 📝 `internal/cli/sandbox/sandbox_manage.go` (+5 -4) _...and 2 more files_ </details> ### 📄 Description ## Summary - add promoted-purchases CLI with list/get/create/update/delete and link - add promoted purchase client endpoints and app relationship helpers with pagination - add output formatting plus CLI/client tests ## Test plan - [x] make format - [x] make test - [x] make lint Fixes #243 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:30:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#415
No description provided.