GET /v2/inAppPurchases/{id}/offerCodes
URL
GET https://api.appstoreconnect.apple.com/v2/inAppPurchases/{id}/offerCodesPath Parameters
| Name | Type | Description |
|---|---|---|
id Required | string |
Query Parameters
| Name | Type | Description |
|---|---|---|
fields[inAppPurchaseOfferCodeCustomCodes] Optional | [string] | |
fields[inAppPurchaseOfferCodeOneTimeUseCodes] Optional | [string] | |
fields[inAppPurchaseOfferCodes] Optional | [string] | |
fields[inAppPurchaseOfferPrices] Optional | [string] | |
filter[territory] Optional | [string] | |
include Optional | [string] | |
limit Optional | integer | |
limit[customCodes] Optional | integer | |
limit[oneTimeUseCodes] Optional | integer | |
limit[prices] Optional | integer |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | InAppPurchaseOfferCodesResponse | |
| 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 | |
| 429 | Content-Type: application/json | ErrorResponse |
See Also
Endpoints
Create an In-App PurchaseRead In-App Purchase InformationList All In-App Purchases for an AppModify an In-App PurchaseDelete an In-App PurchaseList All Price Points for an In-App PurchaseGET /v2/inAppPurchases/{id}/relationships/pricePointsList all in-app purchase price point equalizationsGET /v1/inAppPurchasePricePoints/{id}/relationships/equalizationsRead Promoted Purchase Information for an In-App PurchaseGET /v2/inAppPurchases/{id}/relationships/promotedPurchaseList All Localizations for an In-App PurchaseGET /v2/inAppPurchases/{id}/relationships/inAppPurchaseLocalizationsRead Review Screenshot Information for an In-App PurchaseGET /v2/inAppPurchases/{id}/relationships/appStoreReviewScreenshot