Skip to main content

Product

This is a products table

type Product implements Node {
id: ID!
name: String!
description: String!
active: Boolean!
value: String!
required: Boolean!
once: Boolean!
hidden: Boolean!
unlimited: Boolean!
rateProfile: String!
bandwidth: Int
deviceLimit: Int!
localeData: GQLTJson!
extraInfo: String
onlyNewConnection: Boolean!
period: String
options: GQLTJson!
originalValue: String
voucherUses: Int
voucherName: String
type: ProductTypeEnum!
createdAt: GQLTDate!
updatedAt: GQLTDate!
userPlans(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [UserPlanOrderBy] = []
where: GQLTQueryUserPlanWhere
include: [GQLTUserPlanIncludeObject] = []
): UserPlanHasManyUserPlansList
invoiceItems(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [InvoiceItemOrderBy] = []
where: GQLTQueryInvoiceItemWhere
include: [GQLTInvoiceItemIncludeObject] = []
): InvoiceItemHasManyInvoiceItemsList
voucherModifiers(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [VoucherModifierOrderBy] = []
where: GQLTQueryVoucherModifierWhere
include: [GQLTVoucherModifierIncludeObject] = []
): VoucherModifierHasManyVoucherModifiersList
productGroups(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [ProductGroupOrderBy] = []
where: GQLTQueryProductGroupWhere
include: [GQLTProductGroupIncludeObject] = []
): ProductGroupBelongsToManyProductGroupsList
orderItems(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [OrderItemOrderBy] = []
where: GQLTQueryOrderItemWhere
include: [GQLTOrderItemIncludeObject] = []
): OrderItemHasManyOrderItemsList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

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

description (String!)#

This is details of the products.

active (Boolean!)#

This is an indicator if the product is still available.

value (String!)#

This is the price of the product.

required (Boolean!)#

This is a required column

once (Boolean!)#

This is an indicator if the product is only a one time purchase.

hidden (Boolean!)#

This is an indicator if you want to show or hide the product.

unlimited (Boolean!)#

This is an indicator if you want the product to be unlimited data or not.

rateProfile (String!)#

This is a rate profile column

bandwidth (Int)#

This is the data capacity of the product.

deviceLimit (Int!)#

This is to know how many device can connect to certain product.

localeData (GQLTJson!)#

This is a locale data column

extraInfo (String)#

This is where the some specifics description of the product.

onlyNewConnection (Boolean!)#

This is to flag a new account as a new connection.

period (String)#

This is the plan duration of the product.

options (GQLTJson!)#

This is for any extra information

originalValue (String)#

This is the original price of the product.

voucherUses (Int)#

This is the counter for voucher uses.

voucherName (String)#

This is the voucher name

type (ProductTypeEnum!)#

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

userPlans (UserPlanHasManyUserPlansList)#

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

invoiceItems (InvoiceItemHasManyInvoiceItemsList)#

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

voucherModifiers (VoucherModifierHasManyVoucherModifiersList)#

product hasMany voucher modifiers

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

productGroups (ProductGroupBelongsToManyProductGroupsList)#

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

orderItems (OrderItemHasManyOrderItemsList)#

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