OBJECT

ProductCategoryEntity

Category in the hierarchy of the product catalog.

link GraphQL Schema definition

  • type ProductCategoryEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Parent category in the catalog hierarchy. Empty for top-level categories.
  • parent: ProductCategoryEntity
  • # Name of the entity and its default text representation.
  • name: String!
  • # Id of the parent category.
  • parentId: ID
  • # Revision when entity was lastly changed.
  • revision: Int
  • # All Products in this category.
  • #
  • # Arguments
  • # filter: Filter Product relations by target Product attributes.
  • # orderBy: Order Product relations by target Product attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • productRelations(
  • filter: ProductFilterInput,
  • orderBy: [ProductOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ProductEntityConnection
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }