dash.categories
Category listing and filtering methods.
Updated
On this page
dash.categories
list(options?)
const { categories } = await dash.categories.list({ tree: true, parent: "flower" })
Category listing and filtering methods.
Updated
list(options?)const { categories } = await dash.categories.list({ tree: true, parent: "flower" })
const { category } = await dash.categories.get("flower", { includeProducts: true, limit: 20 })
Full nested category hierarchy. See List Categories.
const { categories } = await dash.categories.getTree()
const { categories } = await dash.categories.getByDepth(0) // top-level only
const { categories } = await dash.categories.getChildren("flower")