{
  "opencollection": "1.0.0",
  "info": {
    "name": "App Store Connect AccessibilityDeclarations SubscriptionPromotionalOffers API",
    "version": "4.3.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "SubscriptionPromotionalOffers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Subscription Promotional Offers",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.appstoreconnect.apple.com/v1/subscriptionPromotionalOffers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Subscription Promotional Offers"
        },
        {
          "info": {
            "name": "Get Subscription Promotional Offers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.appstoreconnect.apple.com/v1/subscriptionPromotionalOffers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "the id of the requested resource"
              },
              {
                "name": "fields[subscriptionPromotionalOffers]",
                "value": "",
                "type": "query",
                "description": "the fields to include for returned resources of type subscriptionPromotionalOffers"
              },
              {
                "name": "fields[subscriptions]",
                "value": "",
                "type": "query",
                "description": "the fields to include for returned resources of type subscriptions"
              },
              {
                "name": "fields[subscriptionPromotionalOfferPrices]",
                "value": "",
                "type": "query",
                "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "comma-separated list of relationships to include"
              },
              {
                "name": "limit[prices]",
                "value": "",
                "type": "query",
                "description": "maximum number of related prices returned (when they are included)"
              }
            ]
          },
          "docs": "Get Subscription Promotional Offers"
        },
        {
          "info": {
            "name": "Update Subscription Promotional Offers",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.appstoreconnect.apple.com/v1/subscriptionPromotionalOffers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "the id of the requested resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Subscription Promotional Offers"
        },
        {
          "info": {
            "name": "Delete Subscription Promotional Offers",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.appstoreconnect.apple.com/v1/subscriptionPromotionalOffers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "the id of the requested resource"
              }
            ]
          },
          "docs": "Delete Subscription Promotional Offers"
        },
        {
          "info": {
            "name": "List Related Subscription Promotional Offers / Prices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.appstoreconnect.apple.com/v1/subscriptionPromotionalOffers/:id/relationships/prices",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "the id of the requested resource"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "maximum resources per page"
              }
            ]
          },
          "docs": "List Related Subscription Promotional Offers / Prices"
        },
        {
          "info": {
            "name": "List Related Subscription Promotional Offers / Prices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.appstoreconnect.apple.com/v1/subscriptionPromotionalOffers/:id/prices",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "the id of the requested resource"
              },
              {
                "name": "filter[territory]",
                "value": "",
                "type": "query",
                "description": "filter by id(s) of related 'territory'"
              },
              {
                "name": "fields[subscriptionPromotionalOfferPrices]",
                "value": "",
                "type": "query",
                "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices"
              },
              {
                "name": "fields[territories]",
                "value": "",
                "type": "query",
                "description": "the fields to include for returned resources of type territories"
              },
              {
                "name": "fields[subscriptionPricePoints]",
                "value": "",
                "type": "query",
                "description": "the fields to include for returned resources of type subscriptionPricePoints"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "maximum resources per page"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "comma-separated list of relationships to include"
              }
            ]
          },
          "docs": "List Related Subscription Promotional Offers / Prices"
        }
      ]
    }
  ],
  "bundled": true
}