{
  "opencollection": "1.0.0",
  "info": {
    "name": "Paypal Subscriptions Authorizations Revise API",
    "version": "1.6"
  },
  "items": [
    {
      "info": {
        "name": "Revise",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Revise plan or quantity of subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-m.sandbox.paypal.com/v1/billing/subscriptions/:id/revise",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscription."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/v1/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Updates the quantity of the product or service in a subscription. You can also use this method to switch the plan and update the `shipping_amount`, `shipping_address` values for the subscription. This type of update requires the buyer's consent."
        }
      ]
    }
  ],
  "bundled": true
}