productCategory
query
Get product category by ID
Retrieves the details of a single product category, including its parent category, child categories, and associated products count.
query {
productCategory(companyId: Int!, productCategoryId: Int!): ProductCategory!
}Returns: ProductCategory!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
productCategoryId | Int! |