Broadleaf Microservices
  • v1.0.0-latest-prod


In this section of the documentation we look at the browse functionality exposed by the CommerceSDK. This is mostly concerned with retrieving Products and Categories. It also provides methods for performing various search related actions.

Table of Contents

Setup the client

Before you can make a request using the BrowseClient, you’ll need to import the client and create a new instance. An example of this setup is as follows:

Example of creating a BrowseClient instance
import { BrowseClient } from '@broadleaf/commerce-browse';


export const browseClient = new BrowseClient({
  applicationToken: APPLICATION_TOKEN,
  baseHost: BASE_HOST
  1. This is the unique "Application Token" for your store. You can find this by logging into your instance and looking at the application’s properties page.

  2. This is the base URL for your application (i.e.