mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #253] Add Win Back Offers CLI support #84
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#84
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?
Originally created by @rudrankriyam on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/253
Originally assigned to: @rudrankriyam on GitHub.
Overview
Add CLI support for Win Back Offers to manage re-engagement offers on subscriptions.
Scope (OpenAPI resources/endpoints)
POST /v1/winBackOffersGET /v1/winBackOffers/{id}PATCH /v1/winBackOffers/{id}DELETE /v1/winBackOffers/{id}GET /v1/winBackOffers/{id}/pricesGET /v1/winBackOffers/{id}/relationships/pricesGET /v1/subscriptions/{id}/winBackOffersGET /v1/subscriptions/{id}/relationships/winBackOffersProposed CLI
Top-level group:
asc win-back-offers <subcommand> [flags]Subcommands:
win-back-offers list --subscription SUBSCRIPTION_IDwin-back-offers get --id OFFER_IDwin-back-offers create --subscription SUBSCRIPTION_ID --reference-name ...win-back-offers update --id OFFER_ID ...win-back-offers delete --id OFFER_ID --confirmwin-back-offers prices --id OFFER_IDExamples
asc win-back-offers list --subscription "SUB_ID"asc win-back-offers create --subscription "SUB_ID" --reference-name "spring-2026" --customer-eligibility NEWasc win-back-offers prices --id "OFFER_ID"Flag patterns
Common:
--output,--pretty,--limit,--next,--paginate,--confirmResource-specific:
--subscription--idOutput
--prettyfor JSON--output table/markdownfor list commandsAcceptance criteria
--nextvalidation works--confirmTests
Implementation notes
cmd/win_back_offers*.go,internal/asc/client_win_back_offers*.gointernal/asc/output_win_back_offers.gocmd/root.go