Authorizations
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey
). An api_key is linked to a user. This user's role will give you different access level to the API features.
Path Parameters
Category id or Google's category id
"5706 or gcid:bank"
Query Parameters
Language to get the category name. If not given, the user's language is used.
fr
, en
, es
, it
, pt-br
, de
, ar
, nl
, pl
, cs
, ca
, sk
, pt
, lv
, ro
, bg
, hu
"fr"
Return the corresponding live category instead of the requested category
Returns an object representing the list of translations in the available languages for the requested category. See example on the right.
If with_names
is true, the translations will appear in the field names
Returns an array of strings representing the list of country codes in which the requested category is available.
If with_countries
is true, the country list will appear in the field countries
Response
OK
Category id
42
Unique category id. This is the id you should pass in business.categories array when creating/updating a business
"gcid:climbing_gym"
Category name in given language or user's language
"Cabinet d'expertise comptable"
Category names translated for available languages
If with_names
is true
State of category ( OK or DEPRECATED )
"OK"
Boolean indicating if the business long description can be pushed to Google when the business belongs to this category
false
Array of strings representing the list of country codes in which the category is available
If with_countries
is true
["FR", "GB", "IT", "ES"]
Live category id to which the category is mapped (deprecated categories are mapped to the closest category)
"gcid:sport_club"