에이전트 명령어

인앱 구입, 구독과 그 가격·오퍼·심사, 인앱 이벤트, App Store Server API를 다루는 asc 명령어입니다.

이 asc 명령어 그룹은 앱이 판매하는 상품을 관리합니다. Apple 팀 선택(--auth), 출력, 페이지 나누기, --confirm, 종료 코드는 asc 페이지에 설명된 대로 동작합니다. 앱 가격과 판매 지역은 asc pricing에 있습니다(asc: 앱과 App Store 정보 참고).

아래 표의 주요 플래그에는 거의 모든 명령어에 있는 플래그를 넣지 않았습니다. --output과 --pretty(출력 참고), 목록 명령어의 --limit, --next, --paginate(페이지 나누기 참고), 그리고 Apple이 반환할 속성을 고르는 --…-fields 플래그입니다. 모든 플래그와 값, 예시는 asc <family> <subcommand> --help로 확인하세요. 하위 명령어에 또 하위 명령어가 있으면 플래그 대신 그 하위 명령어를 적었습니다.

한 번에 설정하기

iap setup과 subscriptions setup은 App Store Connect에 필요한 정보를 갖춘 상품을 명령어 하나로 만듭니다.

터미널 창
asc iap setup --app APP_ID --type NON_CONSUMABLE --reference-name "Pro Lifetime" \
  --product-id com.example.lifetime --price 3.99 --base-territory "United States"

asc subscriptions setup --app APP_ID --group-reference-name "Pro" --reference-name "Pro Monthly" \
  --product-id com.example.pro.monthly --subscription-period ONE_MONTH \
  --price 3.99 --price-territory "United States" --territories "US,Canada"
플래그 명령어 하는 일
--type iap CONSUMABLE, NON_CONSUMABLE 또는 NON_RENEWING_SUBSCRIPTION.
--reference-name, --product-id 둘 다 내부 이름과 제품 ID.
--locale, --display-name, --description 둘 다 첫 번째 현지화.
--price, --tier 또는 --price-point-id 둘 다 첫 가격. 고객 가격, 등급 번호 또는 정확한 가격 포인트.
--base-territory / --price-territory iap / subscriptions 가격을 정하는 지역. 2자리 또는 3자리 코드나 영어 이름.
--start-date 둘 다 가격 적용 시작일(YYYY-MM-DD).
--review-note 둘 다 App Review에 남기는 메모.
--family-sharable 둘 다 가족 공유를 켭니다. 되돌릴 수 없습니다.
--group-id 또는 --group-reference-name subscriptions 기존 구독 그룹 또는 새 그룹의 이름. --group-display-name, --group-locale, --group-custom-app-name으로 현지화하고 --group-level로 순서를 정합니다.
--subscription-period subscriptions ONE_WEEK, ONE_MONTH, TWO_MONTHS, THREE_MONTHS, SIX_MONTHS, ONE_YEAR.
--territories, --available-in-new-territories subscriptions 판매 지역.
--review-screenshot subscriptions App Review용 스크린샷.
--enable-monthly-commitment subscriptions ONE_YEAR일 때 12개월 약정 월간 결제도 함께 제공합니다.
--no-verify 둘 다 Apple에서 결과를 다시 읽어 오는 과정을 건너뜁니다.

subscriptions setup은 Apple의 균등화 가격으로 모든 지역의 가격을 정하고, 기본적으로 구독을 다시 읽어 와서 Apple이 여전히 메타데이터 누락(MISSING_METADATA)을 보고하면 실패합니다. --repair는 가격표 전체를 다시 만들어 저장합니다.

구독 버전을 심사에 제출하려면 심사 제출에 추가하세요: asc review items add --submission SUBMISSION_ID --item-type subscriptionVersions --item-id SUBSCRIPTION_VERSION_ID(asc: 심사와 출시 참고). asc validate iap와 asc validate subscriptions로 먼저 준비 상태를 확인할 수 있습니다.

iap

