[PR #472] [MERGED] Iap offer code generation #551

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

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/472
Author: @rudrankriyam
Created: 2/10/2026
Status: Merged
Merged: 2/10/2026
Merged by: @rudrankriyam

Base: mainHead: cursor/iap-offer-code-generation-ad81


📝 Commits (4)

  • df0e5f6 feat: add create request types and client methods for IAP offer code custom codes and one-time use codes
  • 65d840c feat: add CLI create subcommands for IAP offer code custom codes and one-time use codes
  • 3e94387 test: add HTTP client tests and CLI cmdtests for IAP offer code create commands
  • 33ce67b fix: harden iap offer code create validation and coverage

📊 Changes

5 files changed (+1191 additions, -1 deletions)

View changed files

📝 internal/asc/client_iap_subresources.go (+68 -0)
📝 internal/asc/client_iap_subresources_test.go (+345 -0)
📝 internal/asc/iap_resources.go (+47 -0)
internal/cli/cmdtest/iap_offer_code_code_generation_test.go (+564 -0)
📝 internal/cli/iap/offer_code_codes.go (+167 -1)

📄 Description

Add creation support for In-App Purchase offer code custom codes and one-time use codes via new CLI commands and client methods.


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/472 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/10/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `cursor/iap-offer-code-generation-ad81` --- ### 📝 Commits (4) - [`df0e5f6`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/df0e5f635864c4fc26c0e1ec1644a4d01d956fd7) feat: add create request types and client methods for IAP offer code custom codes and one-time use codes - [`65d840c`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/65d840c66509642294289b0785d482fe63f83461) feat: add CLI create subcommands for IAP offer code custom codes and one-time use codes - [`3e94387`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/3e9438715d542e597b9c1df6824a17e5d5113c72) test: add HTTP client tests and CLI cmdtests for IAP offer code create commands - [`33ce67b`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/33ce67ba241afe37d68a823630f61e8288852ed7) fix: harden iap offer code create validation and coverage ### 📊 Changes **5 files changed** (+1191 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `internal/asc/client_iap_subresources.go` (+68 -0) 📝 `internal/asc/client_iap_subresources_test.go` (+345 -0) 📝 `internal/asc/iap_resources.go` (+47 -0) ➕ `internal/cli/cmdtest/iap_offer_code_code_generation_test.go` (+564 -0) 📝 `internal/cli/iap/offer_code_codes.go` (+167 -1) </details> ### 📄 Description Add creation support for In-App Purchase offer code custom codes and one-time use codes via new CLI commands and client methods. --- <p><a href="https://cursor.com/background-agent?bcId=bc-bf2d7232-0e1a-44ba-9aad-22e9d1c2f577"><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-bf2d7232-0e1a-44ba-9aad-22e9d1c2f577"><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></p> --- <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:28 +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#551
No description provided.