Skip to main content

ProductGroup

Represents information about a product group.

type ProductGroup {
id: ID!
parentId: ID
name: String
parent: ProductGroup
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
children(
where: ProductGroupChildrenWhereWhereConditions
orderBy: [ProductGroupChildrenOrderByOrderByClause!]
first: Int!
after: String
): ProductGroupConnection!
}

Fields​

ProductGroup.id ● ID! non-null scalar​

Product group's unique identifier.

ProductGroup.parentId ● ID scalar​

The product group's parent group.

ProductGroup.name ● String scalar​

The name of the product group.

ProductGroup.parent ● ProductGroup object​

The parent product group.

ProductGroup.createdAt ● DateTimeTz! non-null scalar​

The date and time when the product group was created.

ProductGroup.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the product group was last updated.

ProductGroup.deletedAt ● DateTimeTz scalar​

The date and time when the product group was deleted.

ProductGroup.children ● ProductGroupConnection! non-null object​

The child groups.

ProductGroup.children.where ● ProductGroupChildrenWhereWhereConditions input​
ProductGroup.children.orderBy ● [ProductGroupChildrenOrderByOrderByClause!] list input​
ProductGroup.children.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

ProductGroup.children.after ● String scalar​

A cursor after which elements are returned.

Returned By​

createProductGroup mutation ● deleteProductGroup mutation ● productGroup query ● restoreProductGroup mutation ● updateProductGroup mutation

Member Of​

Product object ● ProductGroup object ● ProductGroupEdge object