mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #404] Parity: IAP offer code prices, base territory, and one-time code lookup #117
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#117
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 (Feb 2, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/404
Overview
Fill remaining commerce gaps around IAP offer code pricing, IAP price schedule base territory, and subscription one-time use code lookup.
Scope (OpenAPI resources)
/v1/inAppPurchaseOfferCodes/{id}/prices/v1/inAppPurchasePriceSchedules/{id}/baseTerritory/v1/subscriptionOfferCodeOneTimeUseCodes/{id}Proposed CLI
asc iap offer-codes prices --offer-code-id \"OFFER_CODE_ID\"asc iap price-schedules base-territory --schedule-id \"SCHEDULE_ID\"asc subscriptions offer-codes one-time-codes get --id \"ONE_TIME_USE_CODE_ID\"Examples:
asc iap offer-codes prices --offer-code-id \"OFFER_CODE_ID\"asc iap price-schedules base-territory --schedule-id \"SCHEDULE_ID\"asc subscriptions offer-codes one-time-codes get --id \"ONE_TIME_USE_CODE_ID\"Flag patterns
Common:
--id,--offer-code-id,--schedule-id,--output,--pretty,--limit,--next,--paginateOutput
--prettyfor JSON--output table/markdownfor list commandsDetailed TODO
internal/ascfor IAP offer code prices + IAP base territory + subscription one-time-use code get-by-idiap offer-codes pricessubcommandiap price-schedules base-territorysubcommandsubscriptions offer-codes one-time-codes getsubcommandAcceptance criteria
Tests
Implementation notes
iap offer-codesandsubscriptions offer-codesgroupsReferences
docs/openapi/paths.txtdocs/openapi/latest.json@cursor
@rudrankriyam commented on GitHub (Feb 2, 2026):
@cursor implement this
@cursor[bot] commented on GitHub (Feb 2, 2026):
Summary:
iap offer-codes prices,iap price-schedules base-territory, andsubscriptions offer-codes one-time-codes get, plus pagination support and table/markdown output for IAP offer-code prices and single-territory responses.subscriptions offer-codes one-time-codesinto a list/get subcommand group (listing is now... one-time-codes list).Testing:
make testArtifacts:
iap_offer_codes_and_subscription_help/recording_demo.mp4@rudrankriyam commented on GitHub (Feb 2, 2026):
Completed in PR #411 (merged).
Added:
asc iap offer-codes prices --offer-code-id "OFFER_CODE_ID"asc iap price-schedules base-territory --schedule-id "SCHEDULE_ID"asc subscriptions offer-codes one-time-codes get --id "ONE_TIME_USE_CODE_ID"asc subscriptions offer-codes one-time-codes list --offer-code-id "OFFER_CODE_ID"(refactored to command group)