DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsSDK Referencedash.categories
Introduction
Getting Started
Authentication
Products
Categories
Cart
Checkout
Blog
Reviews
Webhooks
Customers
Orders
Inventory
Shipping
Discounts
Affiliates
Email
Media & Files
Analytics & Tracking
Locations
Tax
Global Data
SEO
Error Handling
Geography
Finance
Automations
Page Types
Surveys
Billing & Subscriptions
Storefront Payments
SDK Reference
admin moduleDashClientaffiliates moduledash.productsauth moduledash.categoriesblog moduledash.cartbrands moduledash.checkoutcalendar moduledash.authCart Moduledash.customercategories moduledash.blogcheckout moduledash.reviewscoa moduledash.shippingcontact moduledash.discountscontent-types moduledash.locationsdash.getGlobalDatadiscount-store moduledash.contactearn-points moduledash.seoemail moduleforms modulehtml-templates modulelegal modulemarketing modulemedia modulepage-groups modulepages modulepayment modulePayment Methods Moduleproducts modulereferrals moduleseo moduleshipping modulesitemap moduletax moduleSubscriptions Moduletracking moduleupload moduleinsights modulesurvey module
REST API
Storefront Architecture
Notifications
Security
Team & Permissions
Migrations & Import
Calendar & Appointments
Contact Forms
AI Bots
Dashboard API
Deployment
Changelog
Troubleshooting
Recipes
CLI & Deployment
Image Pipeline
White-label Platforms
Records Engine
Platform Modules
Platform Security
Site Keys & Client Sites
Use Cases
Operations

dash.categories

Category listing and filtering methods.

Updated March 29, 2026

On this page
  • dash.categories
  • list(options?)
  • get(slug, options?)
  • getTree()
  • getByDepth(depth)
  • getChildren(parentSlug)

dash.categories

list(options?)

typescript
const { categories } = await dash.categories.list({ tree: true, parent: "flower" })

get(slug, options?)

typescript
const { category } = await dash.categories.get("flower", { includeProducts: true, limit: 20 })

getTree()

Full nested category hierarchy. See List Categories.

typescript
const { categories } = await dash.categories.getTree()

getByDepth(depth)

typescript
const { categories } = await dash.categories.getByDepth(0) // top-level only

getChildren(parentSlug)

typescript
const { categories } = await dash.categories.getChildren("flower")
Previousauth moduleNextblog module

On this page

  • dash.categories
  • list(options?)
  • get(slug, options?)
  • getTree()
  • getByDepth(depth)
  • getChildren(parentSlug)