App Store Connect의 인앱 구입을 관리합니다.

하위 명령어 하는 일 주요 플래그
list 앱의 인앱 구입 목록을 표시합니다. --app, --include, --include-versions, --legacy, --name, --product-id, --sort, --state, --type, --versions-limit
versions 버전별 인앱 구입 심사 콘텐츠를 관리합니다. 하위 명령어: create, list, view, image, images, localizations, links, submit
pricing 인앱 구입 가격 작업을 관리합니다. 하위 명령어: summary, price-points, schedules, ppp, availability, availabilities
view ID로 인앱 구입을 봅니다. --id, --include, --include-versions, --legacy, --versions-limit
create 새 인앱 구입을 만듭니다. --app, --family-sharable, --product-id, --ref-name, --review-note, --type
import JSON 파일로 인앱 구입을 한꺼번에 만듭니다. --app, --confirm, --dry-run, --file, --skip-existing
setup 인앱 구입을 만들고 가격도 선택적으로 설정합니다. --app, --base-territory, --description, --display-name, --family-sharable, --locale, --no-verify, --price, --price-point-id, --product-id, --reference-name, --refresh, --review-note, --start-date, --tier, --type
update 인앱 구입을 수정합니다. --family-sharable, --id, --ref-name, --review-note
delete 인앱 구입을 삭제합니다. --confirm, --id
review-screenshots 인앱 구입 심사 스크린샷을 관리합니다. 하위 명령어: view, create, update, delete
promoted-purchases 인앱 구입의 프로모션 구입을 관리합니다. 하위 명령어: list, view, create, update, delete, link
content 인앱 구입 콘텐츠 메타데이터를 가져옵니다. 하위 명령어: view
offer-codes 인앱 구입 오퍼 코드를 관리합니다. 하위 명령어: list, view, create, update, custom-codes, one-time-codes, prices

subscriptions

구독 그룹과 구독을 관리합니다.

하위 명령어 하는 일 주요 플래그
groups 구독 그룹을 관리합니다. 하위 명령어: list, create, view, update, delete, versions
list 그룹이나 앱의 구독 목록을 표시합니다. --app, --group-id, --include, --versions-limit
create 구독을 만듭니다. --family-sharable, --group-id, --group-level, --product-id, --reference-name, --review-note, --subscription-period
setup App Store 메타데이터를 모두 갖춘 구독을 만들거나 맞춥니다. --app, --available-in-new-territories, --description, --display-name, --enable-monthly-commitment, --family-sharable, --group-custom-app-name, --group-display-name, --group-id, --group-level, --group-locale, --group-reference-name, --locale, --no-verify, --price, --price-point-id, --price-territory, --product-id, --reference-name, --refresh, --repair, --review-note, --review-screenshot, --start-date, --subscription-period, --territories, --tier
view ID로 구독을 봅니다. --id, --include, --versions-limit
update 구독을 수정합니다. --family-sharable, --group-level, --id, --market-settings, --multi-seat-status, --reference-name, --review-note, --subscription-period
delete 구독을 삭제합니다. --confirm, --id
pricing 구독 가격을 관리합니다. 하위 명령어: summary, prices, price-points, availability, plan-availability, monthly-commitment, equalize, derive, ppp
offers 구독 오퍼를 관리합니다. 하위 명령어: introductory, promotional, offer-codes, win-back, retention
review 구독 심사 작업을 관리합니다. 하위 명령어: screenshots, app-store-screenshot
promoted-purchases 구독의 프로모션 구입을 관리합니다. 하위 명령어: list, view, create, update, delete, link
versions 버전 단위 구독 메타데이터를 관리합니다. 하위 명령어: create, list, view, links, localizations, images
grace-periods 구독 유예 기간을 확인합니다. 하위 명령어: view, update
retention-messages 구독을 취소할 때 표시되는 리텐션 메시지를 관리합니다. 하위 명령어: list, view, create, delete, assigned, assign, subscriptions, versions, localizations, links

