Skip to content

A product on Google

GET
/api/v1/commerce/products/{id}/google
curl --request GET \
--url https://digize.com/api/v1/commerce/products/example/google \
--header 'x-api-key: <x-api-key>'

How a product’s variants do on Google, with each issue Google found, and the details Google lists it with.

Needs the commerce:read permission.

id
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
connected
required
boolean
reason
required

Why the product isn’t listed on Google, or null when it is.

string | null
brand
required
string
condition
required
string
Allowed values: new used refurbished
brandFallback
required
string
variants
required
Array<object>
object
id
required
string
label
required
string
barcode
required
string
gtin
required

Whether the barcode is a GTIN Google takes.

boolean
mpn
required
string
status
required
Any of:
string
Allowed values: pending approved limited disapproved
issues
required
Array<object>
object
code
required
string
severity
required
string
Allowed values: disapproved demoted warning
description
required
string
detail
required
string
attribute
required
string | null
documentation
required
string | null
countries
required
Array<string>
approvedIn
required
Array<string>
error
required
string | null
sentAt
required
Any of:
string format: date-time
checkedAt
required
Any of:
string format: date-time
statusesAt
required
Any of:
string format: date-time

Example

{
"condition": "new",
"variants": [
{
"status": "pending",
"issues": [
{
"severity": "disapproved"
}
]
}
]
}

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"
}
}