Skip to main content
objectProductCategory

Fields

_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 title, description, slug, and keywords for storefront pages.

createdAt
Date
updatedAt
Date
آخر تعديل في ١١ أغسطس ٢٠٢٦