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
slug
String!Required
A short, human-readable, URL-friendly identifier of a category.
Response
_custom_json
JSONCustom JSON data related to the category, allowing for additional metadata.
banners
ImageUrlsBanner images associated with the category, including portrait and landscape orientations.
logo
MediaLogo associated with the category.
name
StringName of the category.
uid
IntUnique identifier for the category.
Query
1query category($slug: String!) {2 category(slug: $slug) {3 _custom_json4 logo {5 alt6 type7 url8 }9 name10 uid11 }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": 4211 }12}
Was this section helpful?