{
  "opencollection": "1.0.0",
  "info": {
    "name": "Lago API documentation Add_ons API",
    "version": "1.15.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Add_ons",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lago List all add-ons",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getlago.com/api/v1/add_ons",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of records per page."
              }
            ]
          },
          "docs": "This endpoint is used to list all existing add-ons."
        },
        {
          "info": {
            "name": "Lago Create an add-on",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getlago.com/api/v1/add_ons",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint is used to create an add-on that can be then attached to a one-off invoice."
        },
        {
          "info": {
            "name": "Lago Retrieve an add-on",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getlago.com/api/v1/add_ons/:code",
            "params": [
              {
                "name": "code",
                "value": "",
                "type": "path",
                "description": "Unique code used to identify the add-on."
              }
            ]
          },
          "docs": "This endpoint is used to retrieve a specific add-on."
        },
        {
          "info": {
            "name": "Lago Update an add-on",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.getlago.com/api/v1/add_ons/:code",
            "params": [
              {
                "name": "code",
                "value": "",
                "type": "path",
                "description": "Unique code used to identify the add-on."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint is used to update an existing add-on."
        },
        {
          "info": {
            "name": "Lago Delete an add-on",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.getlago.com/api/v1/add_ons/:code",
            "params": [
              {
                "name": "code",
                "value": "",
                "type": "path",
                "description": "Unique code used to identify the add-on."
              }
            ]
          },
          "docs": "This endpoint is used to delete an existing add-on."
        }
      ]
    }
  ],
  "bundled": true
}