Contents

Replace the available territories for a subscription plan availability

Replace the list of available territories for a specific subscription plan availability.

URL

PATCH https://api.appstoreconnect.apple.com/v1/subscriptionPlanAvailabilities/{id}/relationships/availableTerritories

Path Parameters

NameTypeDescription
id Requiredstring

An opaque resource ID that uniquely identifies the resource. Obtain the subscriptionPlanAvailability resource ID from the List plan availabilities for a subscription response.

Response Codes

StatusReasonTypeDescription
204No Content

400Bad Request
Content-Type: application/json
ErrorResponse

An error occurred with your request.

401Unauthorized
Content-Type: application/json
ErrorResponse

403Forbidden
Content-Type: application/json
ErrorResponse

Request not authorized.

404Not Found
Content-Type: application/json
ErrorResponse

Resource not found.

409Conflict
Content-Type: application/json
ErrorResponse

The provided resource data is not valid.

422
Content-Type: application/json
ErrorResponse

429
Content-Type: application/json
ErrorResponse

HTTP Body

See Also

Managing available territories