Product categories
The Product API returns categories in product.categories. A product can belong to more than one category. The array is empty when it has no assigned categories.
| Field | Meaning |
|---|---|
id |
Category identifier from the Google product taxonomy, returned as a string. |
titles |
Available category titles keyed by language code. |
Use id to match a category across languages. This response fragment shows the Print Books category.
{
"categories": [
{
"id": "543543",
"titles": {
"en": "Print Books",
"ru": "Печатные книги"
}
}
]
}