Contents

List plan availability IDs for a subscription

List the resource IDs of related subscription plan availabilities for a subscription.

URL

GET https://api.appstoreconnect.apple.com/v1/subscriptions/{id}/relationships/planAvailabilities

Path Parameters

NameTypeDescription
id Requiredstring

An opaque resource ID that uniquely identifies the resource.

Query Parameters

NameTypeDescription
limit Optionalinteger

The maximum number of subscriptionPlanAvailabilities resource identifiers to return.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
SubscriptionPlanAvailabilitiesLinkagesResponse

The request completed successfully.

400Bad Request
Content-Type: application/json
ErrorResponse

An error occurred with your request.

401Unauthorized
Content-Type: application/json
ErrorResponse

Authentication failed.

403Forbidden
Content-Type: application/json
ErrorResponse

Request not authorized.

404Not Found
Content-Type: application/json
ErrorResponse

Resource not found.

429
Content-Type: application/json
ErrorResponse

The request rate limit was exceeded.

See Also

Reading plan availability from a subscription