query

category

Get detailed information about a specific product category using its slug and get metadata of a category such as name, information, logo, banner, etc.
Arguments
Required
A short, human-readable, URL-friendly identifier of a category.
Response
_custom_json
JSON
Custom JSON data related to the category, allowing for additional metadata.
banners
ImageUrls
Banner images associated with the category, including portrait and landscape orientations.
logo
Media
Logo associated with the category.
name
String
Name of the category.
uid
Int
Unique identifier for the category.
Query
1query category($slug: String!) {
2 category(slug: $slug) {
3 _custom_json
4 logo {
5 alt
6 type
7 url
8 }
9 name
10 uid
11 }
12}
Try it
Input Variables
1{
2 "slug": "slug"
3}
Response
1{
2 "category": {
3 "_custom_json": {},
4 "logo": {
5 "alt": "alt",
6 "type": "type",
7 "url": "https://website.com"
8 },
9 "name": "A name",
10 "uid": 42
11 }
12}