List the versions of an in-app purchase
List the draft versions of an in-app purchase configured with the v2 API.
URL
GET https://api.appstoreconnect.apple.com/v2/inAppPurchases/{id}/versionsPath Parameters
| Name | Type | Description |
|---|---|---|
id Required | string |
Query Parameters
| Name | Type | Description |
|---|---|---|
filter[state] Optional | [string] | |
fields[inAppPurchaseVersions] Optional | [string] | |
fields[inAppPurchases] Optional | [string] | |
fields[inAppPurchaseImages] Optional | [string] | |
fields[inAppPurchaseLocalizations] Optional | [string] | |
limit Optional | integer | |
include Optional | [string] | |
limit[images] Optional | integer | |
limit[localizations] Optional | integer |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 400 | Bad Request Content-Type: application/json | ErrorResponse | |
| 401 | Unauthorized Content-Type: application/json | ErrorResponse | |
| 403 | Forbidden Content-Type: application/json | ErrorResponse | |
| 404 | Not Found Content-Type: application/json | ErrorResponse | |
| 200 | OK Content-Type: application/json | InAppPurchaseVersionsResponse | |
| 429 | Content-Type: application/json | ErrorResponse |
Mentioned in
See Also
Endpoints
Create an in-app purchase versionRead in-app purchase version informationRead the image for an in-app purchase versionList images for an in-app purchase versionList localizations for an in-app purchase versionRead the image ID for an in-app purchase versionList image IDs for an in-app purchase versionList localization IDs for an in-app purchase versionGet the resource IDs of the versions of an in-app purchase