create_iap_product
Create a new in-app purchase product (consumable, non-consumable, or non-renewing subscription).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | The project ID |
productId | string | Yes | Unique product ID (e.g., com.app.coins_100) |
name | string | Yes | Reference name for App Store Connect |
productType | string | Yes | CONSUMABLE, NON_CONSUMABLE, or NON_RENEWING_SUBSCRIPTION |
familyShareable | boolean | No | Enable family sharing (default: false) |
localizations | array | No | Display names and descriptions per locale |
pushToStore | boolean | No | Immediately 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"}}
Sync Status
Products are created locally first with pending_creation status. Use sync_iap_products to push to App Store Connect, or set pushToStore: true.