Skip to main content

Get Suggested Additional Categories

GET 

/api/v2/categories/:category_id/suggestions

Get Suggested Additional Categories

Request

Path Parameters

    category_id anyrequired

Query Parameters

    lang string

    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

This endpoint lets you retrieve suggestions for additional categories, based on a given category.

Schema

    categories

    object[]

    Array of suggested categories

  • Array [

  • id number

    Category id

    gmb_id string

    Unique category id. This is the id you should pass in business.categories array when creating/updating a business.

    name string

    Category name in given language or user's language

    names

    object[]

    Category names translated for available languages

    If with_names is true

  • Array [

  • name string

    Translated category name

    lang string

    Available language in the application

  • ]

  • state string

    State of category ( OK or DEPRECATED )

    block_push_long_description_on_gmb boolean

    Boolean indicating if the business long description can be pushed to GMB when the business belongs to this category

    countries string[]

    Array of strings representing the list of country codes in which the category is available

    If with_countries is true

    live_id string

    Live category id to which the category is mapped (deprecated categories are mapped to the closest category).

  • ]

Loading...