[PR #347] [MERGED] Offer codes CLI coverage #458

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

📋 Pull Request Information

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

Base: mainHead: cursor/offer-codes-cli-coverage-1166


📝 Commits (3)

  • 8858e04 Add offer code CRUD commands and client support
  • 2a6e93c Fix offer code table and markdown output
  • 7604ae5 Fix offer code overlaps after subscriptions merge.

📊 Changes

16 files changed (+1705 additions, -1 deletions)

View changed files

📝 internal/asc/client_http_test.go (+200 -0)
internal/asc/client_offer_codes.go (+103 -0)
📝 internal/asc/client_pagination.go (+4 -0)
📝 internal/asc/client_test.go (+52 -0)
internal/asc/offer_codes_custom_output.go (+83 -0)
📝 internal/asc/offer_codes_output.go (+54 -0)
internal/asc/offer_codes_subscription.go (+75 -0)
📝 internal/asc/output_core.go (+16 -0)
📝 internal/asc/output_test.go (+200 -0)
📝 internal/asc/subscription_resources.go (+3 -0)
internal/cli/cmdtest/offer_codes_test.go (+107 -0)
internal/cli/offercodes/custom_codes.go (+302 -0)
📝 internal/cli/offercodes/offer_codes.go (+11 -1)
internal/cli/offercodes/prices.go (+113 -0)
📝 internal/cli/offercodes/shared_wrappers.go (+8 -0)
internal/cli/offercodes/subscription_offer_codes.go (+374 -0)

📄 Description

Implement CRUD for subscription offer codes and custom codes, and list functionality for offer code prices to expand CLI management capabilities for subscription offers.


Open in Cursor Open in Web


🔄 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/347 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 1/30/2026 **Status:** ✅ Merged **Merged:** 1/31/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `cursor/offer-codes-cli-coverage-1166` --- ### 📝 Commits (3) - [`8858e04`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/8858e04d8ea0ed8b626534abcff386d7b566b817) Add offer code CRUD commands and client support - [`2a6e93c`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/2a6e93c9caab2b40aef91970ca744ddb8a5f83ed) Fix offer code table and markdown output - [`7604ae5`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/7604ae5f1d6b693b3ba2b16183d3f0f4822f6467) Fix offer code overlaps after subscriptions merge. ### 📊 Changes **16 files changed** (+1705 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `internal/asc/client_http_test.go` (+200 -0) ➕ `internal/asc/client_offer_codes.go` (+103 -0) 📝 `internal/asc/client_pagination.go` (+4 -0) 📝 `internal/asc/client_test.go` (+52 -0) ➕ `internal/asc/offer_codes_custom_output.go` (+83 -0) 📝 `internal/asc/offer_codes_output.go` (+54 -0) ➕ `internal/asc/offer_codes_subscription.go` (+75 -0) 📝 `internal/asc/output_core.go` (+16 -0) 📝 `internal/asc/output_test.go` (+200 -0) 📝 `internal/asc/subscription_resources.go` (+3 -0) ➕ `internal/cli/cmdtest/offer_codes_test.go` (+107 -0) ➕ `internal/cli/offercodes/custom_codes.go` (+302 -0) 📝 `internal/cli/offercodes/offer_codes.go` (+11 -1) ➕ `internal/cli/offercodes/prices.go` (+113 -0) 📝 `internal/cli/offercodes/shared_wrappers.go` (+8 -0) ➕ `internal/cli/offercodes/subscription_offer_codes.go` (+374 -0) </details> ### 📄 Description Implement CRUD for subscription offer codes and custom codes, and list functionality for offer code prices to expand CLI management capabilities for subscription offers. --- <a href="https://cursor.com/background-agent?bcId=bc-14674fd1-cd45-4a12-b40d-487f7a0c2704"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-14674fd1-cd45-4a12-b40d-487f7a0c2704"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:31:01 +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#458
No description provided.