app-events

App Store 인앱 이벤트를 관리합니다.

하위 명령어 하는 일 주요 플래그
list 앱의 인앱 이벤트 목록을 표시합니다. --app, --event-state, --id, --include, --localizations-limit
view ID로 인앱 이벤트를 봅니다. --event-id
create 새 인앱 이벤트를 만듭니다. --app, --deep-link, --end, --event-type, --name, --primary-locale, --priority, --publish-start, --purchase-requirement, --purpose, --start, --territories
update 인앱 이벤트를 수정합니다. --deep-link, --end, --event-id, --event-type, --name, --primary-locale, --priority, --publish-start, --purchase-requirement, --purpose, --start, --territories
delete 인앱 이벤트를 삭제합니다. --confirm, --event-id
localizations 인앱 이벤트 현지화를 관리합니다. 하위 명령어: list, view, screenshots, video-clips, screenshots-links, video-clips-links, create, update, delete, placements
links 인앱 이벤트의 현지화 관계 목록을 표시합니다. --event-id
screenshots 인앱 이벤트 스크린샷을 관리합니다. 하위 명령어: list, links, view, create, delete
video-clips 인앱 이벤트 동영상 클립을 관리합니다. 하위 명령어: list, links, view, create, set-poster-frame, delete
submit 인앱 이벤트를 심사에 제출합니다. --app, --confirm, --event-id, --platform

storekit

In-App Purchase API 키로 StoreKit 서버 API를 다룹니다.

하위 명령어 하는 일 주요 플래그
auth StoreKit용 In-App Purchase API 자격 증명을 관리합니다. 하위 명령어: login, status, switch, doctor, logout
transactions App Store Server API로 인앱 구입 거래를 읽고 관리합니다. 하위 명령어: view, history, set-account-token, send-consumption, finish
app-transactions 서명된 앱 구입 정보를 읽습니다. 하위 명령어: view
subscriptions App Store Server API로 구독 상태를 읽고 갱신일을 연장합니다. 하위 명령어: status, extend, extend-all, extension-status
refunds App Store Server API로 고객의 환불된 인앱 구입을 읽습니다. 하위 명령어: history
orders 주문 ID로 고객의 인앱 구입을 조회합니다. 하위 명령어: lookup
notifications App Store Server Notifications 기록을 읽고 테스트 알림을 보냅니다. 하위 명령어: history, test, test-status
groups 멀티시트 고객 그룹과 그 구성원을 읽습니다. 하위 명령어: list, members
retention-messaging 구독 Retention Messaging 리소스를 관리합니다. 하위 명령어: images, messages, defaults, endpoint, performance

storekit은 App Store Server API(거래, 구독 상태, 환불, 주문 조회, 서버 알림, 리텐션 메시지)를 호출합니다. AirBuild에 연결된 Apple 팀과는 별도로 전용 In-App Purchase API 키가 필요합니다. asc storekit auth login --name NAME --key-id KEY_ID --issuer-id ISSUER_ID --private-key ./SubscriptionKey.p8 --bundle-id com.example.app으로 등록하고 asc storekit auth status로 확인하세요. 대부분의 storekit 명령어는 --environment production 또는 sandbox를 받습니다.

예시

앱의 인앱 구입과 가격 목록 보기:

터미널 창
asc iap list --app "APP_ID" --paginate --output table
asc iap pricing summary --app "APP_ID"

구독 오퍼 코드 만들기:

터미널 창
asc subscriptions offers offer-codes generate --offer-code-id "OFFER_CODE_ID" --quantity 10 --expiration-date "2026-02-01"

인앱 이벤트를 만들고 제출하기:

터미널 창
asc app-events create --app "APP_ID" --name "Summer Challenge" --event-type CHALLENGE \
  --start "2026-06-01T00:00:00Z" --end "2026-06-30T23:59:59Z"
asc app-events submit --app "APP_ID" --event-id "EVENT_ID" --confirm