Get business attributes
GET/api/v2/businesses/:business_id/attributes
Get business attributes
Request
Path Parameters
business_id stringrequired
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.
country string
Country for which available attributes will be fetched - use ISO 3166 alpha2 code ("FR", "EN", "IT").
Example: FR
Responses
- 200
- 400
- 401
- 403
- 404
This endpoint allows you to view the attributes for a business.
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD2
- MOD3
Array [
]
]
attributes
object[]
required
value
object
nullable
oneOf
string
string
boolean
type string
Possible values: [URL
, REPEATABLE_URL
, BOOL
, ENUM
, REPEATABLE_ENUM
]
Type of the Attribute
gmb_id string
Google my Business ID of the attribute
{
"attributes": [
{
"value": "https://www.google.com",
"type": "URL",
"gmb_id": "gcid:restaurant"
}
]
}
Loading...