Tree

List categories in tree mode

get
Autorizações
Parâmetros de consulta
searchstringOpcionalDefault: ""
only_activebooleanOpcionalDefault: false
solution_idstringOpcional
Respostas
200
OK
application/json
get
GET /api/sales/categories/tree HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
[
  {
    "id": "text",
    "name": "text",
    "active": true,
    "characteristics": "text",
    "seo_title": "text",
    "seo_description": "text",
    "seo_meta_keywords": [
      "text"
    ],
    "order": 1,
    "is_solution_specific": true,
    "specifications": [
      {
        "name": "text",
        "items": [
          {
            "id": "text",
            "category_id": "text",
            "name": "text",
            "type": "text",
            "values": [
              "text"
            ],
            "is_searchable": true
          }
        ]
      }
    ],
    "solutions": [
      "text"
    ],
    "image_resource_id": "text",
    "children": [
      {
        "id": "text",
        "name": "text",
        "active": true,
        "characteristics": "text",
        "seo_title": "text",
        "seo_description": "text",
        "seo_meta_keywords": [
          "text"
        ],
        "order": 1,
        "is_solution_specific": true,
        "specifications": [
          {
            "name": "text",
            "items": [
              {
                "id": "text",
                "category_id": "text",
                "name": "text",
                "type": "text",
                "values": [
                  "text"
                ],
                "is_searchable": true
              }
            ]
          }
        ],
        "solutions": [
          "text"
        ],
        "image_resource_id": "text",
        "children": [
          {
            "id": "text",
            "name": "text",
            "active": true,
            "characteristics": "text",
            "seo_title": "text",
            "seo_description": "text",
            "seo_meta_keywords": [
              "text"
            ],
            "order": 1,
            "is_solution_specific": true,
            "specifications": [
              {
                "name": "text",
                "items": [
                  {
                    "id": "text",
                    "category_id": "text",
                    "name": "text",
                    "type": "text",
                    "values": [
                      "text"
                    ],
                    "is_searchable": true
                  }
                ]
              }
            ],
            "solutions": [
              "text"
            ],
            "image_resource_id": "text",
            "children": "[Circular Reference]",
            "attributes": {
              "ANY_ADDITIONAL_PROPERTY": {}
            }
          }
        ],
        "attributes": {
          "ANY_ADDITIONAL_PROPERTY": {}
        }
      }
    ],
    "attributes": {
      "ANY_ADDITIONAL_PROPERTY": {}
    }
  }
]