import 'package:app_store_connect/api.dart';
All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
inAppPurchasesAppStoreReviewScreenshotGetToOneRelated | GET /v2/inAppPurchases/{id}/appStoreReviewScreenshot | |
inAppPurchasesContentGetToOneRelated | GET /v2/inAppPurchases/{id}/content | |
inAppPurchasesCreateInstance | POST /v2/inAppPurchases | |
inAppPurchasesDeleteInstance | DELETE /v2/inAppPurchases/{id} | |
inAppPurchasesGetInstance | GET /v1/inAppPurchases/{id} | |
inAppPurchasesGetInstance_0 | GET /v2/inAppPurchases/{id} | |
inAppPurchasesIapPriceScheduleGetToOneRelated | GET /v2/inAppPurchases/{id}/iapPriceSchedule | |
inAppPurchasesInAppPurchaseLocalizationsGetToManyRelated | GET /v2/inAppPurchases/{id}/inAppPurchaseLocalizations | |
inAppPurchasesPricePointsGetToManyRelated | GET /v2/inAppPurchases/{id}/pricePoints | |
inAppPurchasesPromotedPurchaseGetToOneRelated | GET /v2/inAppPurchases/{id}/promotedPurchase | |
inAppPurchasesUpdateInstance | PATCH /v2/inAppPurchases/{id} |
InAppPurchaseAppStoreReviewScreenshotResponse inAppPurchasesAppStoreReviewScreenshotGetToOneRelated(id, fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchases
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.inAppPurchasesAppStoreReviewScreenshotGetToOneRelated(id, fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, include);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesAppStoreReviewScreenshotGetToOneRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots | [optional] |
fieldsLeftSquareBracketInAppPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchases | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
InAppPurchaseAppStoreReviewScreenshotResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchaseContentResponse inAppPurchasesContentGetToOneRelated(id, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchases
final BuiltList<String> fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchaseContents
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.inAppPurchasesContentGetToOneRelated(id, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket, include);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesContentGetToOneRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketInAppPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchases | [optional] |
fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchaseContents | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchaseV2Response inAppPurchasesCreateInstance(inAppPurchaseV2CreateRequest)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final InAppPurchaseV2CreateRequest inAppPurchaseV2CreateRequest = ; // InAppPurchaseV2CreateRequest | InAppPurchase representation
try {
final response = api.inAppPurchasesCreateInstance(inAppPurchaseV2CreateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesCreateInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
inAppPurchaseV2CreateRequest | InAppPurchaseV2CreateRequest | InAppPurchase representation |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
inAppPurchasesDeleteInstance(id)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
try {
api.inAppPurchasesDeleteInstance(id);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesDeleteInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchaseResponse inAppPurchasesGetInstance(id, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, include, limitLeftSquareBracketAppsRightSquareBracket)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchases
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
final int limitLeftSquareBracketAppsRightSquareBracket = 56; // int | maximum number of related apps returned (when they are included)
try {
final response = api.inAppPurchasesGetInstance(id, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, include, limitLeftSquareBracketAppsRightSquareBracket);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesGetInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketInAppPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchases | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
limitLeftSquareBracketAppsRightSquareBracket | int | maximum number of related apps returned (when they are included) | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchaseV2Response inAppPurchasesGetInstance_0(id, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, include, fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket, fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket, fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket, fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket, limitLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket, limitLeftSquareBracketPricePointsRightSquareBracket)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchases
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
final BuiltList<String> fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots
final BuiltList<String> fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type promotedPurchases
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchasePricePoints
final BuiltList<String> fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchaseLocalizations
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchasePriceSchedules
final BuiltList<String> fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchaseContents
final int limitLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket = 56; // int | maximum number of related inAppPurchaseLocalizations returned (when they are included)
final int limitLeftSquareBracketPricePointsRightSquareBracket = 56; // int | maximum number of related pricePoints returned (when they are included)
try {
final response = api.inAppPurchasesGetInstance_0(id, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, include, fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket, fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket, fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket, fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket, limitLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket, limitLeftSquareBracketPricePointsRightSquareBracket);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesGetInstance_0: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketInAppPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchases | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
fieldsLeftSquareBracketInAppPurchaseAppStoreReviewScreenshotsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots | [optional] |
fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type promotedPurchases | [optional] |
fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchasePricePoints | [optional] |
fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchaseLocalizations | [optional] |
fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchasePriceSchedules | [optional] |
fieldsLeftSquareBracketInAppPurchaseContentsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchaseContents | [optional] |
limitLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket | int | maximum number of related inAppPurchaseLocalizations returned (when they are included) | [optional] |
limitLeftSquareBracketPricePointsRightSquareBracket | int | maximum number of related pricePoints returned (when they are included) | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchasePriceScheduleResponse inAppPurchasesIapPriceScheduleGetToOneRelated(id, fieldsLeftSquareBracketInAppPurchasePricesRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket, limitLeftSquareBracketManualPricesRightSquareBracket, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasePricesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchasePrices
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchases
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchasePriceSchedules
final int limitLeftSquareBracketManualPricesRightSquareBracket = 56; // int | maximum number of related manualPrices returned (when they are included)
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.inAppPurchasesIapPriceScheduleGetToOneRelated(id, fieldsLeftSquareBracketInAppPurchasePricesRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket, limitLeftSquareBracketManualPricesRightSquareBracket, include);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesIapPriceScheduleGetToOneRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketInAppPurchasePricesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchasePrices | [optional] |
fieldsLeftSquareBracketInAppPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchases | [optional] |
fieldsLeftSquareBracketInAppPurchasePriceSchedulesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchasePriceSchedules | [optional] |
limitLeftSquareBracketManualPricesRightSquareBracket | int | maximum number of related manualPrices returned (when they are included) | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
InAppPurchasePriceScheduleResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchaseLocalizationsResponse inAppPurchasesInAppPurchaseLocalizationsGetToManyRelated(id, fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, limit, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchaseLocalizations
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchases
final int limit = 56; // int | maximum resources per page
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.inAppPurchasesInAppPurchaseLocalizationsGetToManyRelated(id, fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, limit, include);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesInAppPurchaseLocalizationsGetToManyRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketInAppPurchaseLocalizationsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchaseLocalizations | [optional] |
fieldsLeftSquareBracketInAppPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchases | [optional] |
limit | int | maximum resources per page | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
InAppPurchaseLocalizationsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchasePricePointsResponse inAppPurchasesPricePointsGetToManyRelated(id, filterLeftSquareBracketPriceTierRightSquareBracket, filterLeftSquareBracketTerritoryRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket, fieldsLeftSquareBracketTerritoriesRightSquareBracket, limit, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> filterLeftSquareBracketPriceTierRightSquareBracket = ; // BuiltList<String> | filter by attribute 'priceTier'
final BuiltList<String> filterLeftSquareBracketTerritoryRightSquareBracket = ; // BuiltList<String> | filter by id(s) of related 'territory'
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchasePricePoints
final BuiltList<String> fieldsLeftSquareBracketTerritoriesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type territories
final int limit = 56; // int | maximum resources per page
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.inAppPurchasesPricePointsGetToManyRelated(id, filterLeftSquareBracketPriceTierRightSquareBracket, filterLeftSquareBracketTerritoryRightSquareBracket, fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket, fieldsLeftSquareBracketTerritoriesRightSquareBracket, limit, include);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesPricePointsGetToManyRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
filterLeftSquareBracketPriceTierRightSquareBracket | BuiltList<String> | filter by attribute 'priceTier' | [optional] |
filterLeftSquareBracketTerritoryRightSquareBracket | BuiltList<String> | filter by id(s) of related 'territory' | [optional] |
fieldsLeftSquareBracketInAppPurchasePricePointsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchasePricePoints | [optional] |
fieldsLeftSquareBracketTerritoriesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type territories | [optional] |
limit | int | maximum resources per page | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
InAppPurchasePricePointsResponse
- Content-Type: Not defined
- Accept: application/json, text/csv
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PromotedPurchaseResponse inAppPurchasesPromotedPurchaseGetToOneRelated(id, fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket, fieldsLeftSquareBracketSubscriptionsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, fieldsLeftSquareBracketPromotedPurchaseImagesRightSquareBracket, limitLeftSquareBracketPromotionImagesRightSquareBracket, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type promotedPurchases
final BuiltList<String> fieldsLeftSquareBracketSubscriptionsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type subscriptions
final BuiltList<String> fieldsLeftSquareBracketInAppPurchasesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type inAppPurchases
final BuiltList<String> fieldsLeftSquareBracketPromotedPurchaseImagesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type promotedPurchaseImages
final int limitLeftSquareBracketPromotionImagesRightSquareBracket = 56; // int | maximum number of related promotionImages returned (when they are included)
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.inAppPurchasesPromotedPurchaseGetToOneRelated(id, fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket, fieldsLeftSquareBracketSubscriptionsRightSquareBracket, fieldsLeftSquareBracketInAppPurchasesRightSquareBracket, fieldsLeftSquareBracketPromotedPurchaseImagesRightSquareBracket, limitLeftSquareBracketPromotionImagesRightSquareBracket, include);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesPromotedPurchaseGetToOneRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketPromotedPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type promotedPurchases | [optional] |
fieldsLeftSquareBracketSubscriptionsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type subscriptions | [optional] |
fieldsLeftSquareBracketInAppPurchasesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type inAppPurchases | [optional] |
fieldsLeftSquareBracketPromotedPurchaseImagesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type promotedPurchaseImages | [optional] |
limitLeftSquareBracketPromotionImagesRightSquareBracket | int | maximum number of related promotionImages returned (when they are included) | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InAppPurchaseV2Response inAppPurchasesUpdateInstance(id, inAppPurchaseV2UpdateRequest)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getInAppPurchasesApi();
final String id = id_example; // String | the id of the requested resource
final InAppPurchaseV2UpdateRequest inAppPurchaseV2UpdateRequest = ; // InAppPurchaseV2UpdateRequest | InAppPurchase representation
try {
final response = api.inAppPurchasesUpdateInstance(id, inAppPurchaseV2UpdateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling InAppPurchasesApi->inAppPurchasesUpdateInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
inAppPurchaseV2UpdateRequest | InAppPurchaseV2UpdateRequest | InAppPurchase representation |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]