Retrieve product categories to display in a storefront.

Returns a list of product categories, with offset pagination using limit and page.

List categories
await swell.categories.list({
  limit: 25,
  page: 1
})

Returns a single category.

Get a category
await swell.categories.get('mens-shirts')