Skip to main content

IBaseProduct

Interface for the BaseProduct Type, where both Products and clusters derive from

interface IBaseProduct {
id: Int!
language: String
class: ProductClass!
hidden: YesNo!
names(
language: String
): [LocalizedString!]!
descriptions(
language: String
): [LocalizedString!]!
shortDescriptions(
language: String
): [LocalizedString!]!
slugs(
language: String
): [LocalizedString!]!
sku: String!
categoryId: Int!
defaultLanguage: String!
}

Fields

IBaseProduct.id ● Int! non-null scalar

Resource primary identifier

IBaseProduct.language ● String scalar

The requested language for this this resource, default to the products default language. ISO 639-1 format.

IBaseProduct.class ● ProductClass! non-null enum

The class of the request resource

IBaseProduct.hidden ● YesNo! non-null enum

The hidden status of this resource.

IBaseProduct.names ● [LocalizedString!]! non-null object

The names of this product per language

IBaseProduct.names.language ● String scalar

IBaseProduct.descriptions ● [LocalizedString!]! non-null object

The descriptions of this product per language

IBaseProduct.descriptions.language ● String scalar

IBaseProduct.shortDescriptions ● [LocalizedString!]! non-null object

The short descriptions of this product per language

IBaseProduct.shortDescriptions.language ● String scalar

IBaseProduct.slugs ● [LocalizedString!]! non-null object

The slugs for this product per language

IBaseProduct.slugs.language ● String scalar

IBaseProduct.sku ● String! non-null scalar

The SKU (stock keeping unit) of this product

IBaseProduct.categoryId ● Int! non-null scalar

IBaseProduct.defaultLanguage ● String! non-null scalar

The default language for this product or cluster, this is the language to fall back too, when there is no translation available in a specific language.

Member Of

Crossupsell object ● ProductsResponse object ● SparePart object

Implemented By

Cluster object ● Product object