Skip to content

Buttons on Google

GET
/api/v1/reviews/google/buttons
curl --request GET \
--url https://digize.com/api/v1/reviews/google/buttons \
--header 'x-api-key: <x-api-key>'

Digize’s “Book online” and “Shop online” buttons on the Google Business Profile, links other providers set there, and the booking pages and store they can lead to.

Needs the reviews:read permission.

Done

Media typeapplication/json
object
book
required
Any of:
object
type
required
string
Allowed values: APPOINTMENT ONLINE_APPOINTMENT SHOP_ONLINE
uri
required
string
label
required

What it opens: the calendar’s name, or the store’s.

string
calendarId
required
string | null
state
required

On Google, on its way there, or refused with rejection.

string
Allowed values: live sending refused
rejection
required
string | null
updatedAt
required
string format: date-time
updatedBy
required
string
shop
required
Any of:
object
type
required
string
Allowed values: APPOINTMENT ONLINE_APPOINTMENT SHOP_ONLINE
uri
required
string
label
required

What it opens: the calendar’s name, or the store’s.

string
calendarId
required
string | null
state
required

On Google, on its way there, or refused with rejection.

string
Allowed values: live sending refused
rejection
required
string | null
updatedAt
required
string format: date-time
updatedBy
required
string
others
required

Links other providers put on the location.

Array<object>
object
name
required
string
type
required

Google’s place action type, such as DINING_RESERVATION.

string
uri
required
string
provider
required

The business itself, or a partner of Google’s such as a booking service.

string
Allowed values: merchant aggregator unknown
preferred
required
boolean
readAt
required
Any of:
string format: date-time
readError
required

Why Google wouldn’t list the location’s links.

string | null
calendars
required
Array<object>
object
id
required
string
name
required
string
url
required
string
online
required

Whether it’s a Google Meet calendar.

boolean
store
required
Any of:
object
name
required
string
url
required
string

Example

{
"book": {
"type": "APPOINTMENT",
"state": "live"
},
"shop": {
"type": "APPOINTMENT",
"state": "live"
},
"others": [
{
"provider": "merchant"
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}