Hello Alex,
The following query gets a product with its list of categories, in this case only one. This is against
demo.dotcms.com
query:
```
{
productCollection(query: "+identifier:09841761-aea5-4a1c-a3f3-21e0bc9f7124") {
title
category {
name
}
}
}
```
response:
```
{
"data": {
"productCollection": [
{
"title": "Quiksilver Men's 3/2mm Syncro Series - Back Zip GBS Wetsuit",
"category": [
{
"name": "Water"
}
]
}
]
}
}
```
As shown in the query the category field is available as a graphql field, by its variable name, and then you need to select what to show for each cat, in this case only the name.
Daniel