Skip to main content

ProductGroup

This is a product groups table

type ProductGroup implements Node {
id: ID!
name: String!
default: Boolean!
active: Boolean!
createdAt: GQLTDate!
updatedAt: GQLTDate!
group(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [GroupOrderBy] = []
where: GQLTQueryGroupWhere
include: [GQLTGroupIncludeObject] = []
): GroupHasManyGroupList
products(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [ProductOrderBy] = []
where: GQLTQueryProductWhere
include: [GQLTProductIncludeObject] = []
): ProductBelongsToManyProductsList
vouchers(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [VoucherOrderBy] = []
where: GQLTQueryVoucherWhere
include: [GQLTVoucherIncludeObject] = []
): VoucherHasManyVouchersList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

This the name of the product group that will be displayed.

default (Boolean!)#

This is the indicator if the product group will show default products or not.

active (Boolean!)#

This is the indicator to idetify if the product group is still active or not.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

group (GroupHasManyGroupList)#

product hasMany group

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

products (ProductBelongsToManyProductsList)#

product group belongsToMany products

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

vouchers (VoucherHasManyVouchersList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

Interfaces#

Node#

An object with an ID