v1

latestOpenAPI 3.1.02026-07-24257573.4 KB
Taxonomy

Retrieve the Root Categories and nested Sub-Categories

This operation retrieves the Weedmaps Category Taxonomy as a tree; with the Root Categories and nested Sub-Categories.


⚠️ Common Error

A Menu Item can only have one root Category link.

This means that our system is receiving a Category identifiers that are in different taxonomy branches.


💡 Tip 💡

You can sync our taxonomy of Categories or map them to your internal Taxonomy.

When creating or updating a Menu Item, be sure to send us the correlated Weedmaps identifiers including the Sub-Categories.

This link can directly improve search relevance, increase consumer engagement, and it elevates the visibility of the Menu Item within the Weedmaps ecosystem.


get/categories/tree

Response

Successful Weedmaps Category Taxonomy Tree Retrieval

Example response

{
  "data": [
    {
      "id": 420,
      "name": "Concentrates",
      "slug": "concentrates",
      "children": [
        {
          "id": 420,
          "name": "Solventless",
          "slug": "solventless",
          "children": [
            [
              {
                "id": 420,
                "name": "Ice Water Hash",
                "slug": "ice-water-hash"
              }
            ]
          ]
        }
      ]
    }
  ]
}