> For the complete documentation index, see [llms.txt](https://docs.thomaspatrick.co/bestbusiness-com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thomaspatrick.co/bestbusiness-com/endpoints/locations-slug-subcategories.md).

# /locations/:slug/subcategories

### ✅ GET /

Display active = false only if you are \[O] or \[A] and have access to the location

```
{
    "featured": bool,
    "category": slug //@todo
}
```

### ✅ GET /slug/:slug

Display active = false only if you are \[O] or \[A] and have access to the location

### ✅ GET /id/:id

Display active = false only if you are \[O] or \[A] and have access to the location

### ✅ \[O] \[A] POST /

Need to confirm the user has access to this location

### ✅ \[O] \[A] PUT /

Need to confirm the user has access to this location

### ✅ \[O] \[A] DELETE /

Need to confirm the user has access to this location
