{
  "opencollection": "1.0.0",
  "info": {
    "name": "Chargebee API v2",
    "version": "2"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/customers",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List customers"
        },
        {
          "info": {
            "name": "Create a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{site}.chargebee.com/api/v2/customers",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Create a customer"
        },
        {
          "info": {
            "name": "Retrieve a customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/customers/:customer_id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a customer"
        }
      ]
    },
    {
      "info": {
        "name": "Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/subscriptions"
          },
          "docs": "List subscriptions"
        },
        {
          "info": {
            "name": "Create a subscription for a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{site}.chargebee.com/api/v2/subscriptions"
          },
          "docs": "Create a subscription for a customer"
        },
        {
          "info": {
            "name": "Retrieve a subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/subscriptions/:subscription_id",
            "params": [
              {
                "name": "subscription_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a subscription"
        }
      ]
    },
    {
      "info": {
        "name": "Invoices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/invoices"
          },
          "docs": "List invoices"
        },
        {
          "info": {
            "name": "Retrieve an invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/invoices/:invoice_id",
            "params": [
              {
                "name": "invoice_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve an invoice"
        }
      ]
    },
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/payments"
          },
          "docs": "List payments"
        }
      ]
    },
    {
      "info": {
        "name": "Plans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List plans (Product Catalog v1)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/plans"
          },
          "docs": "List plans (Product Catalog v1)"
        }
      ]
    },
    {
      "info": {
        "name": "Items",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List items (Product Catalog v2)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/items"
          },
          "docs": "List items (Product Catalog v2)"
        }
      ]
    },
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/orders"
          },
          "docs": "List orders"
        }
      ]
    },
    {
      "info": {
        "name": "Quotes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List quotes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.chargebee.com/api/v2/quotes"
          },
          "docs": "List quotes"
        }
      ]
    }
  ],
  "bundled": true
}