{
  "opencollection": "1.0.0",
  "info": {
    "name": "App Marketplace accounting-entries tags API",
    "version": "39.4.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "tags",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve tags in aggregated format",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.pleo.io/v0/aggregations/tags",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Lower bound of the page of data to return (cannot be used together with [after] or [offset])."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Upper bound of the page of data to return (cannot be used together with [before] or [offset])."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset of the page of data to return (cannot be used together with [before] or [after])."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum amount of items to return."
              },
              {
                "name": "sorting_keys",
                "value": "",
                "type": "query",
                "description": "The keys to sort the results by."
              },
              {
                "name": "sorting_order",
                "value": "",
                "type": "query",
                "description": "The order to sort the results by. Must be the same length as [sortingKeys]; one order per key."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieve tags for a company in aggregated format."
        },
        {
          "info": {
            "name": "Retrieve tags for a tag group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v0/tag-groups/:groupId/tags",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Lower bound of the page of data to return (cannot be used together with [after] or [offset])."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Upper bound of the page of data to return (cannot be used together with [before] or [offset])."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset of the page of data to return (cannot be used together with [before] or [after])."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum amount of items to return."
              },
              {
                "name": "sorting_keys",
                "value": "",
                "type": "query",
                "description": "The keys to sort the results by."
              },
              {
                "name": "sorting_order",
                "value": "",
                "type": "query",
                "description": "The order to sort the results by. Must be the same length as [sortingKeys]; one order per key."
              },
              {
                "name": "include_archived",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve a list of tags associated with a tag group."
        },
        {
          "info": {
            "name": "Create a new tag for a tag group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.pleo.io/v0/tag-groups/:groupId/tags",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new tag for a tag group in Pleo."
        },
        {
          "info": {
            "name": "Search tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v0/tags",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "text_search",
                "value": "",
                "type": "query"
              },
              {
                "name": "tag_group_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "include_archived",
                "value": "",
                "type": "query"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Lower bound of the page of data to return (cannot be used together with [after] or [offset])."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Upper bound of the page of data to return (cannot be used together with [before] or [offset])."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset of the page of data to return (cannot be used together with [before] or [after])."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum amount of items to return."
              },
              {
                "name": "sorting_keys",
                "value": "",
                "type": "query",
                "description": "The keys to sort the results by."
              },
              {
                "name": "sorting_order",
                "value": "",
                "type": "query",
                "description": "The order to sort the results by. Must be the same length as [sortingKeys]; one order per key."
              }
            ]
          },
          "docs": "Search tags"
        },
        {
          "info": {
            "name": "Bulk delete tags",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://external.pleo.io/v0/tags",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk delete tags for a company"
        },
        {
          "info": {
            "name": "Bulk archive or unarchive Tags",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.pleo.io/v0/tags/archive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk archive or unarchive Tags for a company"
        },
        {
          "info": {
            "name": "Retrieve a tag by its id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v0/tags/:tagId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve details of a tag by its id."
        },
        {
          "info": {
            "name": "Update a tag",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://external.pleo.io/v0/tags/:tagId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modify details of a tag by its id."
        },
        {
          "info": {
            "name": "Delete a tag",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://external.pleo.io/v0/tags/:tagId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a tag by its id."
        },
        {
          "info": {
            "name": "Retrieve dimension values",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v0/tags/:tagId/dimensions",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a list of dimension values for a tag."
        },
        {
          "info": {
            "name": "Retrieve a dimension value",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.pleo.io/v0/tags/:tagId/dimensions/:dimensionId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              },
              {
                "name": "dimensionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a dimension value"
        },
        {
          "info": {
            "name": "Create a new dimension value",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.pleo.io/v0/tags/:tagId/dimensions/:dimensionId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              },
              {
                "name": "dimensionId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new dimension value for a tag."
        },
        {
          "info": {
            "name": "Update a dimension value",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://external.pleo.io/v0/tags/:tagId/dimensions/:dimensionId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              },
              {
                "name": "dimensionId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a dimension value for a tag."
        },
        {
          "info": {
            "name": "Delete a dimension value",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://external.pleo.io/v0/tags/:tagId/dimensions/:dimensionId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path"
              },
              {
                "name": "dimensionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a dimension value for a tag."
        },
        {
          "info": {
            "name": "Search tags",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.pleo.io/v0/tags:search",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Lower bound of the page of data to return (cannot be used together with [after] or [offset])."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Upper bound of the page of data to return (cannot be used together with [before] or [offset])."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset of the page of data to return (cannot be used together with [before] or [after])."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum amount of items to return."
              },
              {
                "name": "sorting_keys",
                "value": "",
                "type": "query",
                "description": "The keys to sort the results by."
              },
              {
                "name": "sorting_order",
                "value": "",
                "type": "query",
                "description": "The order to sort the results by. Must be the same length as [sortingKeys]; one order per key."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search tags"
        }
      ]
    }
  ],
  "bundled": true
}