Category
Kind: Object
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id |
ID! |
|
name |
String! |
|
slug |
String! |
|
description |
String! |
|
imageUrl |
String |
Tile/hero image URL for the category (null if unset). Served from our storage: absolute when object storage is configured, otherwise a path relative to the API origin — resolve it before use. |
imageAlt |
String! |
Alt text for the category image (accessibility). |
visible |
Boolean! |
False = hidden from the public storefront (staff-managed). |
defaultHsnCode |
String! |
Default HSN code inherited by products in this category (‘’ = none). |
defaultGstRate |
Int! |
Default GST %% inherited by products in this category. |
heroMedia |
[CategoryMedia!]! |
Ordered hero/carousel media for the category landing page. |
seoTitle |
String! |
|
seoDescription |
String! |
|
parent |
Category |
|
children |
[Category!]! |
Subcategories (visible only). includeHidden=true requires staff. Arguments: includeHidden: Boolean! = false |
products |
ProductConnection! |
Published products in this category and its subtree. Arguments: first: Int = null, after: String = null |