[PR #399] [MERGED] Subscription grace period #500

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

📋 Pull Request Information

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

Base: mainHead: cursor/subscription-grace-period-25f3


📝 Commits (3)

  • 2a5edbf test: add subscription period validation
  • 8febf4c feat: add subscription period and grace period update
  • ff3012a fix: preserve legacy grace period durations

📊 Changes

10 files changed (+436 additions, -6 deletions)

View changed files

📝 internal/asc/client_subscription_grace_periods.go (+29 -0)
📝 internal/asc/client_types.go (+1 -0)
📝 internal/asc/subscription_grace_periods.go (+37 -0)
📝 internal/asc/subscription_grace_periods_test.go (+51 -0)
internal/asc/subscription_periods.go (+13 -0)
📝 internal/cli/cmdtest/commands_test.go (+30 -0)
📝 internal/cli/subscriptions/grace_periods.go (+88 -1)
📝 internal/cli/subscriptions/helpers.go (+85 -0)
internal/cli/subscriptions/helpers_test.go (+74 -0)
📝 internal/cli/subscriptions/subscriptions.go (+28 -5)

📄 Description

Add subscription-period flag to subscriptions create and update commands, and implement subscriptions grace-periods update command to align with the OpenAPI spec.


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/399 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/2/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `cursor/subscription-grace-period-25f3` --- ### 📝 Commits (3) - [`2a5edbf`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/2a5edbf549c1ea33218539fbfc38e2bad3d0bf8a) test: add subscription period validation - [`8febf4c`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/8febf4cd3763e866defcd6ed1c8687e3fd0b8b9b) feat: add subscription period and grace period update - [`ff3012a`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/ff3012a66c850b2b7e6b51455e0e826ac0a5f728) fix: preserve legacy grace period durations ### 📊 Changes **10 files changed** (+436 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `internal/asc/client_subscription_grace_periods.go` (+29 -0) 📝 `internal/asc/client_types.go` (+1 -0) 📝 `internal/asc/subscription_grace_periods.go` (+37 -0) 📝 `internal/asc/subscription_grace_periods_test.go` (+51 -0) ➕ `internal/asc/subscription_periods.go` (+13 -0) 📝 `internal/cli/cmdtest/commands_test.go` (+30 -0) 📝 `internal/cli/subscriptions/grace_periods.go` (+88 -1) 📝 `internal/cli/subscriptions/helpers.go` (+85 -0) ➕ `internal/cli/subscriptions/helpers_test.go` (+74 -0) 📝 `internal/cli/subscriptions/subscriptions.go` (+28 -5) </details> ### 📄 Description Add `subscription-period` flag to `subscriptions create` and `update` commands, and implement `subscriptions grace-periods update` command to align with the OpenAPI spec. --- <a href="https://cursor.com/background-agent?bcId=bc-a4a135fd-3571-49ca-bc7f-800e6300add5"><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-a4a135fd-3571-49ca-bc7f-800e6300add5"><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:15 +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#500
No description provided.