mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #367] Parity: Commerce relationships (IAP, subscriptions, pricing, offer codes) #106
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#106
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 31, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/367
Overview
Add missing in-app purchase, subscription, pricing, and offer code relationships for parity.
Scope (OpenAPI resources)
/v1/apps/{id}/inAppPurchases/v1/apps/{id}/subscriptionGracePeriod/v1/appPriceSchedules/{id}/v1/inAppPurchaseAvailabilities/{id}/v1/inAppPurchaseContents/{id}/v1/inAppPurchaseOfferCodeCustomCodes/v1/inAppPurchaseOfferCodeOneTimeUseCodes/v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id}/values/v1/inAppPurchasePriceSchedules/{id}/v1/inAppPurchases/{id}/v2/inAppPurchases/{id}/promotedPurchase/v1/subscriptionAvailabilities/{id}/v1/subscriptionAvailabilities/{id}/availableTerritories/v1/subscriptionGracePeriods/{id}/v1/subscriptions/{id}/appStoreReviewScreenshot/v1/subscriptions/{id}/promotedPurchase/v1/subscriptions/{id}/subscriptionAvailability/v2/appAvailabilities/{id}Proposed CLI
asc iap ...asc subscriptions ...asc apps ...Examples:
asc iap get --id "IAP_ID"asc iap availabilities get --id "AVAILABILITY_ID"asc iap offer-codes custom-codes list --id "OFFER_CODE_ID"asc subscriptions availability get --id "AVAILABILITY_ID"asc subscriptions app-store-review-screenshot get --id "SUBSCRIPTION_ID"Flag patterns
Common:
--id,--output,--pretty,--limit,--next,--paginateOutput
--prettyfor JSON--output table/markdownfor list commandsDetailed TODO
Acceptance criteria
Tests
Implementation notes
internal/asc/client_iap.go,client_subscriptions.go,client_apps.gointernal/cli/iapandinternal/cli/subscriptionsReferences
docs/openapi/latest.jsondocs/openapi/paths.txt@rudrankriyam commented on GitHub (Jan 31, 2026):
@cursor please implement
@cursor[bot] commented on GitHub (Jan 31, 2026):
Summary of changes:
iap availabilities,iap promoted-purchase, IAP offer-code custom/one-time codes,subscriptions app-store-review-screenshot,subscriptions promoted-purchase,subscriptions grace-periods, andapps subscription-grace-period, with the expected flag validation and output handling.Tests run:
go test ./internal/asc/... && go test ./internal/cli/...Walkthrough artifact:
/opt/cursor/artifacts/go_test_asc_cli/recording_demo.mp4@rudrankriyam commented on GitHub (Jan 31, 2026):
Closed by #378 (IAP/subscription relationships) and follow-up pricing fixes in #379.