productCategoryDetail
Fetch a single ProductCategory by id.
Auth · x-app-token · required permission showProducts
Related: productCategories, productCategoriesEdit
QUERY
productCategoryDetail(_id: String): ProductCategoryArguments
_id
String
Category id.
Returns
_id
String!
name
String
Display name.
description
String
Category description.
parentId
String
Parent ProductCategory id, or empty for a root category.
code
String!
Stable machine code, unique within the workspace.
order
String!
Materialized path used to resolve descendants. Read-only; derived from parentId.
slug
String
URL-friendly identifier.
workspaceId
String
attachment
Category image.
status
String
Lifecycle status, e.g. active, disabled, archived.
isRoot
Boolean
Whether this category has no parent.
productCount
Int
Number of products directly assigned to this category.
seo
SEO title, description, slug, and keywords for storefront pages.
createdAt
Date
updatedAt
Date
Query
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