mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #225] [MERGED] feat: add pre-orders commands #369
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#369
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/225
Author: @rudrankriyam
Created: 1/27/2026
Status: ✅ Merged
Merged: 1/27/2026
Merged by: @rudrankriyam
Base:
main← Head:pr-199📝 Commits (7)
a5f5b1bfeat: add pre-orders commands4c4f5fcFix pre-orders availability handling0d8dc1eMerge pull request #229 from rudrankriyam/cursor/pre-orders-bug-fixes-dac13678c5bMerge main into pr-19952ae6b1Fix pre-order availability handlinge478493Fix pre-orders tests after refactor8694767Merge pull request #236 from rudrankriyam/cursor/pre-orders-availability-logic-ef04📊 Changes
16 files changed (+1159 additions, -12 deletions)
View changed files
📝
cmd/offer_codes.go(+1 -10)➕
cmd/pre_orders.go(+478 -0)➕
cmd/pre_orders_test.go(+274 -0)📝
cmd/pricing.go(+3 -0)📝
cmd/root.go(+1 -0)📝
cmd/shared.go(+47 -0)📝
internal/asc/client_options.go(+21 -0)📝
internal/asc/client_pagination.go(+4 -0)📝
internal/asc/client_pricing.go(+118 -2)📝
internal/asc/client_queries.go(+4 -0)📝
internal/asc/client_types.go(+1 -0)📝
internal/asc/output_core.go(+4 -0)📝
internal/asc/output_test.go(+40 -0)➕
internal/asc/pre_orders_output.go(+21 -0)📝
internal/asc/pricing.go(+42 -0)📝
internal/asc/pricing_test.go(+100 -0)📄 Description
Summary
asc pre-orderscommand group (get/list/enable/update/disable/end)Test plan
make test./asc pre-orders get --app 6740467361 --output table./asc pre-orders list --availability <availability-id-from-get>./asc pre-orders enable --app 6740467361 --territory "USA,GBR" --release-date "2026-02-01" --available-in-new-territories true --output table./asc pre-orders update --territory-availability <ta-id> --release-date "2026-03-01" --output table./asc pre-orders disable --territory-availability <ta-id> --output table./asc pre-orders end --territory-availability "<ta-id-1>,<ta-id-2>" --output table./asc pre-orders get --app 6747745091 --output table./asc pre-orders list --availability <availability-id-from-get>./asc pre-orders enable --app 6747745091 --territory "USA,GBR" --release-date "2026-02-01" --available-in-new-territories true --output table./asc pre-orders update --territory-availability <ta-id> --release-date "2026-03-01" --output table./asc pre-orders disable --territory-availability <ta-id> --output table./asc pre-orders end --territory-availability "<ta-id-1>,<ta-id-2>" --output table./asc pre-orders get --app 6757997449 --output tableNotes
preOrderEnabled=true.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.