Get business attributes
GET/api/v2/businesses/:business_id/google/attributes
This endpoint allows you to view the attributes for a business.
Request
Path Parameters
Query Parameters
Default value: en
Get results in a specific language
Default value: US
Country for which available attributes will be fetched
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
- AttributeBool
- AttributeEnum
- AttributeRepeatableEnum
- AttributeUrl
- AttributeRepeatableUrl
]
items
object[]
required
Attribute ID
Translated attribute name
data
object
required
anyOf
Possible values: [BOOL
]
Possible values: [ENUM
]
Possible values: [REPEATABLE_ENUM
]
value
object
nullable
Possible values: [URL
]
Possible values: [REPEATABLE_URL
]
{
"items": [
{
"id": "pay_debit_card",
"name": "Debit cards",
"data": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
HTTP status code
Error message
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}