Product
Represents a product
type Product {
id: String!
ean: String
name: [LocalizedString]
createdAt: DateTime
link: [Link]
productMeasurements: ProductMeasurements
categories(
isDefault: Boolean
): [ProductCategory]
brand: Brand
active: Boolean
inventories: [ProductInventory]
description: ProductDescription
rating: ProductRating
productType: productType!
variantGroup: VariantGroup
isVariantOf: Product
variantAttributes: [ProductVariantAttribute]
bundle: Bundle
media: ProductMedia
accessories(
listIds: [Int!]!
overrideVisible: Boolean
): [AccessoriesList!]!
price: Price
properties(
filter: PropertyFilter
): [Property]
meta: Meta
associations: [Association!]
priceHistory: ProductPriceHistory
suppliers: [ProductSupplier!]
recommendations(
first: Int! = 4
types: [ProductRecommendationType!]
): [ProductRecommendation]
shippingInfo: ProductShippingInfo
inboundDeliveries: [InboundDelivery]
vat: ProductVat
customAttributes: [CustomAttribute!]
supplierProductId: String
maxQuantityPerOrder: Int
allowedQuantities: [Int!]
allowedQuantityDefault: Int
cost: MonetaryValue
manufacturer: ProductManufacturer
importer: ProductImporter
}
Fields
id ● String!
The id of a product
ean ● String
The EAN code of a product
name ● [LocalizedString]
A list of language specific names of the product
createdAt ● DateTime
When was the product created
link ● [Link]
Link to product page in the webshop
productMeasurements ● ProductMeasurements
The measurments of the product
categories ● [ProductCategory]
The categories a product belongs to
isDefault ● Boolean
brand ● Brand
The brand a product belongs to
active ● Boolean
Is the product active
inventories ● [ProductInventory]
An array of inventories with the stock and availability of the product.
description ● ProductDescription
The description of a product
rating ● ProductRating
The rating of a product
productType ● productType!
Product type.
variantGroup ● VariantGroup
Variant group contains information about the variants. Only set for variant group products.
isVariantOf ● Product
Product this is a variant of, if any.Only set for products that are part of a variant group
variantAttributes ● [ProductVariantAttribute]
The variant attributes of product part of a variant group. Only set for products in a variant group
bundle ● Bundle
Bundle contains information about bundle products. Only set for for bundle products
media ● ProductMedia
Images of the product
accessories ● [AccessoriesList!]!
The accessories of the product
listIds ● [Int!]!
overrideVisible ● Boolean
price ● Price
Price of the product.
properties ● [Property]
The properties of a product
filter ● PropertyFilter
meta ● Meta
The meta information for a product
associations ● [Association!]
Associations to the product, e.g. blogposts associated with the product or similar cases
priceHistory ● ProductPriceHistory
Price history of the product.
suppliers ● [ProductSupplier!]
Product supplier
recommendations ● [ProductRecommendation]
Recommended products that relates to the product
first ● Int!
types ● [ProductRecommendationType!]
shippingInfo ● ProductShippingInfo
Shipping information tied to the product
inboundDeliveries ● [InboundDelivery]
Product inbound deliveries
vat ● ProductVat
Product specific Vat information
customAttributes ● [CustomAttribute!]
The custom attributes of the product
supplierProductId ● String
Supplier product id
maxQuantityPerOrder ● Int
The maximum quantity of the product that can be ordered per order
allowedQuantities ● [Int!]
The allowed quantities of the product that can be ordered
allowedQuantityDefault ● Int
The specified default allowed quantity of the product that can be ordered
cost ● MonetaryValue
The product cost
manufacturer ● ProductManufacturer
The Manufacturer of the product
importer ● ProductImporter
The Importer of the product
Example
{
"id": "AVR 135",
"ean": 7310511257507,
"name": [
{
"language": "EN",
"value": "Harman Kardon AVR 135"
}
],
"createdAt": "2024-05-03T11:52:33Z",
"link": [
{
"language": "EN",
"value": "/en/audio/receivers/avr-135"
}
],
"productMeasurements": {},
"categories": [
{
"category": {
"name": [
{
"language": "EN",
"value": "String"
}
],
"content": {},
"meta": {},
"link": [
{
"alternateUrls": [
{}
],
"redirect": {}
}
],
"products": {
"edges": [
{}
],
"pageInfo": {},
"filters": [
{
"setting": {},
"filter": {
"range": {
"intervals": [
{}
]
},
"valuesWithMetadata": [
{}
],
"categoryTreeWithMetadata": [
{}
]
}
}
],
"sortOptions": [
{
"name": []
}
]
},
"topoffers": {},
"childrenConnection": {
"edges": [
{}
]
},
"associations": [
{
"ids": []
}
],
"pages": [
{
"contents": [
{
"menu": {}
}
]
}
],
"categoryImages": {
"icon": {}
},
"customAttributes": [
{}
]
}
}
],
"brand": {
"categoriesInBrand": [
{}
],
"media": {}
},
"inventories": [
{
"availability": {
"deliveryTime": {
"min": 10,
"max": 100
}
},
"supplier": {}
}
],
"description": {
"extra": [
{}
]
},
"rating": {
"reviews": [
{}
]
},
"productType": "PRODUCT",
"variantGroup": {
"variants": [
{
"variantAttributes": [
{
"attribute": {
"sort": {}
},
"values": [
{
"language": {
"code": "EN"
}
}
]
}
]
}
],
"variantFields": [
{
"variantsInformation": [
{
"values": [
{}
]
}
]
}
],
"lowestPrice": {
"price": {
"regularPrice": {
"currency": {
"rate": 11.355,
"prefix": "$"
},
"tax": {}
},
"appliedCampaign": {
"info": {
"timeLimit": {}
}
}
},
"productIds": []
}
},
"bundle": {
"categories": [
{
"products": [
{}
]
}
],
"price": {}
},
"media": {},
"accessories": [
{
"products": []
}
],
"properties": [
{
"content": [
{
"image": {}
}
],
"group": {}
}
],
"priceHistory": {
"lowest": {},
"history": []
},
"recommendations": [
{}
],
"shippingInfo": {},
"inboundDeliveries": [
{}
],
"vat": {},
"manufacturer": {
"address": {
"organizationRegistrationId": "SE5566395256",
"organizationName": "Askås Internet- & Reklambyrå AB",
"organizationNumber": "556639-5256",
"ssn": 191212,
"firstName": "John",
"lastName": "Doe",
"streetAddress": "Järnvägsgatan 11",
"houseNumber": 11,
"streetAddress2": 11,
"postalCode": 66133,
"city": "Säffle",
"country": "Sverige",
"state": {
"country": {
"phonePrefix": "+46"
}
},
"email": "[email protected]",
"phone": "+1123456789",
"reference": "Project 221",
"doorCode": 1234,
"attention": "Jane"
}
},
"importer": {}
}