List Taxability Category Descendants

Learn about listing taxability category descendants.

List taxability category descendants

EndpointMethodKey valueRequired fields
/config/v2/taxability-categories/{id}/hierarchyGET$idid

This request returns a list of the requested taxability category, and all its descendants, using pre-order tree traversal.

Sample response - Taxability category descendants

{
  "categories": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "userDefined": false,
      "code": "string",
      "name": "string",
      "description": "string",
      "parentCategoryId": "123e4567-e89b-12d3-a456-426614174000",
      "startDate": "2021-01-01",
      "endDate": "2021-12-01"
    }
  ],
  "count": 0,
  "truncated": true
}