Modify an in-app purchase offer code one-time use code
Update a specific in-app purchase offer code one-time use code.
URL
PATCH https://api.appstoreconnect.apple.com/v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id}Path Parameters
| Name | Type | Description |
|---|---|---|
id Required | string |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | InAppPurchaseOfferCodeOneTimeUseCodeResponse | |
| 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 | |
| 409 | Conflict Content-Type: application/json | ErrorResponse | |
| 422 | Content-Type: application/json | ErrorResponse | |
| 429 | Content-Type: application/json | ErrorResponse |
HTTP Body
See Also
Managing One-Time Use Offer Codes
Create an in-app purchase offer code one-time use codeRead in-app purchase offer code one-time use code informationList all one-time use codes for an in-app purchase offer codeList all values for an in-app purchase offer code one-time use codeGet all one-time use code IDs for an in-app purchase offer code