Get Suggested Additional Categories
GET/api/v2/categories/:category_id/suggestions
Get Suggested Additional Categories
Request
Path Parameters
Query Parameters
Possible values: [fr
, en
, es
, it
, pt-br
, de
, ar
]
Language to get the category name. If not given, the user's language is used.
Responses
- 200
- 400
- 401
- 403
- 404
This endpoint lets you retrieve suggestions for additional categories, based on a given category.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
categories
object[]
Array of suggested categories
Category id
Unique category id. This is the id you should pass in business.categories array when creating/updating a business.
Category name in given language or user's language
names
object[]
Category names translated for available languages
If with_names
is true
Translated category name
Available language in the application
State of category ( OK or DEPRECATED )
Boolean indicating if the business long description can be pushed to GMB when the business belongs to this category
Array of strings representing the list of country codes in which the category is available
If with_countries
is true
Live category id to which the category is mapped (deprecated categories are mapped to the closest category).
{
"categories": [
{
"id": 42,
"gmb_id": "gcid:climbing_gym",
"name": "Cabinet dexpertise comptable",
"names": [
{
"name": "string",
"lang": "FR"
}
],
"state": "OK",
"block_push_long_description_on_gmb": false,
"countries": [
"FR",
"GB",
"IT",
"ES"
],
"live_id": "gcid:sport_club"
}
]
}