openapi: 3.0.1 info: title: App Store Connect AccessibilityDeclarations Subscriptions API version: 4.3.1 x-platforms: app_store_connect_api: App Store Connect API description: The App Store Connect API is the standards-based REST API Apple provides to automate tasks across App Store Connect, Xcode, and Certificates, Identifiers & Profiles. It covers apps, builds, TestFlight, in-app purchases, subscriptions, Game Center, Xcode Cloud, provisioning, pricing and availability, and the full reporting surface (analytics, sales and trends, financial reports, power and performance). This spec is the official OpenAPI 3.0 document published by Apple at https://developer.apple.com/app-store-connect/api/ — mirrored here unmodified except for title-cased operation summaries. servers: - url: https://api.appstoreconnect.apple.com/ security: - itc-bearer-token: [] tags: - name: Subscriptions paths: /v1/subscriptions: post: tags: - Subscriptions operationId: subscriptions_createInstance requestBody: description: Subscription representation content: application/json: schema: $ref: '#/components/schemas/SubscriptionCreateRequest' required: true responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '422': description: Unprocessable request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '201': description: Single Subscription content: application/json: schema: $ref: '#/components/schemas/SubscriptionResponse' '409': description: Request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Create Subscriptions /v1/subscriptions/{id}: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_getInstance parameters: - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false required: false - name: fields[subscriptionLocalizations] in: query description: the fields to include for returned resources of type subscriptionLocalizations schema: type: array items: type: string enum: - name - locale - description - state - subscription style: form explode: false required: false - name: fields[subscriptionAppStoreReviewScreenshots] in: query description: the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots schema: type: array items: type: string enum: - fileSize - fileName - sourceFileChecksum - imageAsset - assetToken - assetType - uploadOperations - assetDeliveryState - subscription style: form explode: false required: false - name: fields[subscriptionGroups] in: query description: the fields to include for returned resources of type subscriptionGroups schema: type: array items: type: string enum: - referenceName - subscriptions - subscriptionGroupLocalizations style: form explode: false required: false - name: fields[subscriptionIntroductoryOffers] in: query description: the fields to include for returned resources of type subscriptionIntroductoryOffers schema: type: array items: type: string enum: - startDate - endDate - duration - offerMode - numberOfPeriods - subscription - territory - subscriptionPricePoint style: form explode: false required: false - name: fields[subscriptionPromotionalOffers] in: query description: the fields to include for returned resources of type subscriptionPromotionalOffers schema: type: array items: type: string enum: - duration - name - numberOfPeriods - offerCode - offerMode - subscription - prices style: form explode: false required: false - name: fields[subscriptionOfferCodes] in: query description: the fields to include for returned resources of type subscriptionOfferCodes schema: type: array items: type: string enum: - name - customerEligibilities - offerEligibility - duration - offerMode - numberOfPeriods - totalNumberOfCodes - productionCodeCount - sandboxCodeCount - active - autoRenewEnabled - subscription - oneTimeUseCodes - customCodes - prices style: form explode: false required: false - name: fields[subscriptionPrices] in: query description: the fields to include for returned resources of type subscriptionPrices schema: type: array items: type: string enum: - startDate - preserved - territory - subscriptionPricePoint style: form explode: false required: false - name: fields[promotedPurchases] in: query description: the fields to include for returned resources of type promotedPurchases schema: type: array items: type: string enum: - visibleForAllUsers - enabled - state - inAppPurchaseV2 - subscription style: form explode: false required: false - name: fields[subscriptionAvailabilities] in: query description: the fields to include for returned resources of type subscriptionAvailabilities schema: type: array items: type: string enum: - availableInNewTerritories - availableTerritories style: form explode: false required: false - name: fields[winBackOffers] in: query description: the fields to include for returned resources of type winBackOffers schema: type: array items: type: string enum: - referenceName - offerId - duration - offerMode - periodCount - customerEligibilityPaidSubscriptionDurationInMonths - customerEligibilityTimeSinceLastSubscribedInMonths - customerEligibilityWaitBetweenOffersInMonths - startDate - endDate - priority - promotionIntent - prices style: form explode: false required: false - name: fields[subscriptionImages] in: query description: the fields to include for returned resources of type subscriptionImages schema: type: array items: type: string enum: - fileSize - fileName - sourceFileChecksum - assetToken - imageAsset - uploadOperations - state - subscription style: form explode: false required: false - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false required: false - name: limit[images] in: query description: maximum number of related images returned (when they are included) schema: type: integer maximum: 50 style: form required: false - name: limit[introductoryOffers] in: query description: maximum number of related introductoryOffers returned (when they are included) schema: type: integer maximum: 50 style: form required: false - name: limit[offerCodes] in: query description: maximum number of related offerCodes returned (when they are included) schema: type: integer maximum: 50 style: form required: false - name: limit[prices] in: query description: maximum number of related prices returned (when they are included) schema: type: integer maximum: 50 style: form required: false - name: limit[promotionalOffers] in: query description: maximum number of related promotionalOffers returned (when they are included) schema: type: integer maximum: 50 style: form required: false - name: limit[subscriptionLocalizations] in: query description: maximum number of related subscriptionLocalizations returned (when they are included) schema: type: integer maximum: 50 style: form required: false - name: limit[winBackOffers] in: query description: maximum number of related winBackOffers returned (when they are included) schema: type: integer maximum: 50 style: form required: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Single Subscription content: application/json: schema: $ref: '#/components/schemas/SubscriptionResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Get Subscriptions patch: tags: - Subscriptions operationId: subscriptions_updateInstance requestBody: description: Subscription representation content: application/json: schema: $ref: '#/components/schemas/SubscriptionUpdateRequest' required: true responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '422': description: Unprocessable request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Single Subscription content: application/json: schema: $ref: '#/components/schemas/SubscriptionResponse' '409': description: Request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Update Subscriptions delete: tags: - Subscriptions operationId: subscriptions_deleteInstance responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '204': description: Success (no content) '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Delete Subscriptions /v1/subscriptions/{id}/relationships/appStoreReviewScreenshot: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_appStoreReviewScreenshot_getToOneRelationship parameters: [] responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Related linkage content: application/json: schema: $ref: '#/components/schemas/SubscriptionAppStoreReviewScreenshotLinkageResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Get Related Subscriptions / App Store Review Screenshot /v1/subscriptions/{id}/appStoreReviewScreenshot: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_appStoreReviewScreenshot_getToOneRelated parameters: - name: fields[subscriptionAppStoreReviewScreenshots] in: query description: the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots schema: type: array items: type: string enum: - fileSize - fileName - sourceFileChecksum - imageAsset - assetToken - assetType - uploadOperations - assetDeliveryState - subscription style: form explode: false - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - subscription style: form explode: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Single SubscriptionAppStoreReviewScreenshot content: application/json: schema: $ref: '#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Get Related Subscriptions / App Store Review Screenshot /v1/subscriptions/{id}/relationships/images: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_images_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionImagesLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Images /v1/subscriptions/{id}/images: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_images_getToManyRelated parameters: - name: fields[subscriptionImages] in: query description: the fields to include for returned resources of type subscriptionImages schema: type: array items: type: string enum: - fileSize - fileName - sourceFileChecksum - assetToken - imageAsset - uploadOperations - state - subscription style: form explode: false - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - subscription style: form explode: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of SubscriptionImages content: application/json: schema: $ref: '#/components/schemas/SubscriptionImagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Images /v1/subscriptions/{id}/relationships/introductoryOffers: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_introductoryOffers_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionIntroductoryOffersLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Introductory Offers delete: tags: - Subscriptions operationId: subscriptions_introductoryOffers_deleteToManyRelationship requestBody: description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionIntroductoryOffersLinkagesRequest' required: true responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '422': description: Unprocessable request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '409': description: Request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '204': description: Success (no content) '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Remove Related Subscriptions / Introductory Offers /v1/subscriptions/{id}/introductoryOffers: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_introductoryOffers_getToManyRelated parameters: - name: filter[territory] in: query description: filter by id(s) of related 'territory' schema: type: array items: type: string style: form explode: false - name: fields[subscriptionIntroductoryOffers] in: query description: the fields to include for returned resources of type subscriptionIntroductoryOffers schema: type: array items: type: string enum: - startDate - endDate - duration - offerMode - numberOfPeriods - subscription - territory - subscriptionPricePoint style: form explode: false - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false - name: fields[territories] in: query description: the fields to include for returned resources of type territories schema: type: array items: type: string enum: - currency style: form explode: false - name: fields[subscriptionPricePoints] in: query description: the fields to include for returned resources of type subscriptionPricePoints schema: type: array items: type: string enum: - customerPrice - proceeds - proceedsYear2 - territory - equalizations style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - subscription - territory - subscriptionPricePoint style: form explode: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of SubscriptionIntroductoryOffers content: application/json: schema: $ref: '#/components/schemas/SubscriptionIntroductoryOffersResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Introductory Offers /v1/subscriptions/{id}/relationships/offerCodes: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_offerCodes_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionOfferCodesLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Offer Codes /v1/subscriptions/{id}/offerCodes: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_offerCodes_getToManyRelated parameters: - name: filter[territory] in: query description: filter by territory schema: type: array items: type: string style: form explode: false - name: fields[subscriptionOfferCodes] in: query description: the fields to include for returned resources of type subscriptionOfferCodes schema: type: array items: type: string enum: - name - customerEligibilities - offerEligibility - duration - offerMode - numberOfPeriods - totalNumberOfCodes - productionCodeCount - sandboxCodeCount - active - autoRenewEnabled - subscription - oneTimeUseCodes - customCodes - prices style: form explode: false - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false - name: fields[subscriptionOfferCodeOneTimeUseCodes] in: query description: the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes schema: type: array items: type: string enum: - numberOfCodes - createdDate - expirationDate - active - environment - offerCode - values style: form explode: false - name: fields[subscriptionOfferCodeCustomCodes] in: query description: the fields to include for returned resources of type subscriptionOfferCodeCustomCodes schema: type: array items: type: string enum: - customCode - numberOfCodes - createdDate - expirationDate - active - offerCode style: form explode: false - name: fields[subscriptionOfferCodePrices] in: query description: the fields to include for returned resources of type subscriptionOfferCodePrices schema: type: array items: type: string enum: - territory - subscriptionPricePoint style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - subscription - oneTimeUseCodes - customCodes - prices style: form explode: false - name: limit[oneTimeUseCodes] in: query description: maximum number of related oneTimeUseCodes returned (when they are included) schema: type: integer maximum: 50 style: form - name: limit[customCodes] in: query description: maximum number of related customCodes returned (when they are included) schema: type: integer maximum: 50 style: form - name: limit[prices] in: query description: maximum number of related prices returned (when they are included) schema: type: integer maximum: 50 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of SubscriptionOfferCodes content: application/json: schema: $ref: '#/components/schemas/SubscriptionOfferCodesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Offer Codes /v1/subscriptions/{id}/relationships/pricePoints: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_pricePoints_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 8000 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionPricePointsLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Price Points /v1/subscriptions/{id}/pricePoints: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_pricePoints_getToManyRelated parameters: - name: filter[territory] in: query description: filter by id(s) of related 'territory' schema: type: array items: type: string style: form explode: false - name: fields[subscriptionPricePoints] in: query description: the fields to include for returned resources of type subscriptionPricePoints schema: type: array items: type: string enum: - customerPrice - proceeds - proceedsYear2 - territory - equalizations style: form explode: false - name: fields[territories] in: query description: the fields to include for returned resources of type territories schema: type: array items: type: string enum: - currency style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 8000 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - territory style: form explode: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of SubscriptionPricePoints content: application/json: schema: $ref: '#/components/schemas/SubscriptionPricePointsResponse' text/csv: schema: $ref: '#/components/schemas/csv' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Price Points /v1/subscriptions/{id}/relationships/prices: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_prices_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionPricesLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Prices delete: tags: - Subscriptions operationId: subscriptions_prices_deleteToManyRelationship requestBody: description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionPricesLinkagesRequest' required: true responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '422': description: Unprocessable request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '409': description: Request entity error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '204': description: Success (no content) '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Remove Related Subscriptions / Prices /v1/subscriptions/{id}/prices: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_prices_getToManyRelated parameters: - name: filter[subscriptionPricePoint] in: query description: filter by id(s) of related 'subscriptionPricePoint' schema: type: array items: type: string style: form explode: false - name: filter[territory] in: query description: filter by id(s) of related 'territory' schema: type: array items: type: string style: form explode: false - name: fields[subscriptionPrices] in: query description: the fields to include for returned resources of type subscriptionPrices schema: type: array items: type: string enum: - startDate - preserved - territory - subscriptionPricePoint style: form explode: false - name: fields[territories] in: query description: the fields to include for returned resources of type territories schema: type: array items: type: string enum: - currency style: form explode: false - name: fields[subscriptionPricePoints] in: query description: the fields to include for returned resources of type subscriptionPricePoints schema: type: array items: type: string enum: - customerPrice - proceeds - proceedsYear2 - territory - equalizations style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - territory - subscriptionPricePoint style: form explode: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of SubscriptionPrices content: application/json: schema: $ref: '#/components/schemas/SubscriptionPricesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Prices /v1/subscriptions/{id}/relationships/promotedPurchase: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_promotedPurchase_getToOneRelationship parameters: [] responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Related linkage content: application/json: schema: $ref: '#/components/schemas/SubscriptionPromotedPurchaseLinkageResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Get Related Subscriptions / Promoted Purchase /v1/subscriptions/{id}/promotedPurchase: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_promotedPurchase_getToOneRelated parameters: - name: fields[promotedPurchases] in: query description: the fields to include for returned resources of type promotedPurchases schema: type: array items: type: string enum: - visibleForAllUsers - enabled - state - inAppPurchaseV2 - subscription style: form explode: false - name: fields[inAppPurchases] in: query description: the fields to include for returned resources of type inAppPurchases schema: type: array items: type: string enum: - name - productId - inAppPurchaseType - state - reviewNote - familySharable - contentHosting - inAppPurchaseLocalizations - pricePoints - content - appStoreReviewScreenshot - promotedPurchase - iapPriceSchedule - inAppPurchaseAvailability - images - offerCodes style: form explode: false - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - inAppPurchaseV2 - subscription style: form explode: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Single PromotedPurchase content: application/json: schema: $ref: '#/components/schemas/PromotedPurchaseResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Get Related Subscriptions / Promoted Purchase /v1/subscriptions/{id}/relationships/promotionalOffers: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_promotionalOffers_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionPromotionalOffersLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Promotional Offers /v1/subscriptions/{id}/promotionalOffers: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_promotionalOffers_getToManyRelated parameters: - name: filter[territory] in: query description: filter by territory schema: type: array items: type: string style: form explode: false - name: fields[subscriptionPromotionalOffers] in: query description: the fields to include for returned resources of type subscriptionPromotionalOffers schema: type: array items: type: string enum: - duration - name - numberOfPeriods - offerCode - offerMode - subscription - prices style: form explode: false - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false - name: fields[subscriptionPromotionalOfferPrices] in: query description: the fields to include for returned resources of type subscriptionPromotionalOfferPrices schema: type: array items: type: string enum: - territory - subscriptionPricePoint style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - subscription - prices style: form explode: false - name: limit[prices] in: query description: maximum number of related prices returned (when they are included) schema: type: integer maximum: 50 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of SubscriptionPromotionalOffers content: application/json: schema: $ref: '#/components/schemas/SubscriptionPromotionalOffersResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Promotional Offers /v1/subscriptions/{id}/relationships/subscriptionAvailability: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_subscriptionAvailability_getToOneRelationship parameters: [] responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Related linkage content: application/json: schema: $ref: '#/components/schemas/SubscriptionSubscriptionAvailabilityLinkageResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Get Related Subscriptions / Subscription Availability /v1/subscriptions/{id}/subscriptionAvailability: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_subscriptionAvailability_getToOneRelated parameters: - name: fields[subscriptionAvailabilities] in: query description: the fields to include for returned resources of type subscriptionAvailabilities schema: type: array items: type: string enum: - availableInNewTerritories - availableTerritories style: form explode: false - name: fields[territories] in: query description: the fields to include for returned resources of type territories schema: type: array items: type: string enum: - currency style: form explode: false - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - availableTerritories style: form explode: false - name: limit[availableTerritories] in: query description: maximum number of related availableTerritories returned (when they are included) schema: type: integer maximum: 50 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: Single SubscriptionAvailability content: application/json: schema: $ref: '#/components/schemas/SubscriptionAvailabilityResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: Get Related Subscriptions / Subscription Availability /v1/subscriptions/{id}/relationships/subscriptionLocalizations: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_subscriptionLocalizations_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionSubscriptionLocalizationsLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Subscription Localizations /v1/subscriptions/{id}/subscriptionLocalizations: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_subscriptionLocalizations_getToManyRelated parameters: - name: fields[subscriptionLocalizations] in: query description: the fields to include for returned resources of type subscriptionLocalizations schema: type: array items: type: string enum: - name - locale - description - state - subscription style: form explode: false - name: fields[subscriptions] in: query description: the fields to include for returned resources of type subscriptions schema: type: array items: type: string enum: - name - productId - familySharable - state - subscriptionPeriod - reviewNote - groupLevel - subscriptionLocalizations - appStoreReviewScreenshot - group - introductoryOffers - promotionalOffers - offerCodes - prices - pricePoints - promotedPurchase - subscriptionAvailability - winBackOffers - images style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - subscription style: form explode: false responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of SubscriptionLocalizations content: application/json: schema: $ref: '#/components/schemas/SubscriptionLocalizationsResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Subscription Localizations /v1/subscriptions/{id}/relationships/winBackOffers: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_winBackOffers_getToManyRelationship parameters: - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of related linkages content: application/json: schema: $ref: '#/components/schemas/SubscriptionWinBackOffersLinkagesResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Win Back Offers /v1/subscriptions/{id}/winBackOffers: parameters: - name: id in: path description: the id of the requested resource schema: type: string style: simple required: true get: tags: - Subscriptions operationId: subscriptions_winBackOffers_getToManyRelated parameters: - name: fields[winBackOffers] in: query description: the fields to include for returned resources of type winBackOffers schema: type: array items: type: string enum: - referenceName - offerId - duration - offerMode - periodCount - customerEligibilityPaidSubscriptionDurationInMonths - customerEligibilityTimeSinceLastSubscribedInMonths - customerEligibilityWaitBetweenOffersInMonths - startDate - endDate - priority - promotionIntent - prices style: form explode: false - name: fields[winBackOfferPrices] in: query description: the fields to include for returned resources of type winBackOfferPrices schema: type: array items: type: string enum: - territory - subscriptionPricePoint style: form explode: false - name: limit in: query description: maximum resources per page schema: type: integer maximum: 200 style: form - name: include in: query description: comma-separated list of relationships to include schema: type: array items: type: string enum: - prices style: form explode: false - name: limit[prices] in: query description: maximum number of related prices returned (when they are included) schema: type: integer maximum: 50 style: form responses: '400': description: Parameter error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized error(s) content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '200': description: List of WinBackOffers content: application/json: schema: $ref: '#/components/schemas/WinBackOffersResponse' '429': description: Rate limit exceeded error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' summary: List Related Subscriptions / Win Back Offers components: schemas: SubscriptionOfferCode: type: object title: SubscriptionOfferCode properties: type: type: string enum: - subscriptionOfferCodes id: type: string attributes: type: object properties: name: type: string customerEligibilities: type: array items: $ref: '#/components/schemas/SubscriptionCustomerEligibility' offerEligibility: $ref: '#/components/schemas/SubscriptionOfferEligibility' duration: $ref: '#/components/schemas/SubscriptionOfferDuration' offerMode: $ref: '#/components/schemas/SubscriptionOfferMode' numberOfPeriods: type: integer totalNumberOfCodes: type: integer productionCodeCount: type: integer sandboxCodeCount: type: integer active: type: boolean autoRenewEnabled: type: boolean relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type oneTimeUseCodes: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionOfferCodeOneTimeUseCodes id: type: string required: - id - type customCodes: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionOfferCodeCustomCodes id: type: string required: - id - type prices: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionOfferCodePrices id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionAppStoreReviewScreenshot: type: object title: SubscriptionAppStoreReviewScreenshot properties: type: type: string enum: - subscriptionAppStoreReviewScreenshots id: type: string attributes: type: object properties: fileSize: type: integer fileName: type: string sourceFileChecksum: type: string imageAsset: $ref: '#/components/schemas/ImageAsset' assetToken: type: string assetType: type: string uploadOperations: type: array items: $ref: '#/components/schemas/UploadOperation' assetDeliveryState: $ref: '#/components/schemas/AppMediaAssetState' relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionPrice: type: object title: SubscriptionPrice properties: type: type: string enum: - subscriptionPrices id: type: string attributes: type: object properties: startDate: type: string format: date preserved: type: boolean relationships: type: object properties: territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type subscriptionPricePoint: type: object properties: data: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type ImageAsset: type: object properties: templateUrl: type: string width: type: integer height: type: integer PagedDocumentLinks: type: object properties: self: type: string format: uri-reference first: type: string format: uri-reference next: type: string format: uri-reference required: - self SubscriptionOfferMode: type: string enum: - PAY_AS_YOU_GO - PAY_UP_FRONT - FREE_TRIAL SubscriptionOfferDuration: type: string enum: - THREE_DAYS - ONE_WEEK - TWO_WEEKS - ONE_MONTH - TWO_MONTHS - THREE_MONTHS - SIX_MONTHS - ONE_YEAR SubscriptionOfferCodePrice: type: object title: SubscriptionOfferCodePrice properties: type: type: string enum: - subscriptionOfferCodePrices id: type: string relationships: type: object properties: territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type subscriptionPricePoint: type: object properties: data: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type ResourceLinks: type: object properties: self: type: string format: uri-reference SubscriptionOfferCodeOneTimeUseCode: type: object title: SubscriptionOfferCodeOneTimeUseCode properties: type: type: string enum: - subscriptionOfferCodeOneTimeUseCodes id: type: string attributes: type: object properties: numberOfCodes: type: integer createdDate: type: string format: date-time expirationDate: type: string format: date active: type: boolean environment: $ref: '#/components/schemas/OfferCodeEnvironment' relationships: type: object properties: offerCode: type: object properties: data: type: object properties: type: type: string enum: - subscriptionOfferCodes id: type: string required: - id - type values: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionPricePointsResponse: type: object title: SubscriptionPricePointsResponse properties: data: type: array items: $ref: '#/components/schemas/SubscriptionPricePoint' included: type: array items: $ref: '#/components/schemas/Territory' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links PromotedPurchaseResponse: type: object title: PromotedPurchaseResponse properties: data: $ref: '#/components/schemas/PromotedPurchase' included: type: array items: oneOf: - $ref: '#/components/schemas/InAppPurchaseV2' - $ref: '#/components/schemas/Subscription' discriminator: propertyName: type mapping: subscriptions: '#/components/schemas/Subscription' inAppPurchases: '#/components/schemas/InAppPurchaseV2' links: $ref: '#/components/schemas/DocumentLinks' required: - data - links ErrorSourceParameter: type: object title: Parameter properties: parameter: type: string required: - parameter ErrorLinks: type: object properties: about: type: string format: uri-reference associated: oneOf: - type: string format: uri-reference - type: object properties: href: type: string format: uri-reference meta: type: object properties: source: type: string SubscriptionPromotionalOffer: type: object title: SubscriptionPromotionalOffer properties: type: type: string enum: - subscriptionPromotionalOffers id: type: string attributes: type: object properties: duration: $ref: '#/components/schemas/SubscriptionOfferDuration' name: type: string numberOfPeriods: type: integer offerCode: type: string offerMode: $ref: '#/components/schemas/SubscriptionOfferMode' relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type prices: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionPromotionalOfferPrices id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionOfferCodesResponse: type: object title: SubscriptionOfferCodesResponse properties: data: type: array items: $ref: '#/components/schemas/SubscriptionOfferCode' included: type: array items: oneOf: - $ref: '#/components/schemas/SubscriptionOfferCodeCustomCode' - $ref: '#/components/schemas/SubscriptionOfferCodeOneTimeUseCode' - $ref: '#/components/schemas/SubscriptionOfferCodePrice' - $ref: '#/components/schemas/Subscription' discriminator: propertyName: type mapping: subscriptionOfferCodePrices: '#/components/schemas/SubscriptionOfferCodePrice' subscriptions: '#/components/schemas/Subscription' subscriptionOfferCodeOneTimeUseCodes: '#/components/schemas/SubscriptionOfferCodeOneTimeUseCode' subscriptionOfferCodeCustomCodes: '#/components/schemas/SubscriptionOfferCodeCustomCode' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionWinBackOffersLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - winBackOffers id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links AppMediaAssetState: type: object properties: errors: type: array items: $ref: '#/components/schemas/AppMediaStateError' warnings: type: array items: $ref: '#/components/schemas/AppMediaStateError' state: type: string enum: - AWAITING_UPLOAD - UPLOAD_COMPLETE - COMPLETE - FAILED SubscriptionOfferCodesLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionOfferCodes id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links csv: type: string WinBackOfferPrice: type: object title: WinBackOfferPrice properties: type: type: string enum: - winBackOfferPrices id: type: string relationships: type: object properties: territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type subscriptionPricePoint: type: object properties: data: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionPricePoint: type: object title: SubscriptionPricePoint properties: type: type: string enum: - subscriptionPricePoints id: type: string attributes: type: object properties: customerPrice: type: string proceeds: type: string proceedsYear2: type: string relationships: type: object properties: territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type equalizations: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionGroup: type: object title: SubscriptionGroup properties: type: type: string enum: - subscriptionGroups id: type: string attributes: type: object properties: referenceName: type: string relationships: type: object properties: subscriptions: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type subscriptionGroupLocalizations: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionGroupLocalizations id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type DocumentLinks: type: object properties: self: type: string format: uri-reference required: - self Territory: type: object title: Territory properties: type: type: string enum: - territories id: type: string attributes: type: object properties: currency: type: string links: $ref: '#/components/schemas/ResourceLinks' required: - id - type UploadOperation: type: object properties: method: type: string url: type: string length: type: integer offset: type: integer requestHeaders: type: array items: $ref: '#/components/schemas/HttpHeader' WinBackOffer: type: object title: WinBackOffer properties: type: type: string enum: - winBackOffers id: type: string attributes: type: object properties: referenceName: type: string offerId: type: string duration: $ref: '#/components/schemas/SubscriptionOfferDuration' offerMode: $ref: '#/components/schemas/SubscriptionOfferMode' periodCount: type: integer customerEligibilityPaidSubscriptionDurationInMonths: type: integer customerEligibilityTimeSinceLastSubscribedInMonths: $ref: '#/components/schemas/IntegerRange' customerEligibilityWaitBetweenOffersInMonths: type: integer startDate: type: string format: date endDate: type: string format: date priority: type: string enum: - HIGH - NORMAL promotionIntent: type: string enum: - NOT_PROMOTED - USE_AUTO_GENERATED_ASSETS relationships: type: object properties: prices: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - winBackOfferPrices id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type IntegerRange: type: object properties: minimum: type: integer maximum: type: integer SubscriptionAppStoreReviewScreenshotLinkageResponse: type: object properties: data: type: object properties: type: type: string enum: - subscriptionAppStoreReviewScreenshots id: type: string required: - id - type links: $ref: '#/components/schemas/DocumentLinks' required: - data - links ErrorResponse: type: object properties: errors: type: array items: type: object properties: id: type: string status: type: string code: type: string title: type: string detail: type: string source: oneOf: - $ref: '#/components/schemas/ErrorSourcePointer' - $ref: '#/components/schemas/ErrorSourceParameter' links: $ref: '#/components/schemas/ErrorLinks' meta: type: object additionalProperties: {} required: - code - detail - status - title SubscriptionCreateRequest: type: object title: SubscriptionCreateRequest properties: data: type: object properties: type: type: string enum: - subscriptions attributes: type: object properties: name: type: string productId: type: string familySharable: type: boolean nullable: true subscriptionPeriod: type: string nullable: true enum: - ONE_WEEK - ONE_MONTH - TWO_MONTHS - THREE_MONTHS - SIX_MONTHS - ONE_YEAR reviewNote: type: string nullable: true groupLevel: type: integer nullable: true required: - productId - name relationships: type: object properties: group: type: object properties: data: type: object properties: type: type: string enum: - subscriptionGroups id: type: string required: - id - type required: - data required: - group required: - relationships - attributes - type required: - data SubscriptionPricesLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionPrices id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionPricesLinkagesRequest: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionPrices id: type: string required: - id - type required: - data SubscriptionImage: type: object title: SubscriptionImage properties: type: type: string enum: - subscriptionImages id: type: string attributes: type: object properties: fileSize: type: integer fileName: type: string sourceFileChecksum: type: string assetToken: type: string imageAsset: $ref: '#/components/schemas/ImageAsset' uploadOperations: type: array items: $ref: '#/components/schemas/UploadOperation' state: type: string enum: - AWAITING_UPLOAD - UPLOAD_COMPLETE - FAILED - PREPARE_FOR_SUBMISSION - WAITING_FOR_REVIEW - APPROVED - REJECTED relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionPriceInlineCreate: type: object properties: type: type: string enum: - subscriptionPrices id: type: string attributes: type: object properties: startDate: type: string format: date nullable: true preserveCurrentPrice: type: boolean nullable: true relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type subscriptionPricePoint: type: object properties: data: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type required: - type SubscriptionPromotionalOfferPrice: type: object title: SubscriptionPromotionalOfferPrice properties: type: type: string enum: - subscriptionPromotionalOfferPrices id: type: string relationships: type: object properties: territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type subscriptionPricePoint: type: object properties: data: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionPricesResponse: type: object title: SubscriptionPricesResponse properties: data: type: array items: $ref: '#/components/schemas/SubscriptionPrice' included: type: array items: oneOf: - $ref: '#/components/schemas/SubscriptionPricePoint' - $ref: '#/components/schemas/Territory' discriminator: propertyName: type mapping: territories: '#/components/schemas/Territory' subscriptionPricePoints: '#/components/schemas/SubscriptionPricePoint' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionImagesResponse: type: object title: SubscriptionImagesResponse properties: data: type: array items: $ref: '#/components/schemas/SubscriptionImage' included: type: array items: $ref: '#/components/schemas/Subscription' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionIntroductoryOffersLinkagesRequest: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionIntroductoryOffers id: type: string required: - id - type required: - data RelationshipLinks: type: object properties: self: type: string format: uri-reference related: type: string format: uri-reference SubscriptionIntroductoryOffersLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionIntroductoryOffers id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links PromotedPurchase: type: object title: PromotedPurchase properties: type: type: string enum: - promotedPurchases id: type: string attributes: type: object properties: visibleForAllUsers: type: boolean enabled: type: boolean state: type: string enum: - APPROVED - IN_REVIEW - PREPARE_FOR_SUBMISSION - REJECTED relationships: type: object properties: inAppPurchaseV2: type: object properties: data: type: object properties: type: type: string enum: - inAppPurchases id: type: string required: - id - type subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionSubscriptionLocalizationsLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionLocalizations id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionResponse: type: object title: SubscriptionResponse properties: data: $ref: '#/components/schemas/Subscription' included: type: array items: oneOf: - $ref: '#/components/schemas/PromotedPurchase' - $ref: '#/components/schemas/SubscriptionAppStoreReviewScreenshot' - $ref: '#/components/schemas/SubscriptionAvailability' - $ref: '#/components/schemas/SubscriptionGroup' - $ref: '#/components/schemas/SubscriptionImage' - $ref: '#/components/schemas/SubscriptionIntroductoryOffer' - $ref: '#/components/schemas/SubscriptionLocalization' - $ref: '#/components/schemas/SubscriptionOfferCode' - $ref: '#/components/schemas/SubscriptionPrice' - $ref: '#/components/schemas/SubscriptionPromotionalOffer' - $ref: '#/components/schemas/WinBackOffer' discriminator: propertyName: type mapping: subscriptionAppStoreReviewScreenshots: '#/components/schemas/SubscriptionAppStoreReviewScreenshot' promotedPurchases: '#/components/schemas/PromotedPurchase' subscriptionGroups: '#/components/schemas/SubscriptionGroup' subscriptionImages: '#/components/schemas/SubscriptionImage' subscriptionPrices: '#/components/schemas/SubscriptionPrice' winBackOffers: '#/components/schemas/WinBackOffer' subscriptionIntroductoryOffers: '#/components/schemas/SubscriptionIntroductoryOffer' subscriptionOfferCodes: '#/components/schemas/SubscriptionOfferCode' subscriptionPromotionalOffers: '#/components/schemas/SubscriptionPromotionalOffer' subscriptionLocalizations: '#/components/schemas/SubscriptionLocalization' subscriptionAvailabilities: '#/components/schemas/SubscriptionAvailability' links: $ref: '#/components/schemas/DocumentLinks' required: - data - links InAppPurchaseV2: type: object title: InAppPurchaseV2 properties: type: type: string enum: - inAppPurchases id: type: string attributes: type: object properties: name: type: string productId: type: string inAppPurchaseType: $ref: '#/components/schemas/InAppPurchaseType' state: $ref: '#/components/schemas/InAppPurchaseState' reviewNote: type: string familySharable: type: boolean contentHosting: type: boolean relationships: type: object properties: inAppPurchaseLocalizations: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - inAppPurchaseLocalizations id: type: string required: - id - type pricePoints: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - inAppPurchasePricePoints id: type: string required: - id - type content: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - inAppPurchaseContents id: type: string required: - id - type appStoreReviewScreenshot: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - inAppPurchaseAppStoreReviewScreenshots id: type: string required: - id - type promotedPurchase: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - promotedPurchases id: type: string required: - id - type iapPriceSchedule: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - inAppPurchasePriceSchedules id: type: string required: - id - type inAppPurchaseAvailability: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - inAppPurchaseAvailabilities id: type: string required: - id - type images: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - inAppPurchaseImages id: type: string required: - id - type offerCodes: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - inAppPurchaseOfferCodes id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionAvailability: type: object title: SubscriptionAvailability properties: type: type: string enum: - subscriptionAvailabilities id: type: string attributes: type: object properties: availableInNewTerritories: type: boolean relationships: type: object properties: availableTerritories: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - territories id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionImagesLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionImages id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionIntroductoryOfferInlineCreate: type: object properties: type: type: string enum: - subscriptionIntroductoryOffers id: type: string attributes: type: object properties: startDate: type: string format: date nullable: true endDate: type: string format: date nullable: true duration: $ref: '#/components/schemas/SubscriptionOfferDuration' offerMode: $ref: '#/components/schemas/SubscriptionOfferMode' numberOfPeriods: type: integer required: - duration - numberOfPeriods - offerMode relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type subscriptionPricePoint: type: object properties: data: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type required: - attributes - type ErrorSourcePointer: type: object title: JsonPointer properties: pointer: type: string required: - pointer SubscriptionCustomerEligibility: type: string enum: - NEW - EXISTING - EXPIRED SubscriptionIntroductoryOffersResponse: type: object title: SubscriptionIntroductoryOffersResponse properties: data: type: array items: $ref: '#/components/schemas/SubscriptionIntroductoryOffer' included: type: array items: oneOf: - $ref: '#/components/schemas/SubscriptionPricePoint' - $ref: '#/components/schemas/Subscription' - $ref: '#/components/schemas/Territory' discriminator: propertyName: type mapping: subscriptions: '#/components/schemas/Subscription' territories: '#/components/schemas/Territory' subscriptionPricePoints: '#/components/schemas/SubscriptionPricePoint' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionPromotionalOffersResponse: type: object title: SubscriptionPromotionalOffersResponse properties: data: type: array items: $ref: '#/components/schemas/SubscriptionPromotionalOffer' included: type: array items: oneOf: - $ref: '#/components/schemas/SubscriptionPromotionalOfferPrice' - $ref: '#/components/schemas/Subscription' discriminator: propertyName: type mapping: subscriptions: '#/components/schemas/Subscription' subscriptionPromotionalOfferPrices: '#/components/schemas/SubscriptionPromotionalOfferPrice' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionPromotionalOffersLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionPromotionalOffers id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links SubscriptionPromotionalOfferInlineCreate: type: object properties: type: type: string enum: - subscriptionPromotionalOffers id: type: string attributes: type: object properties: duration: $ref: '#/components/schemas/SubscriptionOfferDuration' name: type: string numberOfPeriods: type: integer offerCode: type: string offerMode: $ref: '#/components/schemas/SubscriptionOfferMode' required: - duration - offerCode - name - numberOfPeriods - offerMode relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type prices: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionPromotionalOfferPrices id: type: string required: - id - type required: - attributes - type PagingInformation: type: object properties: paging: type: object properties: total: type: integer limit: type: integer nextCursor: type: string required: - limit required: - paging SubscriptionLocalizationsResponse: type: object title: SubscriptionLocalizationsResponse properties: data: type: array items: $ref: '#/components/schemas/SubscriptionLocalization' included: type: array items: $ref: '#/components/schemas/Subscription' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links OfferCodeEnvironment: type: string enum: - PRODUCTION - SANDBOX SubscriptionSubscriptionAvailabilityLinkageResponse: type: object properties: data: type: object properties: type: type: string enum: - subscriptionAvailabilities id: type: string required: - id - type links: $ref: '#/components/schemas/DocumentLinks' required: - data - links SubscriptionUpdateRequest: type: object title: SubscriptionUpdateRequest properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string attributes: type: object properties: name: type: string nullable: true familySharable: type: boolean nullable: true subscriptionPeriod: type: string nullable: true enum: - ONE_WEEK - ONE_MONTH - TWO_MONTHS - THREE_MONTHS - SIX_MONTHS - ONE_YEAR reviewNote: type: string nullable: true groupLevel: type: integer nullable: true relationships: type: object properties: introductoryOffers: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionIntroductoryOffers id: type: string required: - id - type promotionalOffers: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionPromotionalOffers id: type: string required: - id - type prices: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionPrices id: type: string required: - id - type required: - id - type included: type: array items: oneOf: - $ref: '#/components/schemas/SubscriptionPromotionalOfferInlineCreate' - $ref: '#/components/schemas/SubscriptionPriceInlineCreate' - $ref: '#/components/schemas/SubscriptionIntroductoryOfferInlineCreate' required: - data SubscriptionAvailabilityResponse: type: object title: SubscriptionAvailabilityResponse properties: data: $ref: '#/components/schemas/SubscriptionAvailability' included: type: array items: $ref: '#/components/schemas/Territory' links: $ref: '#/components/schemas/DocumentLinks' required: - data - links Subscription: type: object title: Subscription properties: type: type: string enum: - subscriptions id: type: string attributes: type: object properties: name: type: string productId: type: string familySharable: type: boolean state: type: string enum: - MISSING_METADATA - READY_TO_SUBMIT - WAITING_FOR_REVIEW - IN_REVIEW - DEVELOPER_ACTION_NEEDED - PENDING_BINARY_APPROVAL - APPROVED - DEVELOPER_REMOVED_FROM_SALE - REMOVED_FROM_SALE - REJECTED subscriptionPeriod: type: string enum: - ONE_WEEK - ONE_MONTH - TWO_MONTHS - THREE_MONTHS - SIX_MONTHS - ONE_YEAR reviewNote: type: string groupLevel: type: integer relationships: type: object properties: subscriptionLocalizations: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionLocalizations id: type: string required: - id - type appStoreReviewScreenshot: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - subscriptionAppStoreReviewScreenshots id: type: string required: - id - type group: type: object properties: data: type: object properties: type: type: string enum: - subscriptionGroups id: type: string required: - id - type introductoryOffers: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionIntroductoryOffers id: type: string required: - id - type promotionalOffers: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionPromotionalOffers id: type: string required: - id - type offerCodes: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionOfferCodes id: type: string required: - id - type prices: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionPrices id: type: string required: - id - type pricePoints: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' promotedPurchase: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - promotedPurchases id: type: string required: - id - type subscriptionAvailability: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' data: type: object properties: type: type: string enum: - subscriptionAvailabilities id: type: string required: - id - type winBackOffers: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - winBackOffers id: type: string required: - id - type images: type: object properties: links: $ref: '#/components/schemas/RelationshipLinks' meta: $ref: '#/components/schemas/PagingInformation' data: type: array items: type: object properties: type: type: string enum: - subscriptionImages id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type SubscriptionIntroductoryOffer: type: object title: SubscriptionIntroductoryOffer properties: type: type: string enum: - subscriptionIntroductoryOffers id: type: string attributes: type: object properties: startDate: type: string format: date endDate: type: string format: date duration: $ref: '#/components/schemas/SubscriptionOfferDuration' offerMode: $ref: '#/components/schemas/SubscriptionOfferMode' numberOfPeriods: type: integer relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type territory: type: object properties: data: type: object properties: type: type: string enum: - territories id: type: string required: - id - type subscriptionPricePoint: type: object properties: data: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type InAppPurchaseState: type: string enum: - MISSING_METADATA - WAITING_FOR_UPLOAD - PROCESSING_CONTENT - READY_TO_SUBMIT - WAITING_FOR_REVIEW - IN_REVIEW - DEVELOPER_ACTION_NEEDED - PENDING_BINARY_APPROVAL - APPROVED - DEVELOPER_REMOVED_FROM_SALE - REMOVED_FROM_SALE - REJECTED SubscriptionOfferEligibility: type: string enum: - STACK_WITH_INTRO_OFFERS - REPLACE_INTRO_OFFERS SubscriptionOfferCodeCustomCode: type: object title: SubscriptionOfferCodeCustomCode properties: type: type: string enum: - subscriptionOfferCodeCustomCodes id: type: string attributes: type: object properties: customCode: type: string numberOfCodes: type: integer createdDate: type: string format: date-time expirationDate: type: string format: date active: type: boolean relationships: type: object properties: offerCode: type: object properties: data: type: object properties: type: type: string enum: - subscriptionOfferCodes id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type AppMediaStateError: type: object properties: code: type: string description: type: string WinBackOffersResponse: type: object title: WinBackOffersResponse properties: data: type: array items: $ref: '#/components/schemas/WinBackOffer' included: type: array items: $ref: '#/components/schemas/WinBackOfferPrice' links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links InAppPurchaseType: type: string enum: - CONSUMABLE - NON_CONSUMABLE - NON_RENEWING_SUBSCRIPTION SubscriptionAppStoreReviewScreenshotResponse: type: object title: SubscriptionAppStoreReviewScreenshotResponse properties: data: $ref: '#/components/schemas/SubscriptionAppStoreReviewScreenshot' included: type: array items: $ref: '#/components/schemas/Subscription' links: $ref: '#/components/schemas/DocumentLinks' required: - data - links SubscriptionPromotedPurchaseLinkageResponse: type: object properties: data: type: object properties: type: type: string enum: - promotedPurchases id: type: string required: - id - type links: $ref: '#/components/schemas/DocumentLinks' required: - data - links SubscriptionPricePointsLinkagesResponse: type: object properties: data: type: array items: type: object properties: type: type: string enum: - subscriptionPricePoints id: type: string required: - id - type links: $ref: '#/components/schemas/PagedDocumentLinks' meta: $ref: '#/components/schemas/PagingInformation' required: - data - links HttpHeader: type: object properties: name: type: string value: type: string SubscriptionLocalization: type: object title: SubscriptionLocalization properties: type: type: string enum: - subscriptionLocalizations id: type: string attributes: type: object properties: name: type: string locale: type: string description: type: string state: type: string enum: - PREPARE_FOR_SUBMISSION - WAITING_FOR_REVIEW - APPROVED - REJECTED relationships: type: object properties: subscription: type: object properties: data: type: object properties: type: type: string enum: - subscriptions id: type: string required: - id - type links: $ref: '#/components/schemas/ResourceLinks' required: - id - type securitySchemes: itc-bearer-token: type: http scheme: bearer bearerFormat: JWT