create_iap_product

Create a new in-app purchase product (consumable, non-consumable, or non-renewing subscription).

Parameters

ParameterTypeRequiredDescription
projectIdstringYesThe project ID
productIdstringYesUnique product ID (e.g., com.app.coins_100)
namestringYesReference name for App Store Connect
productTypestringYesCONSUMABLE, NON_CONSUMABLE, or NON_RENEWING_SUBSCRIPTION
familyShareablebooleanNoEnable family sharing (default: false)
localizationsarrayNoDisplay names and descriptions per locale
pushToStorebooleanNoImmediately push to App Store Connect (default: false)

Example Usage

Natural Language Promptstext
"Create a consumable IAP for 100 coins at $0.99"
"Add a non-consumable 'Remove Ads' purchase"
"Create a season pass as a non-renewing subscription"

Response

{
"success": true,
"iap": {
"id": "iap_abc123",
"productId": "com.app.coins_100",
"name": "100 Coins",
"productType": "CONSUMABLE",
"syncStatus": "pending_creation"
}
}