create_in_app_purchase
Creates a new in-app purchase in App Store Connect using the v2 API, defining app ID, product ID, and purchase type so you can add consumables, non-consumables, or non-renewing subscriptions.
Instructions
Create a new in-app purchase (v2 API)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appId": "<appId>",
"name": "<name>",
"productId": "<productId>",
"inAppPurchaseType": "<inAppPurchaseType>"
},
"name": "create_in_app_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | IAP display name | |
| appId | Yes | The app ID | |
| productId | Yes | Product ID (e.g. com.example.premium) | |
| reviewNote | No | Review note for App Review | |
| inAppPurchaseType | Yes | Type: CONSUMABLE, NON_CONSUMABLE, NON_RENEWING_SUBSCRIPTION |