mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[PR #788] [MERGED] feat: Support selecting price points by customer price in schedule creation #787
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#787
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?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/788
Author: @WZBbiao
Created: 2/26/2026
Status: ✅ Merged
Merged: 2/26/2026
Merged by: @rudrankriyam
Base:
main← Head:feat/price-schedule-tier-selection📝 Commits (2)
1d448bffeat: Support selecting price points by customer price in schedule creationede0103fix(pricing): validate and numerically resolve --price📊 Changes
3 files changed (+272 additions, -3 deletions)
View changed files
➕
internal/cli/cmdtest/pricing_schedule_create_price_test.go(+166 -0)📝
internal/cli/pricing/pricing_test.go(+41 -0)📝
internal/cli/shared/pricing_command.go(+65 -3)📄 Description
This PR adds a
--priceflag to thepricing schedule createcommand, allowing users to select a price point by its customer price value (e.g., "0.99") instead of the opaque Price Point ID.\n\nWhen--priceis provided:\n1. The CLI fetches all price points for the specified base territory.\n2. It finds the price point with a matchingcustomerPrice.\n3. It uses that price point's ID to create the schedule.\n\nThis resolves #649 by providing a more user-friendly way to set prices, aligning with the "tier-based" selection request (as tiers map to prices).\n\nUsage:\nasc pricing schedule create --app <ID> --base-territory USA --price "0.99" --start-date "2026-03-01"🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.