{
  "opencollection": "1.0.0",
  "info": {
    "name": "Clio API Documentation Activities Line Items API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "Line Items",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Return the data for all LineItems",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.clio.com/api/v4/line_items.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "activity_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single Activity. Use the keyword `null` to match those without a LineItem. The list will be filtered to include only the LineItem records with the matching property."
              },
              {
                "name": "bill_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single Bill. The keyword `null` is not valid for this field. The list will be filtered to include only the LineItem records with the matching property."
              },
              {
                "name": "created_since",
                "value": "",
                "type": "query",
                "description": "Filter LineItem records to those having the `created_at` field after a specific time. (Expects an ISO-8601 timestamp)."
              },
              {
                "name": "display",
                "value": "",
                "type": "query",
                "description": "Set this flag to true to return only LineItems displayed on the bill."
              },
              {
                "name": "exclude_ids[]",
                "value": "",
                "type": "query",
                "description": "Array containing LineItem identifiers that should be excluded from the query."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "group_ordering",
                "value": "",
                "type": "query",
                "description": "Filters LineItem records to match given group ordering."
              },
              {
                "name": "ids[]",
                "value": "",
                "type": "query",
                "description": "Filter LineItem records to those having the specified unique identifiers."
              },
              {
                "name": "kind",
                "value": "",
                "type": "query",
                "description": "The kind of LineItem."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of LineItem records to be returned. Limit can range between 1 and 200. Default: `200`."
              },
              {
                "name": "matter_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single Matter. Use the keyword `null` to match those without a LineItem. The list will be filtered to include only the LineItem records with the matching property."
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "A token specifying which page to return."
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Wildcard search for `description` or `note` matching a given string."
              },
              {
                "name": "updated_since",
                "value": "",
                "type": "query",
                "description": "Filter LineItem records to those having the `updated_at` field after a specific time. (Expects an ISO-8601 timestamp)."
              }
            ]
          },
          "docs": "Outlines the parameters, optional and required, used when requesting the data for all LineItems"
        },
        {
          "info": {
            "name": "Update a single LineItem",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.clio.com/api/v4/line_items/:id.json",
            "headers": [
              {
                "name": "IF-MATCH",
                "value": ""
              },
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the LineItem."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Outlines the parameters and data fields used when updating a single LineItem"
        },
        {
          "info": {
            "name": "Delete a single LineItem",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.clio.com/api/v4/line_items/:id.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the LineItem."
              }
            ]
          },
          "docs": "A LineItem can not be deleted if it's Bill is not editable"
        }
      ]
    }
  ],
  "bundled": true
}