feat(apps): app pricing and app availability - #28
Merged
Merged
Conversation
`asc apps price-points list --app-id [--territory USA]` lists the prices an app can be sold at (all pages; the 0.0 point makes it free) and `asc apps prices set --app-id --base-territory --price-point-id` creates the app's price schedule, which Apple equalizes worldwide — the fix for the "not eligible for submission until pricing has been set" refusal. REST: GET /api/v1/apps/:appId/price-points, POST /api/v1/apps/:appId/prices/set. App gains a listPricePoints affordance. Verified live (read-only): 801 USA price points over 5 pages, JPN, and the REST route; setting a price was not run. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (37)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
`asc app-availability create --app-id (--territory X ... | --all-territories) [--available-in-new-territories]` sets up an app's availability in one POST /v2/appAvailabilities with each territory inlined, then reads it back. `app-availability get` on an app that was never set up now returns `data: []` plus a stderr hint instead of a raw 404. AppAvailability moves to structured affordances and Presentable; REST GET/POST /api/v1/apps/:appId/availability. Verified live: Unveil (never set up) -> 175/175 territories, available in new territories; REST GET returns them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Member
Author
|
Added app availability to this PR (commit 09c4a35):
|
hanrw
changed the base branch from
feat/product-version-submissions
to
main
September 23, 2026 10:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #27, since it updates that PR's refusal table. Merge #27 first; GitHub then retargets this PR to
main.Why
A review submission is refused with "App is not eligible for submission until pricing has been set" until the app has a price schedule. The public API supports setting one, but
asccould only check whether a price exists (hasPricing, used bycheck-readiness).What
Mirrors
asc iap price-points list/asc iap prices set:asc apps price-points list --app-id <id> [--territory USA]lists every price point in the territory (all pages, about 800).AppPricePoint.isFreemarks the zero point.asc apps prices set --app-id <id> --base-territory USA --price-point-id <id>creates the price schedule, and Apple equalizes the other territories.GET /api/v1/apps/:appId/price-points?territory=andPOST /api/v1/apps/:appId/prices/set(bodybase-territory,price-point-id).Appgains alistPricePointsaffordance. That updates 5 exact-JSON snapshots of commands that output an app.Tests
swift testpasses.Live check (read-only)
setPricelinks resolve toPOST /api/v1/apps/:id/prices/set.Also recorded
App Privacy data-usage answers have no public API. They're only reachable with a web session, so
asccan't fix that refusal. See the refusal table indocs/features/submit-with-products.md.🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Documentation