Categories
Get All or Several Categories
Get a list of all available location categories, or specific location categories based on the following parameters
get/categories
Request
- Base URLhttps://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api
- AuthHTTP bearer
Query parameters
categoriesinteger
The PromoRepublic unique id of the category you want to get
qstring
Filter categories by a search query
rootsboolean
Set to 'true' to show root categories as well (i.e., show all categories)
languagestring
Show categories in the specified language. One of de, en, es, fr
maxinteger
Used for pagination. Maximum number of results per page. Default: 10
offsetinteger
Offset used for pagination. Default: 0
Response
Successfully retrieved categories
Example response
{
"response": {
"max": 1,
"count": 1,
"results": {
"resultTotalCount": 1
},
"suggestionResults": {
"suggestionsTotalCount": 1,
"suggestions": [
{
"id": 41,
"name": "Avión",
"fullName": "Automóvil y Transporte > Aeropuerto, Aerolíneas y Servicios de Aviación > Avión",
"keyword": "Automóvil y motor"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.