Returns a category.
query ($id: ID!) {
category(id: $id) {
id
category {
id
name
}
description
name
slug
}
}
id: ID!
The ID of the category.
{
"data": {
"category": {
"id": "249d93f822d3a16514cefa1f",
"category": {
"id": "329d93f822d3a16514cefa1f",
"name": "Clothing"
},
"description": null,
"name": "Pants",
"slug": "pants"
}
}
}