Magidoc

Category
Object

Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront.

Fields

#

allowProductAssignment

Non-null

ancestors

List of ancestors of the category.

backgroundImage

children

List of children of the category.

customFields

Non-null

List of custom fields assigned to this category.

description

Non-null

descriptionHtml

Non-null

externalId

externalSource

id

ID !
Non-null

The ID of the object

level

Non-null

metadata

Non-null

List of public metadata items. Can be accessed without permissions.

name

Non-null

parent

privateMetadata

Non-null

List of private metadata items.Requires proper staff permissions to access.

products

List of products in the category and ancestor categories. This information preferable to request only for a single category details query.

seoDescription

seoTitle

slug

Non-null

trailingBreadcrumbs

List providing entire parent-to-child lineage of categories leading to current category

Interfaces

#

Also implements Node , ObjectWithMetadata .

Usages

#

References

#

  • Field allCategories from Query