Skip to main content
GET
/
quote
/
api
/
v1
/
store
/
listCategories?storeId=
{storeId}
&country=
{country}
List Categories
curl --request GET \
  --url 'https://{HOST_NAME}/quote/api/v1/store/listCategories?storeId={storeId}&country={country}'
{
  "storeId": "ecca4210-09a4-446c-ad87-5e65bd50df12",
  "isError": false,
  "categoryList": [
    {
      "sbCategoryName": "Small Home Appliance",
      "sbCategoryId": "4c3103e4-38dc-4171-96e5-b4b77ab0e96f",
      "labelList": [
        "Ovens",
        "Microwaves",
        "Refrigerators"
      ]
    }
  ]
}

Headers

HeaderDescriptionRequired
X-SureBright-Access-TokenAccess token for authenticationNo

Query Parameters

storeId
string
required

A unique identifier for a store will be shared as part of the integration kit.It is a path variable

Example:

"ecca4210-09a4-446c-ad87-5e65bd50df12"

country
string
required

The country code of the identified customer location

Example:

"US"

state
string

The state code of the identified customer location

Example:

"AL"

Response

Successful response

storeId
string

A unique identifier for a store

Example:

"ecca4210-09a4-446c-ad87-5e65bd50df12"

isError
boolean

Indicates if an error occurred

Example:

false

categoryList
object[]

A list containing details of SureBright categories