Update businesses attributes
POST/api/v2/businesses/:business_id/google/attributes
This endpoint allows you to set Google attributes for your business.
Request
Path Parameters
business_id stringrequired
- application/json
Body
array
required
Array [
- AttributeBool
- AttributeEnum
- AttributeRepeatableEnum
- AttributeUrl
- AttributeRepeatableUrl
]
id stringrequired
Attribute ID
data
object
required
anyOf
type stringrequired
Possible values: [BOOL
]
value booleannullable
type stringrequired
Possible values: [ENUM
]
value stringnullable
type stringrequired
Possible values: [REPEATABLE_ENUM
]
value
object
nullable
set_values string[]
unset_values string[]
type stringrequired
Possible values: [URL
]
value stringnullable
type stringrequired
Possible values: [REPEATABLE_URL
]
value string[]nullable
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
statusCode integerrequired
HTTP status code
message string
Error message
errors
object[]
required
path stringrequired
Possible values: non-empty
Path to the property with the error
errors
object[]
required
type stringrequired
Possible values: non-empty
Error type
message stringrequired
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"errors": [
{
"path": "business.id",
"errors": [
{
"type": "object_required_property",
"message": "Required property"
}
]
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
Loading...