curl --request GET \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/categories
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"response": [
{
"id": "ahEDqV5uhjj8",
"name": "Beers/Belgian",
"parentId": "bneEmHKG2yUe"
}
]
}
Get multiple categories from the catalog.
curl --request GET \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/categories
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"response": [
{
"id": "ahEDqV5uhjj8",
"name": "Beers/Belgian",
"parentId": "bneEmHKG2yUe"
}
]
}
Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.
Successful Response
The response is of type object
.