AI Commerce Cloud GraphQL API
Public GraphQL schema reference for AI Commerce Cloud integrations.
Browse the live schema
Review available queries, mutations, arguments, input types, and response fields before building an integration.
Build production requests
Use the examples to shape GraphQL POST requests for the production endpoint at https://api.aicommerce.fi/graphql.
Authenticate per tenant
Every request uses tenant credentials and an AI Commerce GraphQL access token issued during onboarding.
API Endpoints
https://api.aicommerce.fi/graphql
Headers
# Required AI Commerce Cloud API access token.
X-GraphQL-Secret: <your-graphql-secret>
# Required tenant identifier.
X-Tenant-ID: your-tenant-id
# Required tenant-specific secret.
X-Tenant-Secret: <your-tenant-secret>
# Required for GraphQL JSON requests.
Content-Type: application/json
Overview
AI Commerce Cloud exposes a single GraphQL API for ecommerce catalog, customer, order, quote, payment, and operational data.
The public reference is generated from the same schema files used by the running API. Field-level behavior, authorization, and tenant data access are enforced by the live API.
Authentication
All requests use the production endpoint:
https://api.aicommerce.fi/graphql
Every request must include these headers:
| Header | Value |
|---|---|
X-GraphQL-Secret |
API access token issued during onboarding |
X-Tenant-ID |
Tenant identifier issued during onboarding |
X-Tenant-Secret |
Tenant-specific secret issued during onboarding |
Content-Type |
application/json |
Do not expose API secrets in browser-side code or public repositories.
Tenant Model
AI Commerce Cloud uses one GraphQL endpoint for all tenants.
Tenant selection is header-based. The API reads X-Tenant-ID and X-Tenant-Secret on each request and routes authorized operations to the matching tenant data.
The schema is shared across tenants. Tenant identity controls data access, not schema shape.
Examples
Fetch products:
query Products {
products(limit: 5, offset: 0) {
id
name
model
price
}
}
Fetch one product:
query Product($id: ID!) {
product(id: $id) {
id
name
price
description
}
}
Fetch categories:
query Categories {
categories(limit: 10, offset: 0) {
id
parentId
descriptions {
languageId
name
}
}
}
Fetch orders:
query Orders {
orders(limit: 5, offset: 0) {
id
customerName
customerEmail
status
datePurchased
}
}
Create an order:
mutation CreateOrder($input: CreateOrderInput!) {
createOrder(input: $input) {
id
status
customerEmail
}
}
Onboarding
Access to live tenant data requires onboarding.
Contact info@petrosoft.fi to request API access, tenant credentials, integration support, or rate limit changes.
Queries
_empty
Response
Returns a String
Example
Query
query _empty {
_empty
}
Response
{"data": {"_empty": "abc123"}}
actionRecorderEntries
Response
Returns an ActionRecorderPage!
Example
Query
query actionRecorderEntries(
$module: String,
$userId: Int,
$success: Boolean,
$limit: Int,
$offset: Int
) {
actionRecorderEntries(
module: $module,
userId: $userId,
success: $success,
limit: $limit,
offset: $offset
) {
total
entries {
id
module
userId
userName
identifier
userAgent
success
dateAdded
}
}
}
Variables
{
"module": "xyz789",
"userId": 987,
"success": false,
"limit": 987,
"offset": 987
}
Response
{
"data": {
"actionRecorderEntries": {
"total": 987,
"entries": [ActionRecorderEntry]
}
}
}
addressBookEntries
Response
Returns [AddressBook]
Example
Query
query addressBookEntries(
$customerId: ID!,
$limit: Int,
$offset: Int
) {
addressBookEntries(
customerId: $customerId,
limit: $limit,
offset: $offset
) {
id
customerId
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
billingStreetAddress
billingFirstname
billingLastname
billingPostcode
billingCity
billingCountryId
billingCompany
billingVatid
billingZoneId
billingState
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
}
}
Variables
{"customerId": 4, "limit": 123, "offset": 123}
Response
{
"data": {
"addressBookEntries": [
{
"id": 4,
"customerId": 987,
"gender": "abc123",
"company": "abc123",
"firstname": "abc123",
"lastname": "xyz789",
"streetAddress": "abc123",
"vatid": "abc123",
"postcode": "abc123",
"city": "xyz789",
"state": "abc123",
"countryId": 123,
"zoneId": 987,
"comments": "xyz789",
"billingStreetAddress": "abc123",
"billingFirstname": "xyz789",
"billingLastname": "xyz789",
"billingPostcode": "abc123",
"billingCity": "xyz789",
"billingCountryId": "abc123",
"billingCompany": "xyz789",
"billingVatid": "xyz789",
"billingZoneId": "xyz789",
"billingState": "abc123",
"billingOperatorId": 987,
"billingInvoiceAddress": "xyz789",
"billingReference": "xyz789",
"billingReferenceRequired": true
}
]
}
}
addressFormats
Response
Returns [AddressFormat]
Example
Query
query addressFormats(
$ids: [ID!],
$limit: Int,
$offset: Int
) {
addressFormats(
ids: $ids,
limit: $limit,
offset: $offset
) {
id
addressFormat
addressSummary
}
}
Variables
{"ids": [4], "limit": 123, "offset": 987}
Response
{
"data": {
"addressFormats": [
{
"id": "4",
"addressFormat": "xyz789",
"addressSummary": "abc123"
}
]
}
}
adminNotifications
Response
Returns [AdminNotification]
Example
Query
query adminNotifications(
$limit: Int,
$offset: Int
) {
adminNotifications(
limit: $limit,
offset: $offset
) {
id
errorText
createdAt
emailErrorSent
errorCleared
}
}
Variables
{"limit": 123, "offset": 123}
Response
{
"data": {
"adminNotifications": [
{
"id": 4,
"errorText": "abc123",
"createdAt": "abc123",
"emailErrorSent": false,
"errorCleared": true
}
]
}
}
adminTrackingCreate
Response
Returns [AdminTrackingCreate]
Example
Query
query adminTrackingCreate(
$productId: Int,
$userId: Int,
$limit: Int,
$offset: Int
) {
adminTrackingCreate(
productId: $productId,
userId: $userId,
limit: $limit,
offset: $offset
) {
id
productId
userId
userName
action
dateAdded
}
}
Variables
{"productId": 123, "userId": 123, "limit": 987, "offset": 987}
Response
{
"data": {
"adminTrackingCreate": [
{
"id": 4,
"productId": 987,
"userId": 987,
"userName": "xyz789",
"action": "xyz789",
"dateAdded": "xyz789"
}
]
}
}
administrators
Response
Returns [Administrator]
Example
Query
query administrators(
$limit: Int,
$offset: Int
) {
administrators(
limit: $limit,
offset: $offset
) {
id
userName
email
twoFactor
superadmin
writePermission
grantAccess
}
}
Variables
{"limit": 987, "offset": 987}
Response
{
"data": {
"administrators": [
{
"id": 4,
"userName": "abc123",
"email": "abc123",
"twoFactor": true,
"superadmin": false,
"writePermission": true,
"grantAccess": "abc123"
}
]
}
}
apiProcessQueue
Description
Paginated list of queued API jobs. Filter status accepts 'queued' or 'failed'.
Response
Returns [ApiProcessJob]
Example
Query
query apiProcessQueue(
$status: String,
$api: String,
$endpoint: String,
$jobId: String,
$limit: Int,
$offset: Int
) {
apiProcessQueue(
status: $status,
api: $api,
endpoint: $endpoint,
jobId: $jobId,
limit: $limit,
offset: $offset
) {
id
jobId
api
endpoint
method
data
createdAt
error
status
}
}
Variables
{
"status": "xyz789",
"api": "abc123",
"endpoint": "xyz789",
"jobId": "abc123",
"limit": 123,
"offset": 987
}
Response
{
"data": {
"apiProcessQueue": [
{
"id": "4",
"jobId": "xyz789",
"api": "xyz789",
"endpoint": "xyz789",
"method": "abc123",
"data": {},
"createdAt": "xyz789",
"error": "xyz789",
"status": "abc123"
}
]
}
}
availabilities
Description
List availability labels, optionally filtered by language. Pass languageId to get only the labels for one storefront language; omit it to receive every (id, languageId) pair the tenant has defined.
Response
Returns [Availability]
Arguments
| Name | Description |
|---|---|
languageId - Int
|
Example
Query
query availabilities($languageId: Int) {
availabilities(languageId: $languageId) {
id
languageId
name
hexCode
}
}
Variables
{"languageId": 123}
Response
{
"data": {
"availabilities": [
{
"id": 4,
"languageId": 123,
"name": "xyz789",
"hexCode": "abc123"
}
]
}
}
bankPayments
Response
Returns [BankPayment!]!
Example
Query
query bankPayments(
$ordersId: Int,
$invoiceDateFrom: String,
$invoiceDateTo: String,
$valueDateFrom: String,
$valueDateTo: String,
$limit: Int,
$offset: Int
) {
bankPayments(
ordersId: $ordersId,
invoiceDateFrom: $invoiceDateFrom,
invoiceDateTo: $invoiceDateTo,
valueDateFrom: $valueDateFrom,
valueDateTo: $valueDateTo,
limit: $limit,
offset: $offset
) {
id
orderId
invoicePaymentDate
invoicePaymentValueDate
amount
}
}
Variables
{
"ordersId": 123,
"invoiceDateFrom": "abc123",
"invoiceDateTo": "abc123",
"valueDateFrom": "xyz789",
"valueDateTo": "abc123",
"limit": 987,
"offset": 123
}
Response
{
"data": {
"bankPayments": [
{
"id": 4,
"orderId": 987,
"invoicePaymentDate": "xyz789",
"invoicePaymentValueDate": "abc123",
"amount": 987.65
}
]
}
}
billingAddresses
Response
Returns [BillingAddress]
Example
Query
query billingAddresses(
$customerId: ID!,
$limit: Int,
$offset: Int
) {
billingAddresses(
customerId: $customerId,
limit: $limit,
offset: $offset
) {
id
customerId
company
firstname
lastname
streetAddress
postcode
city
state
countryId
zoneId
vatid
operatorId
invoiceAddress
reference
referenceRequired
}
}
Variables
{"customerId": 4, "limit": 123, "offset": 987}
Response
{
"data": {
"billingAddresses": [
{
"id": 4,
"customerId": 987,
"company": "xyz789",
"firstname": "abc123",
"lastname": "xyz789",
"streetAddress": "abc123",
"postcode": "xyz789",
"city": "xyz789",
"state": "abc123",
"countryId": "xyz789",
"zoneId": "xyz789",
"vatid": "xyz789",
"operatorId": 123,
"invoiceAddress": "xyz789",
"reference": "abc123",
"referenceRequired": false
}
]
}
}
browseHistory
Response
Returns [BrowseHistory]
Example
Query
query browseHistory(
$customerId: Int,
$sessionKey: String,
$startDate: String,
$endDate: String,
$limit: Int,
$offset: Int
) {
browseHistory(
customerId: $customerId,
sessionKey: $sessionKey,
startDate: $startDate,
endDate: $endDate,
limit: $limit,
offset: $offset
) {
id
customerId
sessionKey
loadTimeMsec
categoryId
productId
manufacturerId
color
size
geoipCountry
ipAddress
date
timestamp
topPicks
keywords
}
}
Variables
{
"customerId": 123,
"sessionKey": "xyz789",
"startDate": "abc123",
"endDate": "abc123",
"limit": 123,
"offset": 123
}
Response
{
"data": {
"browseHistory": [
{
"id": 4,
"customerId": 123,
"sessionKey": "abc123",
"loadTimeMsec": 987,
"categoryId": 123,
"productId": 987,
"manufacturerId": 123,
"color": 987,
"size": 987,
"geoipCountry": "abc123",
"ipAddress": "xyz789",
"date": "xyz789",
"timestamp": 987,
"topPicks": false,
"keywords": "xyz789"
}
]
}
}
categories
Description
Paginated list of categories across the full tree.
Response
Returns [Category]
Example
Query
query categories(
$limit: Int,
$offset: Int
) {
categories(
limit: $limit,
offset: $offset
) {
id
code
image
banner
parentId
sortOrder
position
descriptions {
languageId
name
url
path
pathOld
description
descriptionTop
metaTitle
metaDescription
featureTitle
typeTitle
bannerText
bannerButton
bannerUrl
redirectStatus
}
}
}
Variables
{"limit": 123, "offset": 123}
Response
{
"data": {
"categories": [
{
"id": "4",
"code": "xyz789",
"image": "abc123",
"banner": "xyz789",
"parentId": 987,
"sortOrder": 987,
"position": 123,
"descriptions": [CategoryDescription]
}
]
}
}
category
Description
Fetch a single category by id, optionally localized via languageId.
Example
Query
query category(
$id: ID!,
$languageId: Int
) {
category(
id: $id,
languageId: $languageId
) {
id
code
image
banner
parentId
sortOrder
position
descriptions {
languageId
name
url
path
pathOld
description
descriptionTop
metaTitle
metaDescription
featureTitle
typeTitle
bannerText
bannerButton
bannerUrl
redirectStatus
}
}
}
Variables
{"id": "4", "languageId": 123}
Response
{
"data": {
"category": {
"id": 4,
"code": "xyz789",
"image": "abc123",
"banner": "abc123",
"parentId": 987,
"sortOrder": 123,
"position": 987,
"descriptions": [CategoryDescription]
}
}
}
configurationGroups
Response
Returns [ConfigurationGroup]
Example
Query
query configurationGroups {
configurationGroups {
id
title
description
sortOrder
configurations {
id
title
key
value
description
groupId
sortOrder
lastModified
dateAdded
useFunction
setFunction
group {
...ConfigurationGroupFragment
}
}
}
}
Response
{
"data": {
"configurationGroups": [
{
"id": 4,
"title": "abc123",
"description": "xyz789",
"sortOrder": 987,
"configurations": [Configuration]
}
]
}
}
configurationGroupsWithSettings
Response
Returns [ConfigurationGroup]
Example
Query
query configurationGroupsWithSettings {
configurationGroupsWithSettings {
id
title
description
sortOrder
configurations {
id
title
key
value
description
groupId
sortOrder
lastModified
dateAdded
useFunction
setFunction
group {
...ConfigurationGroupFragment
}
}
}
}
Response
{
"data": {
"configurationGroupsWithSettings": [
{
"id": 4,
"title": "abc123",
"description": "abc123",
"sortOrder": 123,
"configurations": [Configuration]
}
]
}
}
configurations
Response
Returns [Configuration]
Example
Query
query configurations(
$groupId: Int,
$limit: Int,
$offset: Int
) {
configurations(
groupId: $groupId,
limit: $limit,
offset: $offset
) {
id
title
key
value
description
groupId
sortOrder
lastModified
dateAdded
useFunction
setFunction
group {
id
title
description
sortOrder
configurations {
...ConfigurationFragment
}
}
}
}
Variables
{"groupId": 987, "limit": 123, "offset": 123}
Response
{
"data": {
"configurations": [
{
"id": "4",
"title": "abc123",
"key": "xyz789",
"value": "abc123",
"description": "abc123",
"groupId": 123,
"sortOrder": 987,
"lastModified": "xyz789",
"dateAdded": "xyz789",
"useFunction": "abc123",
"setFunction": "xyz789",
"group": ConfigurationGroup
}
]
}
}
countries
Example
Query
query countries(
$limit: Int,
$offset: Int
) {
countries(
limit: $limit,
offset: $offset
) {
id
name
iso2
iso3
dutyRate
dutyLimit
addressFormatId
defaultCurrencyId
}
}
Variables
{"limit": 987, "offset": 987}
Response
{
"data": {
"countries": [
{
"id": 4,
"name": "xyz789",
"iso2": "xyz789",
"iso3": "xyz789",
"dutyRate": 123.45,
"dutyLimit": 123.45,
"addressFormatId": 123,
"defaultCurrencyId": 123
}
]
}
}
currencies
Response
Returns [Currency]
Example
Query
query currencies(
$limit: Int,
$offset: Int
) {
currencies(
limit: $limit,
offset: $offset
) {
id
title
code
symbolLeft
symbolRight
value
lastUpdated
}
}
Variables
{"limit": 987, "offset": 123}
Response
{
"data": {
"currencies": [
{
"id": 4,
"title": "xyz789",
"code": "xyz789",
"symbolLeft": "xyz789",
"symbolRight": "abc123",
"value": 987.65,
"lastUpdated": "xyz789"
}
]
}
}
customer
Example
Query
query customer($id: ID!) {
customer(id: $id) {
id
gender
firstname
lastname
emailAddress
defaultAddressId
defaultDeliveryAddressId
telephone
newsletter
freeShipping
admin
type
group
approved
undeliveredOrders
blockPayments
blockShipments
temporaryCustomer
emailSent
apiId
apiBillingId
grantWhatsapp
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
info {
dateOfLastLogon
numberOfLogons
numberOfFailedLogins
dateOfLastLoginFail
dateAccountCreated
dateAccountLastModified
sourceId
globalProductNotifications
}
addresses {
id
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
billingStreetAddress
billingFirstname
billingLastname
billingPostcode
billingCity
billingCountryId
billingCompany
billingVatid
billingZoneId
billingState
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"customer": {
"id": 4,
"gender": "xyz789",
"firstname": "abc123",
"lastname": "abc123",
"emailAddress": "abc123",
"defaultAddressId": 987,
"defaultDeliveryAddressId": 123,
"telephone": "abc123",
"newsletter": false,
"freeShipping": 123.45,
"admin": 987,
"type": 123,
"group": "xyz789",
"approved": true,
"undeliveredOrders": 123,
"blockPayments": "xyz789",
"blockShipments": "xyz789",
"temporaryCustomer": false,
"emailSent": false,
"apiId": "abc123",
"apiBillingId": 123,
"grantWhatsapp": false,
"billingOperatorId": 987,
"billingInvoiceAddress": "abc123",
"billingReference": "abc123",
"billingReferenceRequired": false,
"info": CustomerInfo,
"addresses": [Address]
}
}
}
customerByEmail
Example
Query
query customerByEmail($emailAddress: String!) {
customerByEmail(emailAddress: $emailAddress) {
id
gender
firstname
lastname
emailAddress
defaultAddressId
defaultDeliveryAddressId
telephone
newsletter
freeShipping
admin
type
group
approved
undeliveredOrders
blockPayments
blockShipments
temporaryCustomer
emailSent
apiId
apiBillingId
grantWhatsapp
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
info {
dateOfLastLogon
numberOfLogons
numberOfFailedLogins
dateOfLastLoginFail
dateAccountCreated
dateAccountLastModified
sourceId
globalProductNotifications
}
addresses {
id
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
billingStreetAddress
billingFirstname
billingLastname
billingPostcode
billingCity
billingCountryId
billingCompany
billingVatid
billingZoneId
billingState
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
}
}
}
Variables
{"emailAddress": "abc123"}
Response
{
"data": {
"customerByEmail": {
"id": 4,
"gender": "xyz789",
"firstname": "abc123",
"lastname": "xyz789",
"emailAddress": "abc123",
"defaultAddressId": 987,
"defaultDeliveryAddressId": 123,
"telephone": "xyz789",
"newsletter": true,
"freeShipping": 987.65,
"admin": 123,
"type": 987,
"group": "abc123",
"approved": true,
"undeliveredOrders": 987,
"blockPayments": "abc123",
"blockShipments": "xyz789",
"temporaryCustomer": true,
"emailSent": true,
"apiId": "abc123",
"apiBillingId": 987,
"grantWhatsapp": true,
"billingOperatorId": 987,
"billingInvoiceAddress": "abc123",
"billingReference": "abc123",
"billingReferenceRequired": false,
"info": CustomerInfo,
"addresses": [Address]
}
}
}
customerGroupPriceList
Response
Returns [CustomerGroupPriceRule]
Example
Query
query customerGroupPriceList(
$customerGroupId: ID,
$productId: Int,
$validOn: String,
$limit: Int,
$offset: Int
) {
customerGroupPriceList(
customerGroupId: $customerGroupId,
productId: $productId,
validOn: $validOn,
limit: $limit,
offset: $offset
) {
id
groupId
productId
productStockId
price
validFrom
validTo
customerGroup {
id
description
discountAmount
discountType
dateStart
dateEnd
minOrder
minOrderType
customerType
discountedProducts
groupsType
dynamicDiscounts {
...CustomerGroupDynamicDiscountFragment
}
priceList {
...CustomerGroupPriceRuleFragment
}
}
product {
id
name
model
image
price
description
shortDescription
material
}
}
}
Variables
{
"customerGroupId": "4",
"productId": 987,
"validOn": "xyz789",
"limit": 123,
"offset": 987
}
Response
{
"data": {
"customerGroupPriceList": [
{
"id": 4,
"groupId": "xyz789",
"productId": 987,
"productStockId": 123,
"price": 987.65,
"validFrom": "xyz789",
"validTo": "xyz789",
"customerGroup": CustomerGroup,
"product": Product
}
]
}
}
customerGroups
Response
Returns [CustomerGroup]
Example
Query
query customerGroups(
$type: String,
$activeOnly: Boolean
) {
customerGroups(
type: $type,
activeOnly: $activeOnly
) {
id
description
discountAmount
discountType
dateStart
dateEnd
minOrder
minOrderType
customerType
discountedProducts
groupsType
dynamicDiscounts {
id
groupId
amount
dateStart
dateEnd
manufacturer
category
sort
}
priceList {
id
groupId
productId
productStockId
price
validFrom
validTo
customerGroup {
...CustomerGroupFragment
}
product {
...ProductFragment
}
}
}
}
Variables
{"type": "abc123", "activeOnly": true}
Response
{
"data": {
"customerGroups": [
{
"id": "4",
"description": "abc123",
"discountAmount": 123.45,
"discountType": "abc123",
"dateStart": "abc123",
"dateEnd": "xyz789",
"minOrder": 123.45,
"minOrderType": "abc123",
"customerType": "abc123",
"discountedProducts": 987,
"groupsType": "xyz789",
"dynamicDiscounts": [
CustomerGroupDynamicDiscount
],
"priceList": [CustomerGroupPriceRule]
}
]
}
}
customerInfo
Response
Returns a CustomerInfo
Arguments
| Name | Description |
|---|---|
customerId - ID!
|
Example
Query
query customerInfo($customerId: ID!) {
customerInfo(customerId: $customerId) {
dateOfLastLogon
numberOfLogons
numberOfFailedLogins
dateOfLastLoginFail
dateAccountCreated
dateAccountLastModified
sourceId
globalProductNotifications
}
}
Variables
{"customerId": "4"}
Response
{
"data": {
"customerInfo": {
"dateOfLastLogon": "abc123",
"numberOfLogons": 123,
"numberOfFailedLogins": 123,
"dateOfLastLoginFail": "xyz789",
"dateAccountCreated": "xyz789",
"dateAccountLastModified": "abc123",
"sourceId": 987,
"globalProductNotifications": 987
}
}
}
customerPrice
Response
Returns a CustomerPrice
Example
Query
query customerPrice(
$customerId: Int!,
$productId: Int!,
$validOn: String
) {
customerPrice(
customerId: $customerId,
productId: $productId,
validOn: $validOn
) {
id
customerId
productId
price
currency
validFrom
validTo
}
}
Variables
{
"customerId": 123,
"productId": 987,
"validOn": "xyz789"
}
Response
{
"data": {
"customerPrice": {
"id": 4,
"customerId": 123,
"productId": 123,
"price": 123.45,
"currency": "xyz789",
"validFrom": "abc123",
"validTo": "abc123"
}
}
}
customers
Response
Returns [Customer]
Example
Query
query customers(
$limit: Int,
$offset: Int
) {
customers(
limit: $limit,
offset: $offset
) {
id
gender
firstname
lastname
emailAddress
defaultAddressId
defaultDeliveryAddressId
telephone
newsletter
freeShipping
admin
type
group
approved
undeliveredOrders
blockPayments
blockShipments
temporaryCustomer
emailSent
apiId
apiBillingId
grantWhatsapp
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
info {
dateOfLastLogon
numberOfLogons
numberOfFailedLogins
dateOfLastLoginFail
dateAccountCreated
dateAccountLastModified
sourceId
globalProductNotifications
}
addresses {
id
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
billingStreetAddress
billingFirstname
billingLastname
billingPostcode
billingCity
billingCountryId
billingCompany
billingVatid
billingZoneId
billingState
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
}
}
}
Variables
{"limit": 123, "offset": 123}
Response
{
"data": {
"customers": [
{
"id": 4,
"gender": "xyz789",
"firstname": "abc123",
"lastname": "xyz789",
"emailAddress": "abc123",
"defaultAddressId": 123,
"defaultDeliveryAddressId": 987,
"telephone": "xyz789",
"newsletter": false,
"freeShipping": 123.45,
"admin": 987,
"type": 987,
"group": "xyz789",
"approved": true,
"undeliveredOrders": 123,
"blockPayments": "xyz789",
"blockShipments": "xyz789",
"temporaryCustomer": false,
"emailSent": true,
"apiId": "abc123",
"apiBillingId": 987,
"grantWhatsapp": true,
"billingOperatorId": 987,
"billingInvoiceAddress": "xyz789",
"billingReference": "abc123",
"billingReferenceRequired": false,
"info": CustomerInfo,
"addresses": [Address]
}
]
}
}
customersApi
Response
Returns [CustomersApiCustomer!]!
Example
Query
query customersApi(
$asiakaskoodi: String,
$email: String,
$alennusryhma: String,
$limit: Int,
$offset: Int
) {
customersApi(
asiakaskoodi: $asiakaskoodi,
email: $email,
alennusryhma: $alennusryhma,
limit: $limit,
offset: $offset
) {
asiakaskoodi
name
secondaryName
addressLine1
addressLine2
addressLine3
deliveryName1
deliveryName2
deliveryName3
billingCustomerId
paymentTerm
customerGroup
chain
salesCode
creditLimit
deliveryBlock
email
website
phone
fax
deliveryMethod
discountGroup
discountPercent
secondaryDiscountPercent
languageCode
comment1
comment2
contactPerson
contactPersonId
lastLoginAt
vatLiability
currency
modifiedAt
businessId
billingAddress
intermediaryService
netvisorKey
}
}
Variables
{
"asiakaskoodi": "abc123",
"email": "abc123",
"alennusryhma": "xyz789",
"limit": 987,
"offset": 987
}
Response
{
"data": {
"customersApi": [
{
"asiakaskoodi": "xyz789",
"name": "abc123",
"secondaryName": "abc123",
"addressLine1": "xyz789",
"addressLine2": "xyz789",
"addressLine3": "xyz789",
"deliveryName1": "abc123",
"deliveryName2": "xyz789",
"deliveryName3": "xyz789",
"billingCustomerId": 123,
"paymentTerm": "abc123",
"customerGroup": "xyz789",
"chain": "xyz789",
"salesCode": "abc123",
"creditLimit": "xyz789",
"deliveryBlock": "abc123",
"email": "xyz789",
"website": "abc123",
"phone": "abc123",
"fax": "abc123",
"deliveryMethod": "xyz789",
"discountGroup": "xyz789",
"discountPercent": 123.45,
"secondaryDiscountPercent": 987.65,
"languageCode": "xyz789",
"comment1": "abc123",
"comment2": "xyz789",
"contactPerson": "xyz789",
"contactPersonId": 987,
"lastLoginAt": "xyz789",
"vatLiability": "xyz789",
"currency": "xyz789",
"modifiedAt": "xyz789",
"businessId": "xyz789",
"billingAddress": "xyz789",
"intermediaryService": "abc123",
"netvisorKey": 987
}
]
}
}
customersBasket
Response
Returns [CustomersBasketItem]
Example
Query
query customersBasket(
$customersId: ID!,
$cartId: String
) {
customersBasket(
customersId: $customersId,
cartId: $cartId
) {
id
cartId
customersId
itemId
productId
variants
productOptions
comment
customOptions
quantity
specialPrice
bundleId
includes
dateAdded
emailSent
emailLast
variableImage
allowSubstitute
}
}
Variables
{
"customersId": "4",
"cartId": "xyz789"
}
Response
{
"data": {
"customersBasket": [
{
"id": 4,
"cartId": "abc123",
"customersId": 123,
"itemId": "xyz789",
"productId": 987,
"variants": "xyz789",
"productOptions": "abc123",
"comment": "abc123",
"customOptions": "xyz789",
"quantity": 123,
"specialPrice": 987.65,
"bundleId": "abc123",
"includes": "abc123",
"dateAdded": "xyz789",
"emailSent": 987,
"emailLast": "xyz789",
"variableImage": "xyz789",
"allowSubstitute": true
}
]
}
}
customersBlacklist
Response
Returns [CustomerBlacklistEntry!]!
Example
Query
query customersBlacklist(
$customerId: Int,
$status: Int,
$limit: Int,
$offset: Int
) {
customersBlacklist(
customerId: $customerId,
status: $status,
limit: $limit,
offset: $offset
) {
id
customerId
status
reason
lastModified
}
}
Variables
{"customerId": 987, "status": 123, "limit": 987, "offset": 123}
Response
{
"data": {
"customersBlacklist": [
{
"id": "4",
"customerId": 987,
"status": 123,
"reason": "xyz789",
"lastModified": "xyz789"
}
]
}
}
customersBraintreeTokens
Response
Returns [CustomersBraintreeToken!]!
Example
Query
query customersBraintreeTokens(
$customersId: Int!,
$cardType: String,
$limit: Int,
$offset: Int
) {
customersBraintreeTokens(
customersId: $customersId,
cardType: $cardType,
limit: $limit,
offset: $offset
) {
id
customersId
braintreeToken
cardType
numberFiltered
expiryDate
dateAdded
}
}
Variables
{
"customersId": 987,
"cardType": "abc123",
"limit": 987,
"offset": 123
}
Response
{
"data": {
"customersBraintreeTokens": [
{
"id": 4,
"customersId": 123,
"braintreeToken": "xyz789",
"cardType": "xyz789",
"numberFiltered": "xyz789",
"expiryDate": "abc123",
"dateAdded": "xyz789"
}
]
}
}
customersHistory
Response
Returns [CustomerHistoryEntry!]!
Example
Query
query customersHistory(
$customerId: Int!,
$userId: Int,
$sourceTable: String,
$limit: Int,
$offset: Int
) {
customersHistory(
customerId: $customerId,
userId: $userId,
sourceTable: $sourceTable,
limit: $limit,
offset: $offset
) {
id
customerId
addressBookId
userId
userName
sourceTable
fieldName
oldValue
newValue
page
dateAdded
}
}
Variables
{
"customerId": 987,
"userId": 987,
"sourceTable": "xyz789",
"limit": 987,
"offset": 987
}
Response
{
"data": {
"customersHistory": [
{
"id": "4",
"customerId": 123,
"addressBookId": 987,
"userId": 987,
"userName": "xyz789",
"sourceTable": "abc123",
"fieldName": "abc123",
"oldValue": "abc123",
"newValue": "abc123",
"page": "xyz789",
"dateAdded": "xyz789"
}
]
}
}
customersPrices
Response
Returns [CustomerPrice!]!
Example
Query
query customersPrices(
$customerId: Int,
$productId: Int,
$validOn: String,
$limit: Int,
$offset: Int
) {
customersPrices(
customerId: $customerId,
productId: $productId,
validOn: $validOn,
limit: $limit,
offset: $offset
) {
id
customerId
productId
price
currency
validFrom
validTo
}
}
Variables
{
"customerId": 987,
"productId": 987,
"validOn": "xyz789",
"limit": 987,
"offset": 987
}
Response
{
"data": {
"customersPrices": [
{
"id": "4",
"customerId": 123,
"productId": 987,
"price": 123.45,
"currency": "xyz789",
"validFrom": "abc123",
"validTo": "xyz789"
}
]
}
}
deliveryAddresses
Response
Returns [DeliveryAddress]
Example
Query
query deliveryAddresses(
$customerId: ID!,
$limit: Int,
$offset: Int,
$includeLegacy: Boolean
) {
deliveryAddresses(
customerId: $customerId,
limit: $limit,
offset: $offset,
includeLegacy: $includeLegacy
) {
id
customerId
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
legacyAddressBookId
legacyAddress {
id
customerId
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
billingStreetAddress
billingFirstname
billingLastname
billingPostcode
billingCity
billingCountryId
billingCompany
billingVatid
billingZoneId
billingState
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
}
}
}
Variables
{
"customerId": "4",
"limit": 123,
"offset": 987,
"includeLegacy": false
}
Response
{
"data": {
"deliveryAddresses": [
{
"id": "4",
"customerId": 987,
"gender": "xyz789",
"company": "abc123",
"firstname": "xyz789",
"lastname": "xyz789",
"streetAddress": "abc123",
"vatid": "abc123",
"postcode": "abc123",
"city": "xyz789",
"state": "abc123",
"countryId": 123,
"zoneId": 987,
"comments": "xyz789",
"legacyAddressBookId": 987,
"legacyAddress": AddressBook
}
]
}
}
discountCoupon
Response
Returns a DiscountCoupon
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
query discountCoupon($id: ID!) {
discountCoupon(id: $id) {
id
description
amount
discountType
dateStart
dateEnd
maxUse
minOrder
minOrderType
numberAvailable
customerType
discountedProducts
discountedProductsOld
allowedProducts
categories
products
customers
orders
manufacturers
shippingMethods
zones
}
}
Variables
{"id": "4"}
Response
{
"data": {
"discountCoupon": {
"id": 4,
"description": "abc123",
"amount": 123.45,
"discountType": "abc123",
"dateStart": "abc123",
"dateEnd": "xyz789",
"maxUse": 123,
"minOrder": 987.65,
"minOrderType": "abc123",
"numberAvailable": 123,
"customerType": "abc123",
"discountedProducts": 987,
"discountedProductsOld": 987,
"allowedProducts": "abc123",
"categories": [123],
"products": [123],
"customers": [123],
"orders": [987],
"manufacturers": [987],
"shippingMethods": ["xyz789"],
"zones": [987]
}
}
}
discountCoupons
Response
Returns [DiscountCoupon]
Example
Query
query discountCoupons(
$limit: Int,
$offset: Int
) {
discountCoupons(
limit: $limit,
offset: $offset
) {
id
description
amount
discountType
dateStart
dateEnd
maxUse
minOrder
minOrderType
numberAvailable
customerType
discountedProducts
discountedProductsOld
allowedProducts
categories
products
customers
orders
manufacturers
shippingMethods
zones
}
}
Variables
{"limit": 123, "offset": 123}
Response
{
"data": {
"discountCoupons": [
{
"id": "4",
"description": "xyz789",
"amount": 123.45,
"discountType": "xyz789",
"dateStart": "xyz789",
"dateEnd": "abc123",
"maxUse": 987,
"minOrder": 987.65,
"minOrderType": "abc123",
"numberAvailable": 987,
"customerType": "xyz789",
"discountedProducts": 123,
"discountedProductsOld": 987,
"allowedProducts": "xyz789",
"categories": [987],
"products": [987],
"customers": [123],
"orders": [123],
"manufacturers": [987],
"shippingMethods": ["xyz789"],
"zones": [123]
}
]
}
}
discountCouponsToOrders
Response
Returns [DiscountCouponOrderLink]
Example
Query
query discountCouponsToOrders(
$orderId: ID,
$couponCode: ID,
$limit: Int,
$offset: Int
) {
discountCouponsToOrders(
orderId: $orderId,
couponCode: $couponCode,
limit: $limit,
offset: $offset
) {
couponCode
orderId
coupon {
id
description
amount
discountType
dateStart
dateEnd
maxUse
minOrder
minOrderType
numberAvailable
customerType
discountedProducts
discountedProductsOld
allowedProducts
categories
products
customers
orders
manufacturers
shippingMethods
zones
}
order {
id
customerId
customerName
customerEmail
customer {
...OrderPartyFragment
}
deliveryAddress {
...OrderPartyFragment
}
billingAddress {
...OrderPartyFragment
}
status
datePurchased
lastModified
currency
currencyValue
paymentMethod
shippingMethod
shippingCost
trackingCode
warehouseCode
discountCoupons {
...DiscountCouponFragment
}
items {
...OrderItemFragment
}
totals {
...OrderTotalFragment
}
bankPayments {
...BankPaymentFragment
}
vivawalletPayments {
...OrderVivawalletPaymentFragment
}
}
}
}
Variables
{
"orderId": "4",
"couponCode": "4",
"limit": 123,
"offset": 987
}
Response
{
"data": {
"discountCouponsToOrders": [
{
"couponCode": "4",
"orderId": 4,
"coupon": DiscountCoupon,
"order": Order
}
]
}
}
domains
Example
Query
query domains(
$locale: String,
$limit: Int,
$offset: Int
) {
domains(
locale: $locale,
limit: $limit,
offset: $offset
) {
id
languageId
code
hreflang
domain
cctld
flag
sortOrder
googlePixel
googleApiSecret
adwordsPixel
adwordsPhone
adwordsPurchase
adwordsContact
adwordsQuote
metaPixel
metaApiSecret
tiktokPixel
tiktokApiSecret
msAdsPixel
msAdsPhone
msAdsContact
msAdsPurchase
msAdsQuote
pinterestPixel
wpDomain
openaiChatInstructions
openaiVectorStoreId
openaiChatAssistantId
}
}
Variables
{
"locale": "xyz789",
"limit": 987,
"offset": 987
}
Response
{
"data": {
"domains": [
{
"id": 4,
"languageId": 123,
"code": "xyz789",
"hreflang": "abc123",
"domain": "xyz789",
"cctld": "abc123",
"flag": "abc123",
"sortOrder": 987,
"googlePixel": "abc123",
"googleApiSecret": "xyz789",
"adwordsPixel": "abc123",
"adwordsPhone": "xyz789",
"adwordsPurchase": "abc123",
"adwordsContact": "xyz789",
"adwordsQuote": "xyz789",
"metaPixel": "abc123",
"metaApiSecret": "abc123",
"tiktokPixel": "abc123",
"tiktokApiSecret": "xyz789",
"msAdsPixel": "abc123",
"msAdsPhone": "abc123",
"msAdsContact": "xyz789",
"msAdsPurchase": "xyz789",
"msAdsQuote": "abc123",
"pinterestPixel": "abc123",
"wpDomain": "abc123",
"openaiChatInstructions": "abc123",
"openaiVectorStoreId": "xyz789",
"openaiChatAssistantId": "abc123"
}
]
}
}
faqCategories
Response
Returns [FaqCategory]
Example
Query
query faqCategories(
$languageId: Int,
$visibleOnly: Boolean,
$includeHiddenQuestions: Boolean,
$sortByOrder: Boolean
) {
faqCategories(
languageId: $languageId,
visibleOnly: $visibleOnly,
includeHiddenQuestions: $includeHiddenQuestions,
sortByOrder: $sortByOrder
) {
id
icon
image
visibility
googleIndex
sortOrder
descriptions {
languageId
name
url
description
metaTitle
metaDescription
}
questions {
id
image
sortOrder
visibility
googleIndex
enableUrl
categories
descriptions {
...FaqQuestionDescriptionFragment
}
}
}
}
Variables
{
"languageId": 987,
"visibleOnly": true,
"includeHiddenQuestions": true,
"sortByOrder": true
}
Response
{
"data": {
"faqCategories": [
{
"id": "4",
"icon": "abc123",
"image": "abc123",
"visibility": 987,
"googleIndex": 987,
"sortOrder": 987,
"descriptions": [FaqCategoryDescription],
"questions": [FaqQuestion]
}
]
}
}
faqQuestion
Response
Returns a FaqQuestion
Example
Query
query faqQuestion(
$id: ID,
$slug: String,
$languageId: Int,
$visibleOnly: Boolean
) {
faqQuestion(
id: $id,
slug: $slug,
languageId: $languageId,
visibleOnly: $visibleOnly
) {
id
image
sortOrder
visibility
googleIndex
enableUrl
categories
descriptions {
languageId
question
answer
shortAnswer
url
metaTitle
metaDescription
}
}
}
Variables
{
"id": 4,
"slug": "abc123",
"languageId": 123,
"visibleOnly": true
}
Response
{
"data": {
"faqQuestion": {
"id": "4",
"image": "xyz789",
"sortOrder": 987,
"visibility": 123,
"googleIndex": 987,
"enableUrl": 123,
"categories": [123],
"descriptions": [FaqQuestionDescription]
}
}
}
languages
Response
Returns [Language]
Example
Query
query languages(
$limit: Int,
$offset: Int
) {
languages(
limit: $limit,
offset: $offset
) {
id
code
name
metadata {
image
directory
}
}
}
Variables
{"limit": 987, "offset": 123}
Response
{
"data": {
"languages": [
{
"id": 4,
"code": "abc123",
"name": "abc123",
"metadata": LanguageMetadata
}
]
}
}
manufacturer
Description
Fetch a single manufacturer by id, optionally localized via languageId.
Response
Returns a Manufacturer
Example
Query
query manufacturer(
$id: ID!,
$languageId: Int
) {
manufacturer(
id: $id,
languageId: $languageId
) {
id
name
code
image
brandPageImage
listingImage
sortOrder
status
dateAdded
lastModified
fitValue
specialDiscount
cmsDescription
countryApprovedProduct
displayFrontpage
infos {
languageId
urlClicked
dateLastClick
description
descriptionTop
}
}
}
Variables
{"id": "4", "languageId": 123}
Response
{
"data": {
"manufacturer": {
"id": "4",
"name": "xyz789",
"code": "xyz789",
"image": "xyz789",
"brandPageImage": "abc123",
"listingImage": "abc123",
"sortOrder": 123,
"status": 123,
"dateAdded": "xyz789",
"lastModified": "xyz789",
"fitValue": "xyz789",
"specialDiscount": 987,
"cmsDescription": 123,
"countryApprovedProduct": "abc123",
"displayFrontpage": 123,
"infos": [ManufacturerInfo]
}
}
}
manufacturers
Description
Paginated list of manufacturers / brands.
Response
Returns [Manufacturer]
Example
Query
query manufacturers(
$limit: Int,
$offset: Int
) {
manufacturers(
limit: $limit,
offset: $offset
) {
id
name
code
image
brandPageImage
listingImage
sortOrder
status
dateAdded
lastModified
fitValue
specialDiscount
cmsDescription
countryApprovedProduct
displayFrontpage
infos {
languageId
urlClicked
dateLastClick
description
descriptionTop
}
}
}
Variables
{"limit": 987, "offset": 123}
Response
{
"data": {
"manufacturers": [
{
"id": "4",
"name": "xyz789",
"code": "abc123",
"image": "abc123",
"brandPageImage": "xyz789",
"listingImage": "xyz789",
"sortOrder": 123,
"status": 987,
"dateAdded": "abc123",
"lastModified": "abc123",
"fitValue": "abc123",
"specialDiscount": 987,
"cmsDescription": 123,
"countryApprovedProduct": "xyz789",
"displayFrontpage": 987,
"infos": [ManufacturerInfo]
}
]
}
}
order
Example
Query
query order($id: ID!) {
order(id: $id) {
id
customerId
customerName
customerEmail
customer {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
deliveryAddress {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
billingAddress {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
status
datePurchased
lastModified
currency
currencyValue
paymentMethod
shippingMethod
shippingCost
trackingCode
warehouseCode
discountCoupons {
id
description
amount
discountType
dateStart
dateEnd
maxUse
minOrder
minOrderType
numberAvailable
customerType
discountedProducts
discountedProductsOld
allowedProducts
categories
products
customers
orders
manufacturers
shippingMethods
zones
}
items {
id
orderId
productId
productModel
productEan
productName
quantity
quantityReturned
price
originalPrice
tax
stockVariants
lineType
variants {
...OrderItemVariantFragment
}
}
totals {
id
orderId
title
text
value
valueUnreturned
class
sortOrder
}
bankPayments {
id
orderId
invoicePaymentDate
invoicePaymentValueDate
amount
}
vivawalletPayments {
id
orderId
customerId
paymentMethod
notificationId
orderCode
transactionUuid
sessionId
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"order": {
"id": "4",
"customerId": 123,
"customerName": "xyz789",
"customerEmail": "abc123",
"customer": OrderParty,
"deliveryAddress": OrderParty,
"billingAddress": OrderParty,
"status": 987,
"datePurchased": "abc123",
"lastModified": "xyz789",
"currency": "xyz789",
"currencyValue": 987.65,
"paymentMethod": "xyz789",
"shippingMethod": "abc123",
"shippingCost": 987.65,
"trackingCode": "abc123",
"warehouseCode": "abc123",
"discountCoupons": [DiscountCoupon],
"items": [OrderItem],
"totals": [OrderTotal],
"bankPayments": [BankPayment],
"vivawalletPayments": [OrderVivawalletPayment]
}
}
}
orderItems
Response
Returns [OrderItem!]!
Arguments
| Name | Description |
|---|---|
orderId - ID!
|
Example
Query
query orderItems($orderId: ID!) {
orderItems(orderId: $orderId) {
id
orderId
productId
productModel
productEan
productName
quantity
quantityReturned
price
originalPrice
tax
stockVariants
lineType
variants {
id
orderProductId
optionId
optionName
optionValue
price
pricePrefix
}
}
}
Variables
{"orderId": 4}
Response
{
"data": {
"orderItems": [
{
"id": 4,
"orderId": 987,
"productId": 123,
"productModel": "xyz789",
"productEan": "abc123",
"productName": "abc123",
"quantity": 987,
"quantityReturned": 123,
"price": 123.45,
"originalPrice": 987.65,
"tax": 987.65,
"stockVariants": "abc123",
"lineType": "abc123",
"variants": [OrderItemVariant]
}
]
}
}
orderStatusHistory
Response
Returns [OrderStatusHistory]
Example
Query
query orderStatusHistory(
$orderId: Int!,
$statusId: Int,
$limit: Int,
$offset: Int
) {
orderStatusHistory(
orderId: $orderId,
statusId: $statusId,
limit: $limit,
offset: $offset
) {
id
orderId
statusId
statusName
dateAdded
customerNotified
comments
}
}
Variables
{"orderId": 987, "statusId": 123, "limit": 987, "offset": 123}
Response
{
"data": {
"orderStatusHistory": [
{
"id": "4",
"orderId": 987,
"statusId": 123,
"statusName": "xyz789",
"dateAdded": "xyz789",
"customerNotified": 987,
"comments": "abc123"
}
]
}
}
orderStatuses
Response
Returns [OrderStatus]
Arguments
| Name | Description |
|---|---|
languageId - Int!
|
Example
Query
query orderStatuses($languageId: Int!) {
orderStatuses(languageId: $languageId) {
id
languageId
code
name
apiFlag
apiId
colorCode
}
}
Variables
{"languageId": 123}
Response
{
"data": {
"orderStatuses": [
{
"id": 4,
"languageId": 987,
"code": "xyz789",
"name": "abc123",
"apiFlag": 123,
"apiId": "abc123",
"colorCode": "abc123"
}
]
}
}
orderTotals
Response
Returns [OrderTotal!]!
Example
Query
query orderTotals(
$orderId: ID!,
$class: String
) {
orderTotals(
orderId: $orderId,
class: $class
) {
id
orderId
title
text
value
valueUnreturned
class
sortOrder
}
}
Variables
{"orderId": 4, "class": "xyz789"}
Response
{
"data": {
"orderTotals": [
{
"id": "4",
"orderId": 123,
"title": "abc123",
"text": "xyz789",
"value": 987.65,
"valueUnreturned": 987.65,
"class": "xyz789",
"sortOrder": 987
}
]
}
}
orders
Example
Query
query orders(
$limit: Int,
$offset: Int,
$customerId: Int
) {
orders(
limit: $limit,
offset: $offset,
customerId: $customerId
) {
id
customerId
customerName
customerEmail
customer {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
deliveryAddress {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
billingAddress {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
status
datePurchased
lastModified
currency
currencyValue
paymentMethod
shippingMethod
shippingCost
trackingCode
warehouseCode
discountCoupons {
id
description
amount
discountType
dateStart
dateEnd
maxUse
minOrder
minOrderType
numberAvailable
customerType
discountedProducts
discountedProductsOld
allowedProducts
categories
products
customers
orders
manufacturers
shippingMethods
zones
}
items {
id
orderId
productId
productModel
productEan
productName
quantity
quantityReturned
price
originalPrice
tax
stockVariants
lineType
variants {
...OrderItemVariantFragment
}
}
totals {
id
orderId
title
text
value
valueUnreturned
class
sortOrder
}
bankPayments {
id
orderId
invoicePaymentDate
invoicePaymentValueDate
amount
}
vivawalletPayments {
id
orderId
customerId
paymentMethod
notificationId
orderCode
transactionUuid
sessionId
}
}
}
Variables
{"limit": 987, "offset": 123, "customerId": 123}
Response
{
"data": {
"orders": [
{
"id": "4",
"customerId": 123,
"customerName": "abc123",
"customerEmail": "xyz789",
"customer": OrderParty,
"deliveryAddress": OrderParty,
"billingAddress": OrderParty,
"status": 987,
"datePurchased": "abc123",
"lastModified": "xyz789",
"currency": "xyz789",
"currencyValue": 987.65,
"paymentMethod": "abc123",
"shippingMethod": "abc123",
"shippingCost": 987.65,
"trackingCode": "xyz789",
"warehouseCode": "xyz789",
"discountCoupons": [DiscountCoupon],
"items": [OrderItem],
"totals": [OrderTotal],
"bankPayments": [BankPayment],
"vivawalletPayments": [OrderVivawalletPayment]
}
]
}
}
ordersHistory
Response
Returns [OrderHistoryEntry!]!
Example
Query
query ordersHistory(
$orderId: Int!,
$userId: Int,
$startDate: String,
$endDate: String,
$limit: Int,
$offset: Int
) {
ordersHistory(
orderId: $orderId,
userId: $userId,
startDate: $startDate,
endDate: $endDate,
limit: $limit,
offset: $offset
) {
id
orderId
entityType
entityId
columnName
oldValue
newValue
actionType
userId
userName
page
createdAt
}
}
Variables
{
"orderId": 123,
"userId": 123,
"startDate": "abc123",
"endDate": "xyz789",
"limit": 987,
"offset": 987
}
Response
{
"data": {
"ordersHistory": [
{
"id": 4,
"orderId": 987,
"entityType": "xyz789",
"entityId": 987,
"columnName": "xyz789",
"oldValue": "xyz789",
"newValue": "xyz789",
"actionType": "abc123",
"userId": 987,
"userName": "xyz789",
"page": "abc123",
"createdAt": "abc123"
}
]
}
}
ordersVivawallet
Response
Returns [OrderVivawalletPayment!]!
Example
Query
query ordersVivawallet(
$orderId: Int,
$transactionUuid: String,
$orderCode: String,
$limit: Int,
$offset: Int
) {
ordersVivawallet(
orderId: $orderId,
transactionUuid: $transactionUuid,
orderCode: $orderCode,
limit: $limit,
offset: $offset
) {
id
orderId
customerId
paymentMethod
notificationId
orderCode
transactionUuid
sessionId
}
}
Variables
{
"orderId": 987,
"transactionUuid": "abc123",
"orderCode": "abc123",
"limit": 987,
"offset": 987
}
Response
{
"data": {
"ordersVivawallet": [
{
"id": "4",
"orderId": 987,
"customerId": 987,
"paymentMethod": "abc123",
"notificationId": 987,
"orderCode": "xyz789",
"transactionUuid": "xyz789",
"sessionId": "xyz789"
}
]
}
}
product
Description
Fetch a single product by id, optionally localized via languageId.
Example
Query
query product(
$id: ID!,
$languageId: Int
) {
product(
id: $id,
languageId: $languageId
) {
id
name
model
image
price
description
shortDescription
material
}
}
Variables
{"id": "4", "languageId": 987}
Response
{
"data": {
"product": {
"id": 4,
"name": "abc123",
"model": "abc123",
"image": "xyz789",
"price": 123.45,
"description": "xyz789",
"shortDescription": "abc123",
"material": "xyz789"
}
}
}
productAttributes
Response
Returns [ProductOption]
Example
Query
query productAttributes(
$productId: ID!,
$languageId: Int
) {
productAttributes(
productId: $productId,
languageId: $languageId
) {
id
name
code
description
sort
values {
id
name
code
specification
weight
sort
hex
priceDelta
pricePrefix
apiId
}
}
}
Variables
{"productId": "4", "languageId": 987}
Response
{
"data": {
"productAttributes": [
{
"id": 4,
"name": "abc123",
"code": "xyz789",
"description": "xyz789",
"sort": 987,
"values": [ProductOptionValue]
}
]
}
}
productExtraImages
Response
Returns [ProductExtraImage]
Example
Query
query productExtraImages(
$productId: ID!,
$languageId: Int
) {
productExtraImages(
productId: $productId,
languageId: $languageId
) {
id
code
url
sort
optionId
description
}
}
Variables
{"productId": 4, "languageId": 987}
Response
{
"data": {
"productExtraImages": [
{
"id": "4",
"code": "xyz789",
"url": "abc123",
"sort": 987,
"optionId": 123,
"description": "xyz789"
}
]
}
}
productPriceHistory
Response
Returns [ProductPriceHistory]
Example
Query
query productPriceHistory(
$productId: ID!,
$stockId: ID,
$startDate: String,
$endDate: String,
$userName: String,
$limit: Int,
$offset: Int
) {
productPriceHistory(
productId: $productId,
stockId: $stockId,
startDate: $startDate,
endDate: $endDate,
userName: $userName,
limit: $limit,
offset: $offset
) {
id
productId
stockId
price
date
userName
}
}
Variables
{
"productId": 4,
"stockId": 4,
"startDate": "abc123",
"endDate": "xyz789",
"userName": "xyz789",
"limit": 123,
"offset": 987
}
Response
{
"data": {
"productPriceHistory": [
{
"id": 4,
"productId": "4",
"stockId": "4",
"price": 123.45,
"date": "abc123",
"userName": "abc123"
}
]
}
}
productStock
Response
Returns [ProductStock]
Example
Query
query productStock(
$productId: ID!,
$variant: String
) {
productStock(
productId: $productId,
variant: $variant
) {
id
productId
variant
quantity
price
priceOriginal
shelf
}
}
Variables
{"productId": 4, "variant": "abc123"}
Response
{
"data": {
"productStock": [
{
"id": 4,
"productId": 4,
"variant": "abc123",
"quantity": 987,
"price": 123.45,
"priceOriginal": 123.45,
"shelf": "xyz789"
}
]
}
}
productVolumeAddonPrices
Response
Returns [ProductVolumeAddonPriceTier]
Arguments
| Name | Description |
|---|---|
productId - ID!
|
Example
Query
query productVolumeAddonPrices($productId: ID!) {
productVolumeAddonPrices(productId: $productId) {
minimumQuantity
unitPrice
}
}
Variables
{"productId": 4}
Response
{
"data": {
"productVolumeAddonPrices": [{"minimumQuantity": 987, "unitPrice": 987.65}]
}
}
productVolumeDiscounts
Response
Returns [ProductVolumeDiscountTier]
Arguments
| Name | Description |
|---|---|
productId - ID!
|
Example
Query
query productVolumeDiscounts($productId: ID!) {
productVolumeDiscounts(productId: $productId) {
minimumQuantity
discountPercentage
customerGroupId
customerId
customerType
}
}
Variables
{"productId": "4"}
Response
{
"data": {
"productVolumeDiscounts": [
{
"minimumQuantity": 123,
"discountPercentage": 123.45,
"customerGroupId": "xyz789",
"customerId": 123,
"customerType": "xyz789"
}
]
}
}
products
Description
Paginated list of products in the catalog.
Example
Query
query products(
$limit: Int,
$offset: Int
) {
products(
limit: $limit,
offset: $offset
) {
id
name
model
image
price
description
shortDescription
material
}
}
Variables
{"limit": 123, "offset": 987}
Response
{
"data": {
"products": [
{
"id": 4,
"name": "abc123",
"model": "abc123",
"image": "xyz789",
"price": 987.65,
"description": "abc123",
"shortDescription": "abc123",
"material": "abc123"
}
]
}
}
productsMedia
Response
Returns [ProductMedia]
Example
Query
query productsMedia(
$productId: ID!,
$languageId: Int,
$includeCategory: Boolean
) {
productsMedia(
productId: $productId,
languageId: $languageId,
includeCategory: $includeCategory
) {
id
productId
categoryId
file
sortOrder
type
size
description
category {
id
code
sortOrder
name
}
}
}
Variables
{
"productId": "4",
"languageId": 123,
"includeCategory": true
}
Response
{
"data": {
"productsMedia": [
{
"id": 4,
"productId": "4",
"categoryId": 987,
"file": "xyz789",
"sortOrder": 123,
"type": "xyz789",
"size": "xyz789",
"description": "xyz789",
"category": ProductMediaCategory
}
]
}
}
productsToCategories
Response
Returns [ProductCategoryLink]
Example
Query
query productsToCategories(
$productId: ID,
$categoryId: ID,
$limit: Int,
$offset: Int
) {
productsToCategories(
productId: $productId,
categoryId: $categoryId,
limit: $limit,
offset: $offset
) {
productId
categoryId
product {
id
name
model
image
price
description
shortDescription
material
}
category {
id
code
image
banner
parentId
sortOrder
position
descriptions {
...CategoryDescriptionFragment
}
}
}
}
Variables
{
"productId": "4",
"categoryId": 4,
"limit": 123,
"offset": 123
}
Response
{
"data": {
"productsToCategories": [
{
"productId": 4,
"categoryId": 4,
"product": Product,
"category": Category
}
]
}
}
quote
Example
Query
query quote($id: ID!) {
quote(id: $id) {
id
customerId
sessionId
ipAddress
statusId
dateAdded
dateModified
dateReminder
dateFollowUp
sendReminder
sendFollowUp
discountType
discountAmount
comment
cc
shipmentMethod
shipmentCode
shipmentPrice
warehouseId
items {
id
quoteId
productId
variant
quantity
discountedPrice
productGroup
comment
customOptions
bundleId
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"quote": {
"id": "4",
"customerId": 987,
"sessionId": "xyz789",
"ipAddress": "xyz789",
"statusId": 123,
"dateAdded": "xyz789",
"dateModified": "abc123",
"dateReminder": "xyz789",
"dateFollowUp": "xyz789",
"sendReminder": "xyz789",
"sendFollowUp": "xyz789",
"discountType": "abc123",
"discountAmount": 987.65,
"comment": "xyz789",
"cc": "xyz789",
"shipmentMethod": "xyz789",
"shipmentCode": "xyz789",
"shipmentPrice": 987.65,
"warehouseId": 123,
"items": [QuoteProduct]
}
}
}
quoteFiles
Response
Returns [QuoteFile]
Arguments
| Name | Description |
|---|---|
quoteId - ID!
|
Example
Query
query quoteFiles($quoteId: ID!) {
quoteFiles(quoteId: $quoteId) {
id
quoteId
file
}
}
Variables
{"quoteId": 4}
Response
{
"data": {
"quoteFiles": [
{
"id": 4,
"quoteId": 123,
"file": "xyz789"
}
]
}
}
quoteGroups
Response
Returns [QuoteGroup!]!
Arguments
| Name | Description |
|---|---|
languageId - Int!
|
Example
Query
query quoteGroups($languageId: Int!) {
quoteGroups(languageId: $languageId) {
id
languageId
name
}
}
Variables
{"languageId": 123}
Response
{
"data": {
"quoteGroups": [
{
"id": "4",
"languageId": 123,
"name": "abc123"
}
]
}
}
quoteStatusHistory
Response
Returns [QuoteStatusEntry]
Arguments
| Name | Description |
|---|---|
quoteId - ID!
|
Example
Query
query quoteStatusHistory($quoteId: ID!) {
quoteStatusHistory(quoteId: $quoteId) {
id
quoteId
statusId
statusName
dateAdded
customerNotified
comments
}
}
Variables
{"quoteId": "4"}
Response
{
"data": {
"quoteStatusHistory": [
{
"id": 4,
"quoteId": 987,
"statusId": 123,
"statusName": "abc123",
"dateAdded": "abc123",
"customerNotified": 987,
"comments": "xyz789"
}
]
}
}
quoteStatuses
Response
Returns [QuoteStatus]
Arguments
| Name | Description |
|---|---|
languageId - Int!
|
Example
Query
query quoteStatuses($languageId: Int!) {
quoteStatuses(languageId: $languageId) {
id
languageId
name
code
}
}
Variables
{"languageId": 987}
Response
{
"data": {
"quoteStatuses": [
{
"id": "4",
"languageId": 123,
"name": "xyz789",
"code": "abc123"
}
]
}
}
quotesByCustomer
Example
Query
query quotesByCustomer(
$customerId: Int!,
$statusId: Int,
$limit: Int
) {
quotesByCustomer(
customerId: $customerId,
statusId: $statusId,
limit: $limit
) {
id
customerId
sessionId
ipAddress
statusId
dateAdded
dateModified
dateReminder
dateFollowUp
sendReminder
sendFollowUp
discountType
discountAmount
comment
cc
shipmentMethod
shipmentCode
shipmentPrice
warehouseId
items {
id
quoteId
productId
variant
quantity
discountedPrice
productGroup
comment
customOptions
bundleId
}
}
}
Variables
{"customerId": 123, "statusId": 123, "limit": 987}
Response
{
"data": {
"quotesByCustomer": [
{
"id": 4,
"customerId": 123,
"sessionId": "xyz789",
"ipAddress": "abc123",
"statusId": 123,
"dateAdded": "xyz789",
"dateModified": "abc123",
"dateReminder": "xyz789",
"dateFollowUp": "xyz789",
"sendReminder": "xyz789",
"sendFollowUp": "abc123",
"discountType": "abc123",
"discountAmount": 123.45,
"comment": "abc123",
"cc": "xyz789",
"shipmentMethod": "abc123",
"shipmentCode": "abc123",
"shipmentPrice": 987.65,
"warehouseId": 987,
"items": [QuoteProduct]
}
]
}
}
quotesBySession
Response
Returns [Quote!]!
Example
Query
query quotesBySession(
$sessionId: String!,
$statusId: Int,
$limit: Int
) {
quotesBySession(
sessionId: $sessionId,
statusId: $statusId,
limit: $limit
) {
id
customerId
sessionId
ipAddress
statusId
dateAdded
dateModified
dateReminder
dateFollowUp
sendReminder
sendFollowUp
discountType
discountAmount
comment
cc
shipmentMethod
shipmentCode
shipmentPrice
warehouseId
items {
id
quoteId
productId
variant
quantity
discountedPrice
productGroup
comment
customOptions
bundleId
}
}
}
Variables
{
"sessionId": "abc123",
"statusId": 123,
"limit": 987
}
Response
{
"data": {
"quotesBySession": [
{
"id": 4,
"customerId": 123,
"sessionId": "xyz789",
"ipAddress": "xyz789",
"statusId": 123,
"dateAdded": "xyz789",
"dateModified": "xyz789",
"dateReminder": "xyz789",
"dateFollowUp": "abc123",
"sendReminder": "xyz789",
"sendFollowUp": "abc123",
"discountType": "abc123",
"discountAmount": 123.45,
"comment": "abc123",
"cc": "xyz789",
"shipmentMethod": "abc123",
"shipmentCode": "xyz789",
"shipmentPrice": 987.65,
"warehouseId": 123,
"items": [QuoteProduct]
}
]
}
}
reviewSummaries
Description
Aggregate review counts and ratings across one or many products.
Response
Returns [ReviewSummary]
Example
Query
query reviewSummaries(
$productId: ID,
$limit: Int,
$offset: Int
) {
reviewSummaries(
productId: $productId,
limit: $limit,
offset: $offset
) {
productId
reviewsCount
ratingSummary
}
}
Variables
{
"productId": "4",
"limit": 987,
"offset": 123
}
Response
{
"data": {
"reviewSummaries": [
{
"productId": "4",
"reviewsCount": 987,
"ratingSummary": 987
}
]
}
}
reviews
Description
Paginated list of reviews, optionally filtered by product, status, or language.
Response
Returns [Review]
Example
Query
query reviews(
$productId: ID,
$statusId: Int,
$languageId: Int,
$limit: Int,
$offset: Int
) {
reviews(
productId: $productId,
statusId: $statusId,
languageId: $languageId,
limit: $limit,
offset: $offset
) {
id
productId
customerId
nickname
country
isRecommended
verifiedBuyer
count
statusId
statusCode
dates {
createdAt
orderDate
answerDate
}
details {
languageId
title
detail
answer
}
}
}
Variables
{
"productId": "4",
"statusId": 987,
"languageId": 987,
"limit": 123,
"offset": 123
}
Response
{
"data": {
"reviews": [
{
"id": 4,
"productId": 4,
"customerId": 123,
"nickname": "abc123",
"country": "abc123",
"isRecommended": false,
"verifiedBuyer": true,
"count": 123,
"statusId": 987,
"statusCode": "xyz789",
"dates": ReviewDates,
"details": [ReviewDetail]
}
]
}
}
serviceCategories
Response
Returns [ServiceCategory]
Example
Query
query serviceCategories(
$languageId: Int!,
$parentId: Int,
$displayFooter: Boolean
) {
serviceCategories(
languageId: $languageId,
parentId: $parentId,
displayFooter: $displayFooter
) {
id
parentId
sortOrder
displayFooter
svgIcon
descriptions {
languageId
name
url
html
}
children {
id
parentId
sortOrder
displayFooter
svgIcon
descriptions {
...ServiceCategoryDescriptionFragment
}
children {
...ServiceCategoryFragment
}
}
}
}
Variables
{"languageId": 123, "parentId": 987, "displayFooter": true}
Response
{
"data": {
"serviceCategories": [
{
"id": "4",
"parentId": 987,
"sortOrder": 123,
"displayFooter": 123,
"svgIcon": "abc123",
"descriptions": [ServiceCategoryDescription],
"children": [ServiceCategory]
}
]
}
}
services
Response
Returns [Service]
Example
Query
query services(
$languageId: Int!,
$categoryId: Int,
$displayFooter: Boolean
) {
services(
languageId: $languageId,
categoryId: $categoryId,
displayFooter: $displayFooter
) {
id
categoryId
image
sortOrder
displayFooter
googleFeed
css
externalJs
externalCss
svgIcon
descriptions {
languageId
name
url
html
metaTitle
metaDescription
}
category {
id
parentId
sortOrder
displayFooter
svgIcon
descriptions {
...ServiceCategoryDescriptionFragment
}
children {
...ServiceCategoryFragment
}
}
}
}
Variables
{"languageId": 123, "categoryId": 123, "displayFooter": false}
Response
{
"data": {
"services": [
{
"id": 4,
"categoryId": 123,
"image": "abc123",
"sortOrder": 123,
"displayFooter": 987,
"googleFeed": 123,
"css": "xyz789",
"externalJs": "xyz789",
"externalCss": "xyz789",
"svgIcon": "xyz789",
"descriptions": [ServiceDescription],
"category": ServiceCategory
}
]
}
}
warehouseStock
Response
Returns [WarehouseStock]
Example
Query
query warehouseStock(
$warehouseId: Int,
$productId: Int
) {
warehouseStock(
warehouseId: $warehouseId,
productId: $productId
) {
id
warehouseId
productId
quantity
}
}
Variables
{"warehouseId": 987, "productId": 987}
Response
{
"data": {
"warehouseStock": [
{"id": 4, "warehouseId": 123, "productId": 123, "quantity": 123}
]
}
}
warehouses
Response
Returns [Warehouse]
Example
Query
query warehouses(
$limit: Int,
$offset: Int
) {
warehouses(
limit: $limit,
offset: $offset
) {
id
name
code
phone
email
visible
stock {
id
warehouseId
productId
quantity
}
}
}
Variables
{"limit": 987, "offset": 987}
Response
{
"data": {
"warehouses": [
{
"id": "4",
"name": "xyz789",
"code": "xyz789",
"phone": "abc123",
"email": "abc123",
"visible": false,
"stock": [WarehouseStock]
}
]
}
}
Mutations
_empty
Response
Returns a String
Example
Query
mutation _empty {
_empty
}
Response
{"data": {"_empty": "abc123"}}
addOrdersProduct
Response
Returns an OrdersProduct!
Arguments
| Name | Description |
|---|---|
input - AddOrdersProductInput!
|
Example
Query
mutation addOrdersProduct($input: AddOrdersProductInput!) {
addOrdersProduct(input: $input) {
id
orderId
productId
productModel
productEan
productName
price
originalPrice
tax
quantity
quantityReturned
stockVariants
lineType
comment
customOptions
}
}
Variables
{"input": AddOrdersProductInput}
Response
{
"data": {
"addOrdersProduct": {
"id": "4",
"orderId": 987,
"productId": 123,
"productModel": "xyz789",
"productEan": "abc123",
"productName": "abc123",
"price": 987.65,
"originalPrice": 987.65,
"tax": 123.45,
"quantity": 987,
"quantityReturned": 123,
"stockVariants": "xyz789",
"lineType": "abc123",
"comment": "xyz789",
"customOptions": {}
}
}
}
addOrdersProductsVariant
Response
Returns an OrdersProductsVariant!
Arguments
| Name | Description |
|---|---|
input - AddOrdersProductsVariantInput!
|
Example
Query
mutation addOrdersProductsVariant($input: AddOrdersProductsVariantInput!) {
addOrdersProductsVariant(input: $input) {
id
orderId
orderProductId
optionId
optionName
optionValue
price
pricePrefix
}
}
Variables
{"input": AddOrdersProductsVariantInput}
Response
{
"data": {
"addOrdersProductsVariant": {
"id": 4,
"orderId": 123,
"orderProductId": 123,
"optionId": 123,
"optionName": "abc123",
"optionValue": "abc123",
"price": 987.65,
"pricePrefix": "xyz789"
}
}
}
addOrdersStatusHistory
Response
Returns an OrdersStatusHistoryEntry!
Arguments
| Name | Description |
|---|---|
input - OrdersStatusHistoryInput!
|
Example
Query
mutation addOrdersStatusHistory($input: OrdersStatusHistoryInput!) {
addOrdersStatusHistory(input: $input) {
id
orderId
statusId
dateAdded
customerNotified
comments
}
}
Variables
{"input": OrdersStatusHistoryInput}
Response
{
"data": {
"addOrdersStatusHistory": {
"id": "4",
"orderId": 123,
"statusId": 123,
"dateAdded": "abc123",
"customerNotified": 987,
"comments": "abc123"
}
}
}
addQuoteFile
Response
Returns a QuoteFile!
Example
Query
mutation addQuoteFile(
$quoteId: ID!,
$file: String!
) {
addQuoteFile(
quoteId: $quoteId,
file: $file
) {
id
quoteId
file
}
}
Variables
{
"quoteId": "4",
"file": "xyz789"
}
Response
{
"data": {
"addQuoteFile": {
"id": 4,
"quoteId": 987,
"file": "xyz789"
}
}
}
addQuoteStatusHistory
Response
Returns a QuoteStatusEntry
Arguments
| Name | Description |
|---|---|
input - AddQuoteStatusHistoryInput!
|
|
updateNotifications - QuoteNotificationFlagsInput
|
Example
Query
mutation addQuoteStatusHistory(
$input: AddQuoteStatusHistoryInput!,
$updateNotifications: QuoteNotificationFlagsInput
) {
addQuoteStatusHistory(
input: $input,
updateNotifications: $updateNotifications
) {
id
quoteId
statusId
statusName
dateAdded
customerNotified
comments
}
}
Variables
{
"input": AddQuoteStatusHistoryInput,
"updateNotifications": QuoteNotificationFlagsInput
}
Response
{
"data": {
"addQuoteStatusHistory": {
"id": "4",
"quoteId": 123,
"statusId": 123,
"statusName": "xyz789",
"dateAdded": "xyz789",
"customerNotified": 123,
"comments": "abc123"
}
}
}
attachDiscountCouponToCustomer
Response
Returns a DiscountCouponCustomerLink!
Arguments
| Name | Description |
|---|---|
input - DiscountCouponCustomerLinkInput!
|
Example
Query
mutation attachDiscountCouponToCustomer($input: DiscountCouponCustomerLinkInput!) {
attachDiscountCouponToCustomer(input: $input) {
couponCode
customerId
}
}
Variables
{"input": DiscountCouponCustomerLinkInput}
Response
{"data": {"attachDiscountCouponToCustomer": {"couponCode": 4, "customerId": 4}}}
createCustomer
Description
Create a registered customer account with a password. Email address must be unique across registered customers in the tenant. Returns the created Customer including its assigned id.
Response
Returns a Customer!
Arguments
| Name | Description |
|---|---|
input - CreateCustomerInput!
|
Example
Query
mutation createCustomer($input: CreateCustomerInput!) {
createCustomer(input: $input) {
id
gender
firstname
lastname
emailAddress
defaultAddressId
defaultDeliveryAddressId
telephone
newsletter
freeShipping
admin
type
group
approved
undeliveredOrders
blockPayments
blockShipments
temporaryCustomer
emailSent
apiId
apiBillingId
grantWhatsapp
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
info {
dateOfLastLogon
numberOfLogons
numberOfFailedLogins
dateOfLastLoginFail
dateAccountCreated
dateAccountLastModified
sourceId
globalProductNotifications
}
addresses {
id
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
billingStreetAddress
billingFirstname
billingLastname
billingPostcode
billingCity
billingCountryId
billingCompany
billingVatid
billingZoneId
billingState
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
}
}
}
Variables
{"input": CreateCustomerInput}
Response
{
"data": {
"createCustomer": {
"id": 4,
"gender": "abc123",
"firstname": "abc123",
"lastname": "xyz789",
"emailAddress": "xyz789",
"defaultAddressId": 987,
"defaultDeliveryAddressId": 123,
"telephone": "abc123",
"newsletter": false,
"freeShipping": 123.45,
"admin": 123,
"type": 987,
"group": "xyz789",
"approved": false,
"undeliveredOrders": 123,
"blockPayments": "xyz789",
"blockShipments": "abc123",
"temporaryCustomer": false,
"emailSent": false,
"apiId": "xyz789",
"apiBillingId": 987,
"grantWhatsapp": false,
"billingOperatorId": 123,
"billingInvoiceAddress": "abc123",
"billingReference": "xyz789",
"billingReferenceRequired": false,
"info": CustomerInfo,
"addresses": [Address]
}
}
}
createFavorite
Response
Returns a CustomerFavorite
Arguments
| Name | Description |
|---|---|
input - AddCustomerFavoriteInput!
|
Example
Query
mutation createFavorite($input: AddCustomerFavoriteInput!) {
createFavorite(input: $input) {
id
customersId
productsId
}
}
Variables
{"input": AddCustomerFavoriteInput}
Response
{"data": {"createFavorite": {"id": 4, "customersId": 123, "productsId": 123}}}
createGuestCustomer
Description
Create a guest customer for one-time checkout, without a password. Guest customers may share email addresses with each other and with registered customers. Returns the created Customer including its assigned id.
Response
Returns a Customer!
Arguments
| Name | Description |
|---|---|
input - CreateGuestCustomerInput!
|
Example
Query
mutation createGuestCustomer($input: CreateGuestCustomerInput!) {
createGuestCustomer(input: $input) {
id
gender
firstname
lastname
emailAddress
defaultAddressId
defaultDeliveryAddressId
telephone
newsletter
freeShipping
admin
type
group
approved
undeliveredOrders
blockPayments
blockShipments
temporaryCustomer
emailSent
apiId
apiBillingId
grantWhatsapp
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
info {
dateOfLastLogon
numberOfLogons
numberOfFailedLogins
dateOfLastLoginFail
dateAccountCreated
dateAccountLastModified
sourceId
globalProductNotifications
}
addresses {
id
gender
company
firstname
lastname
streetAddress
vatid
postcode
city
state
countryId
zoneId
comments
billingStreetAddress
billingFirstname
billingLastname
billingPostcode
billingCity
billingCountryId
billingCompany
billingVatid
billingZoneId
billingState
billingOperatorId
billingInvoiceAddress
billingReference
billingReferenceRequired
}
}
}
Variables
{"input": CreateGuestCustomerInput}
Response
{
"data": {
"createGuestCustomer": {
"id": 4,
"gender": "abc123",
"firstname": "xyz789",
"lastname": "xyz789",
"emailAddress": "abc123",
"defaultAddressId": 123,
"defaultDeliveryAddressId": 987,
"telephone": "xyz789",
"newsletter": false,
"freeShipping": 123.45,
"admin": 123,
"type": 123,
"group": "xyz789",
"approved": false,
"undeliveredOrders": 123,
"blockPayments": "abc123",
"blockShipments": "xyz789",
"temporaryCustomer": true,
"emailSent": true,
"apiId": "xyz789",
"apiBillingId": 987,
"grantWhatsapp": true,
"billingOperatorId": 123,
"billingInvoiceAddress": "xyz789",
"billingReference": "abc123",
"billingReferenceRequired": true,
"info": CustomerInfo,
"addresses": [Address]
}
}
}
createOrder
Description
Create an order with line items, addresses, and an optional payment intent. The status defaults to 1 (created) unless an explicit status id is supplied.
Response
Returns an Order!
Arguments
| Name | Description |
|---|---|
input - CreateOrderInput!
|
Example
Query
mutation createOrder($input: CreateOrderInput!) {
createOrder(input: $input) {
id
customerId
customerName
customerEmail
customer {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
deliveryAddress {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
billingAddress {
name
company
vatId
streetAddress
city
postcode
state
country
telephone
emailAddress
addressFormatId
invoiceAddress
operatorId
reference
}
status
datePurchased
lastModified
currency
currencyValue
paymentMethod
shippingMethod
shippingCost
trackingCode
warehouseCode
discountCoupons {
id
description
amount
discountType
dateStart
dateEnd
maxUse
minOrder
minOrderType
numberAvailable
customerType
discountedProducts
discountedProductsOld
allowedProducts
categories
products
customers
orders
manufacturers
shippingMethods
zones
}
items {
id
orderId
productId
productModel
productEan
productName
quantity
quantityReturned
price
originalPrice
tax
stockVariants
lineType
variants {
...OrderItemVariantFragment
}
}
totals {
id
orderId
title
text
value
valueUnreturned
class
sortOrder
}
bankPayments {
id
orderId
invoicePaymentDate
invoicePaymentValueDate
amount
}
vivawalletPayments {
id
orderId
customerId
paymentMethod
notificationId
orderCode
transactionUuid
sessionId
}
}
}
Variables
{"input": CreateOrderInput}
Response
{
"data": {
"createOrder": {
"id": "4",
"customerId": 987,
"customerName": "xyz789",
"customerEmail": "xyz789",
"customer": OrderParty,
"deliveryAddress": OrderParty,
"billingAddress": OrderParty,
"status": 123,
"datePurchased": "abc123",
"lastModified": "xyz789",
"currency": "xyz789",
"currencyValue": 987.65,
"paymentMethod": "abc123",
"shippingMethod": "xyz789",
"shippingCost": 123.45,
"trackingCode": "abc123",
"warehouseCode": "abc123",
"discountCoupons": [DiscountCoupon],
"items": [OrderItem],
"totals": [OrderTotal],
"bankPayments": [BankPayment],
"vivawalletPayments": [OrderVivawalletPayment]
}
}
}
createProductCustomOption
Response
Returns a ProductCustomOption
Arguments
| Name | Description |
|---|---|
input - CreateProductCustomOptionInput!
|
Example
Query
mutation createProductCustomOption($input: CreateProductCustomOptionInput!) {
createProductCustomOption(input: $input) {
id
productId
productsOptionsId
required
position
type
}
}
Variables
{"input": CreateProductCustomOptionInput}
Response
{
"data": {
"createProductCustomOption": {
"id": "4",
"productId": 123,
"productsOptionsId": 123,
"required": false,
"position": 123,
"type": "abc123"
}
}
}
createQuote
Description
Create a quote (B2B request-for-pricing) with one or more line items.
Response
Returns a Quote!
Arguments
| Name | Description |
|---|---|
input - CreateQuoteInput!
|
Example
Query
mutation createQuote($input: CreateQuoteInput!) {
createQuote(input: $input) {
id
customerId
sessionId
ipAddress
statusId
dateAdded
dateModified
dateReminder
dateFollowUp
sendReminder
sendFollowUp
discountType
discountAmount
comment
cc
shipmentMethod
shipmentCode
shipmentPrice
warehouseId
items {
id
quoteId
productId
variant
quantity
discountedPrice
productGroup
comment
customOptions
bundleId
}
}
}
Variables
{"input": CreateQuoteInput}
Response
{
"data": {
"createQuote": {
"id": "4",
"customerId": 123,
"sessionId": "abc123",
"ipAddress": "xyz789",
"statusId": 123,
"dateAdded": "xyz789",
"dateModified": "xyz789",
"dateReminder": "xyz789",
"dateFollowUp": "xyz789",
"sendReminder": "abc123",
"sendFollowUp": "abc123",
"discountType": "xyz789",
"discountAmount": 123.45,
"comment": "abc123",
"cc": "xyz789",
"shipmentMethod": "abc123",
"shipmentCode": "abc123",
"shipmentPrice": 987.65,
"warehouseId": 987,
"items": [QuoteProduct]
}
}
}
deleteFavorite
Response
Returns a Boolean
Arguments
| Name | Description |
|---|---|
input - RemoveCustomerFavoriteInput!
|
Example
Query
mutation deleteFavorite($input: RemoveCustomerFavoriteInput!) {
deleteFavorite(input: $input)
}
Variables
{"input": RemoveCustomerFavoriteInput}
Response
{"data": {"deleteFavorite": true}}
grantCustomerProductAccess
Response
Returns a CustomerProductInclusion!
Arguments
| Name | Description |
|---|---|
input - CustomerProductInclusionInput!
|
Example
Query
mutation grantCustomerProductAccess($input: CustomerProductInclusionInput!) {
grantCustomerProductAccess(input: $input) {
id
customerId
productId
}
}
Variables
{"input": CustomerProductInclusionInput}
Response
{
"data": {
"grantCustomerProductAccess": {
"id": "4",
"customerId": 987,
"productId": 987
}
}
}
removeDiscountCouponFromCustomer
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
input - DiscountCouponCustomerLinkInput!
|
Example
Query
mutation removeDiscountCouponFromCustomer($input: DiscountCouponCustomerLinkInput!) {
removeDiscountCouponFromCustomer(input: $input)
}
Variables
{"input": DiscountCouponCustomerLinkInput}
Response
{"data": {"removeDiscountCouponFromCustomer": true}}
removeOrdersProduct
removeOrdersProductsVariant
removeProductCustomOption
revokeCustomerProductAccess
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
input - CustomerProductInclusionInput!
|
Example
Query
mutation revokeCustomerProductAccess($input: CustomerProductInclusionInput!) {
revokeCustomerProductAccess(input: $input)
}
Variables
{"input": CustomerProductInclusionInput}
Response
{"data": {"revokeCustomerProductAccess": true}}
updateOrdersProduct
Response
Returns an OrdersProduct!
Arguments
| Name | Description |
|---|---|
id - ID!
|
|
input - UpdateOrdersProductInput!
|
Example
Query
mutation updateOrdersProduct(
$id: ID!,
$input: UpdateOrdersProductInput!
) {
updateOrdersProduct(
id: $id,
input: $input
) {
id
orderId
productId
productModel
productEan
productName
price
originalPrice
tax
quantity
quantityReturned
stockVariants
lineType
comment
customOptions
}
}
Variables
{
"id": "4",
"input": UpdateOrdersProductInput
}
Response
{
"data": {
"updateOrdersProduct": {
"id": 4,
"orderId": 987,
"productId": 987,
"productModel": "xyz789",
"productEan": "abc123",
"productName": "xyz789",
"price": 987.65,
"originalPrice": 987.65,
"tax": 987.65,
"quantity": 123,
"quantityReturned": 987,
"stockVariants": "abc123",
"lineType": "abc123",
"comment": "xyz789",
"customOptions": {}
}
}
}
updateOrdersProductsVariant
Response
Returns an OrdersProductsVariant!
Arguments
| Name | Description |
|---|---|
id - ID!
|
|
input - UpdateOrdersProductsVariantInput!
|
Example
Query
mutation updateOrdersProductsVariant(
$id: ID!,
$input: UpdateOrdersProductsVariantInput!
) {
updateOrdersProductsVariant(
id: $id,
input: $input
) {
id
orderId
orderProductId
optionId
optionName
optionValue
price
pricePrefix
}
}
Variables
{
"id": "4",
"input": UpdateOrdersProductsVariantInput
}
Response
{
"data": {
"updateOrdersProductsVariant": {
"id": 4,
"orderId": 123,
"orderProductId": 987,
"optionId": 987,
"optionName": "xyz789",
"optionValue": "abc123",
"price": 123.45,
"pricePrefix": "abc123"
}
}
}
updateProductCustomOption
Response
Returns a ProductCustomOption
Arguments
| Name | Description |
|---|---|
id - ID!
|
|
input - UpdateProductCustomOptionInput!
|
Example
Query
mutation updateProductCustomOption(
$id: ID!,
$input: UpdateProductCustomOptionInput!
) {
updateProductCustomOption(
id: $id,
input: $input
) {
id
productId
productsOptionsId
required
position
type
}
}
Variables
{
"id": "4",
"input": UpdateProductCustomOptionInput
}
Response
{
"data": {
"updateProductCustomOption": {
"id": "4",
"productId": 987,
"productsOptionsId": 123,
"required": false,
"position": 987,
"type": "xyz789"
}
}
}
upsertOrdersNetsNotification
Response
Returns an OrderNetsNotification
Arguments
| Name | Description |
|---|---|
input - OrdersNetsNotificationInput!
|
Example
Query
mutation upsertOrdersNetsNotification($input: OrdersNetsNotificationInput!) {
upsertOrdersNetsNotification(input: $input) {
ordersPaytrailId
customersId
notificationId
sessionId
transactionId
stamp
amount
error
}
}
Variables
{"input": OrdersNetsNotificationInput}
Response
{
"data": {
"upsertOrdersNetsNotification": {
"ordersPaytrailId": 123,
"customersId": 123,
"notificationId": 987,
"sessionId": "xyz789",
"transactionId": "xyz789",
"stamp": "xyz789",
"amount": 123.45,
"error": "xyz789"
}
}
}
Types
ActionRecorderEntry
Example
{
"id": 4,
"module": "abc123",
"userId": 123,
"userName": "xyz789",
"identifier": "abc123",
"userAgent": "xyz789",
"success": true,
"dateAdded": "xyz789"
}
ActionRecorderPage
Fields
| Field Name | Description |
|---|---|
total - Int!
|
|
entries - [ActionRecorderEntry!]!
|
Example
{"total": 987, "entries": [ActionRecorderEntry]}
AddCustomerFavoriteInput
AddOrdersProductInput
Example
{
"orderId": 4,
"productId": 123,
"productModel": "abc123",
"productEan": "abc123",
"productName": "xyz789",
"price": 987.65,
"originalPrice": 987.65,
"tax": 987.65,
"quantity": 123,
"stockVariants": "abc123",
"lineType": "xyz789",
"comment": "abc123",
"customOptions": {}
}
AddOrdersProductsVariantInput
Example
{
"orderId": 4,
"orderProductId": 4,
"optionId": 123,
"optionName": "xyz789",
"optionValue": "abc123",
"price": 123.45,
"pricePrefix": "xyz789"
}
AddQuoteStatusHistoryInput
Address
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique primary key for the Customer row. |
gender - String
|
|
company - String
|
|
firstname - String!
|
|
lastname - String!
|
|
streetAddress - String!
|
|
vatid - String
|
|
postcode - String!
|
|
city - String!
|
|
state - String
|
|
countryId - Int
|
|
zoneId - Int
|
|
comments - String
|
|
billingStreetAddress - String
|
|
billingFirstname - String
|
|
billingLastname - String
|
|
billingPostcode - String
|
|
billingCity - String
|
|
billingCountryId - String
|
|
billingCompany - String
|
|
billingVatid - String
|
|
billingZoneId - String
|
|
billingState - String
|
|
billingOperatorId - Int
|
|
billingInvoiceAddress - String
|
|
billingReference - String
|
|
billingReferenceRequired - Boolean
|
Example
{
"id": "4",
"gender": "abc123",
"company": "xyz789",
"firstname": "abc123",
"lastname": "xyz789",
"streetAddress": "abc123",
"vatid": "abc123",
"postcode": "xyz789",
"city": "abc123",
"state": "abc123",
"countryId": 987,
"zoneId": 987,
"comments": "xyz789",
"billingStreetAddress": "abc123",
"billingFirstname": "xyz789",
"billingLastname": "xyz789",
"billingPostcode": "xyz789",
"billingCity": "abc123",
"billingCountryId": "xyz789",
"billingCompany": "xyz789",
"billingVatid": "xyz789",
"billingZoneId": "xyz789",
"billingState": "xyz789",
"billingOperatorId": 987,
"billingInvoiceAddress": "abc123",
"billingReference": "abc123",
"billingReferenceRequired": false
}
AddressBook
Description
An address book entry belonging to a customer.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
customerId - Int!
|
|
gender - String
|
|
company - String
|
|
firstname - String!
|
|
lastname - String!
|
|
streetAddress - String!
|
|
vatid - String
|
|
postcode - String!
|
|
city - String!
|
|
state - String
|
|
countryId - Int!
|
|
zoneId - Int!
|
|
comments - String
|
|
billingStreetAddress - String
|
|
billingFirstname - String
|
|
billingLastname - String
|
|
billingPostcode - String
|
|
billingCity - String
|
|
billingCountryId - String
|
|
billingCompany - String
|
|
billingVatid - String
|
|
billingZoneId - String
|
|
billingState - String
|
|
billingOperatorId - Int
|
|
billingInvoiceAddress - String
|
|
billingReference - String
|
|
billingReferenceRequired - Boolean
|
Example
{
"id": "4",
"customerId": 123,
"gender": "xyz789",
"company": "abc123",
"firstname": "xyz789",
"lastname": "xyz789",
"streetAddress": "abc123",
"vatid": "abc123",
"postcode": "xyz789",
"city": "abc123",
"state": "xyz789",
"countryId": 123,
"zoneId": 987,
"comments": "abc123",
"billingStreetAddress": "xyz789",
"billingFirstname": "abc123",
"billingLastname": "abc123",
"billingPostcode": "abc123",
"billingCity": "xyz789",
"billingCountryId": "xyz789",
"billingCompany": "abc123",
"billingVatid": "xyz789",
"billingZoneId": "xyz789",
"billingState": "abc123",
"billingOperatorId": 987,
"billingInvoiceAddress": "xyz789",
"billingReference": "xyz789",
"billingReferenceRequired": true
}
AddressFormat
AdminNotification
AdminTrackingCreate
Administrator
Example
{
"id": "4",
"userName": "xyz789",
"email": "abc123",
"twoFactor": false,
"superadmin": true,
"writePermission": false,
"grantAccess": "abc123"
}
ApiProcessJob
Description
A job queued for an outbound third-party API call (e.g. ERP/PIM/marketplace synchronization).
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
jobId - String
|
|
api - String!
|
Identifier of the target third-party API the job will call. |
endpoint - String!
|
API endpoint or path the job will invoke. |
method - String
|
|
data - JSON!
|
|
createdAt - String!
|
|
error - String
|
Error text from the most recent attempt; null while the job has not failed. |
status - String!
|
Computed status derived from the error column:
|
Example
{
"id": "4",
"jobId": "abc123",
"api": "abc123",
"endpoint": "xyz789",
"method": "abc123",
"data": {},
"createdAt": "abc123",
"error": "abc123",
"status": "abc123"
}
Availability
Description
A stock-availability label shown on product detail and listing pages (e.g. "In Stock", "Out of Stock", custom delivery-window phrases).
Each tenant defines its own set of labels. Ids 1 and 2 are conventionally reserved for "In Stock" and "Out of Stock"; ids 3+ are tenant-defined delivery-window variants ("usually ships in 1–3 days", "special order", etc.).
Returned in one row per (id, languageId) pair so storefronts can pick the shopper's language at render time.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Stable numeric id of the availability label across all languages. |
languageId - Int!
|
Language identifier matching the languages query. Common values:
Tenants may add or remove languages — resolve dynamically via the languages query rather than hardcoding ids. |
name - String!
|
Localized label shown to shoppers in the chosen language. |
hexCode - String
|
Hex color (without leading #) used to tint the label in storefront UI. Common conventions:
May be null for legacy labels that pre-date the colored-badge UI. |
Example
{
"id": "4",
"languageId": 987,
"name": "xyz789",
"hexCode": "xyz789"
}
BankPayment
Banner
Example
{
"id": "4",
"title": "abc123",
"url": "xyz789",
"group": "xyz789",
"status": 123,
"image": "xyz789",
"history": BannerHistory,
"historyByDate": [BannerHistoryEntry]
}
BannerHistory
BannerHistoryEntry
BillingAddress
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
customerId - Int!
|
|
company - String
|
|
firstname - String
|
|
lastname - String
|
|
streetAddress - String
|
|
postcode - String
|
|
city - String
|
|
state - String
|
|
countryId - String
|
|
zoneId - String
|
|
vatid - String
|
|
operatorId - Int
|
|
invoiceAddress - String
|
|
reference - String
|
|
referenceRequired - Boolean!
|
Example
{
"id": "4",
"customerId": 123,
"company": "xyz789",
"firstname": "xyz789",
"lastname": "abc123",
"streetAddress": "abc123",
"postcode": "abc123",
"city": "abc123",
"state": "xyz789",
"countryId": "abc123",
"zoneId": "abc123",
"vatid": "xyz789",
"operatorId": 123,
"invoiceAddress": "abc123",
"reference": "xyz789",
"referenceRequired": false
}
Boolean
Description
The Boolean scalar type represents true or false.
BrowseHistory
Example
{
"id": 4,
"customerId": 123,
"sessionKey": "xyz789",
"loadTimeMsec": 123,
"categoryId": 987,
"productId": 123,
"manufacturerId": 123,
"color": 123,
"size": 123,
"geoipCountry": "abc123",
"ipAddress": "xyz789",
"date": "abc123",
"timestamp": 987,
"topPicks": false,
"keywords": "abc123"
}
Category
Description
A node in the product category tree. Categories are nested via parentId (a value of 0 indicates a top-level category). Localized titles, URLs, and descriptions are returned through the descriptions field.
Example
{
"id": 4,
"code": "abc123",
"image": "abc123",
"banner": "abc123",
"parentId": 987,
"sortOrder": 987,
"position": 123,
"descriptions": [CategoryDescription]
}
CategoryDescription
Fields
| Field Name | Description |
|---|---|
languageId - Int!
|
|
name - String
|
|
url - String
|
|
path - String
|
|
pathOld - String
|
|
description - String
|
|
descriptionTop - String
|
|
metaTitle - String
|
|
metaDescription - String
|
|
featureTitle - String
|
|
typeTitle - String
|
|
bannerText - String
|
|
bannerButton - String
|
|
bannerUrl - String
|
|
redirectStatus - Int
|
Example
{
"languageId": 987,
"name": "abc123",
"url": "xyz789",
"path": "xyz789",
"pathOld": "abc123",
"description": "xyz789",
"descriptionTop": "abc123",
"metaTitle": "abc123",
"metaDescription": "xyz789",
"featureTitle": "abc123",
"typeTitle": "xyz789",
"bannerText": "abc123",
"bannerButton": "abc123",
"bannerUrl": "abc123",
"redirectStatus": 123
}
Configuration
Example
{
"id": "4",
"title": "abc123",
"key": "abc123",
"value": "xyz789",
"description": "abc123",
"groupId": 123,
"sortOrder": 123,
"lastModified": "abc123",
"dateAdded": "abc123",
"useFunction": "abc123",
"setFunction": "xyz789",
"group": ConfigurationGroup
}
ConfigurationGroup
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
title - String
|
|
description - String
|
|
sortOrder - Int
|
|
configurations - [Configuration]
|
Example
{
"id": "4",
"title": "xyz789",
"description": "xyz789",
"sortOrder": 123,
"configurations": [Configuration]
}
Country
Description
A country supported for shipping or billing addresses.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
iso2 - String!
|
Two-letter ISO 3166-1 alpha-2 country code (e.g. 'FI', 'US'). |
iso3 - String!
|
Three-letter ISO 3166-1 alpha-3 country code (e.g. 'FIN', 'USA'). |
dutyRate - Float
|
Default customs duty rate applied to imports from this country, as a percentage. |
dutyLimit - Float
|
Order value below which no duty applies, in the tenant's default currency. |
addressFormatId - Int
|
|
defaultCurrencyId - Int
|
Example
{
"id": "4",
"name": "xyz789",
"iso2": "abc123",
"iso3": "abc123",
"dutyRate": 123.45,
"dutyLimit": 987.65,
"addressFormatId": 123,
"defaultCurrencyId": 123
}
CreateCustomerInput
Fields
| Input Field | Description |
|---|---|
gender - String
|
|
firstname - String
|
|
lastname - String
|
|
emailAddress - String!
|
|
password - String!
|
|
telephone - String
|
|
newsletter - Boolean
|
|
company - String
|
|
streetAddress - String
|
|
vatid - String
|
|
postcode - String
|
|
city - String
|
|
state - String
|
|
countryId - Int
|
|
zoneId - Int
|
|
comments - String
|
Example
{
"gender": "xyz789",
"firstname": "xyz789",
"lastname": "abc123",
"emailAddress": "abc123",
"password": "xyz789",
"telephone": "xyz789",
"newsletter": false,
"company": "abc123",
"streetAddress": "abc123",
"vatid": "xyz789",
"postcode": "abc123",
"city": "abc123",
"state": "abc123",
"countryId": 123,
"zoneId": 987,
"comments": "abc123"
}
CreateGuestCustomerInput
Example
{
"gender": "abc123",
"firstname": "xyz789",
"lastname": "xyz789",
"emailAddress": "xyz789",
"telephone": "xyz789",
"newsletter": false,
"company": "xyz789",
"streetAddress": "xyz789",
"vatid": "abc123",
"postcode": "xyz789",
"city": "xyz789",
"state": "abc123",
"countryId": 123,
"zoneId": 123,
"comments": "xyz789"
}
CreateOrderInput
Fields
| Input Field | Description |
|---|---|
customerId - Int!
|
|
deliveryAddressId - Int
|
|
billingAddressId - Int
|
|
customer - OrderPartyInput
|
|
deliveryAddress - OrderPartyInput
|
|
billingAddress - OrderPartyInput
|
|
status - Int
|
|
statusComment - String
|
|
currency - String
|
|
currencyValue - Float
|
|
paymentMethod - String
|
|
paymentApiId - String
|
|
paymentField - String
|
|
paymentInput - JSON
|
|
shippingMethod - String
|
|
shippingApiId - String
|
|
shippingCode - String
|
|
shippingCost - Float
|
|
warehouseCode - String
|
|
items - [CreateOrderItemInput!]
|
Example
{
"customerId": 123,
"deliveryAddressId": 987,
"billingAddressId": 123,
"customer": OrderPartyInput,
"deliveryAddress": OrderPartyInput,
"billingAddress": OrderPartyInput,
"status": 987,
"statusComment": "xyz789",
"currency": "xyz789",
"currencyValue": 123.45,
"paymentMethod": "abc123",
"paymentApiId": "xyz789",
"paymentField": "xyz789",
"paymentInput": {},
"shippingMethod": "abc123",
"shippingApiId": "abc123",
"shippingCode": "xyz789",
"shippingCost": 987.65,
"warehouseCode": "abc123",
"items": [CreateOrderItemInput]
}
CreateOrderItemInput
Fields
| Input Field | Description |
|---|---|
productId - Int
|
|
sku - String
|
|
productModel - String
|
|
productEan - String
|
|
productName - String!
|
|
price - Float!
|
|
originalPrice - Float
|
|
tax - Float
|
|
quantity - Int!
|
|
stockVariants - String
|
|
lineType - String
|
|
comment - String
|
|
customOptions - JSON
|
|
variants - [CreateOrderItemVariantInput!]
|
Example
{
"productId": 123,
"sku": "abc123",
"productModel": "abc123",
"productEan": "abc123",
"productName": "abc123",
"price": 987.65,
"originalPrice": 987.65,
"tax": 987.65,
"quantity": 123,
"stockVariants": "xyz789",
"lineType": "xyz789",
"comment": "abc123",
"customOptions": {},
"variants": [CreateOrderItemVariantInput]
}
CreateOrderItemVariantInput
CreateProductCustomOptionInput
CreateQuoteInput
Example
{
"customerId": 987,
"sessionId": "abc123",
"ipAddress": "xyz789",
"statusId": 987,
"shipmentMethod": "abc123",
"shipmentCode": "xyz789",
"shipmentPrice": 987.65,
"warehouseId": 123,
"items": [QuoteProductInput]
}
Currency
Description
A currency available to the storefront for display and order placement.
Example
{
"id": 4,
"title": "abc123",
"code": "xyz789",
"symbolLeft": "xyz789",
"symbolRight": "xyz789",
"value": 123.45,
"lastUpdated": "xyz789"
}
Customer
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
gender - String
|
|
firstname - String
|
|
lastname - String
|
|
emailAddress - String
|
Email address has to be unique for registered customers. Temporary customers can have the same email address. |
defaultAddressId - Int
|
Default address book record for the customer. |
defaultDeliveryAddressId - Int
|
Default delivery address book record for the customer. |
telephone - String
|
Telephone number of the customer. |
newsletter - Boolean
|
Newsletter subscription status. |
freeShipping - Float
|
Free shipping status. |
admin - Int
|
Does the account have admin privileges. |
type - Int
|
Customer category:
|
group - String
|
JSON-encoded array of customer group ids the customer belongs to. Empty array when the customer is in no groups. Group definitions live in the customer_groups table; resolve human-readable names via the customerGroups query. Each group carries its own discount type (fixed / percent / shipping) and pricing strategy. |
approved - Boolean
|
True once the customer has confirmed their email and the account is enabled for purchasing. |
undeliveredOrders - Int
|
|
blockPayments - String
|
|
blockShipments - String
|
|
temporaryCustomer - Boolean
|
|
emailSent - Boolean
|
|
apiId - String
|
|
apiBillingId - Int
|
|
grantWhatsapp - Boolean
|
Permission to send WhatsApp notifications. |
billingOperatorId - Int
|
|
billingInvoiceAddress - String
|
|
billingReference - String
|
|
billingReferenceRequired - Boolean
|
|
info - CustomerInfo
|
|
addresses - [Address]
|
Example
{
"id": "4",
"gender": "abc123",
"firstname": "xyz789",
"lastname": "xyz789",
"emailAddress": "abc123",
"defaultAddressId": 123,
"defaultDeliveryAddressId": 987,
"telephone": "xyz789",
"newsletter": true,
"freeShipping": 987.65,
"admin": 123,
"type": 123,
"group": "xyz789",
"approved": false,
"undeliveredOrders": 123,
"blockPayments": "xyz789",
"blockShipments": "abc123",
"temporaryCustomer": false,
"emailSent": false,
"apiId": "xyz789",
"apiBillingId": 987,
"grantWhatsapp": true,
"billingOperatorId": 987,
"billingInvoiceAddress": "abc123",
"billingReference": "abc123",
"billingReferenceRequired": false,
"info": CustomerInfo,
"addresses": [Address]
}
CustomerBlacklistEntry
CustomerFavorite
CustomerGroup
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
description - String
|
|
discountAmount - Float
|
|
discountType - String
|
|
dateStart - String
|
|
dateEnd - String
|
|
minOrder - Float
|
|
minOrderType - String
|
|
customerType - String
|
|
discountedProducts - Int
|
|
groupsType - String
|
|
dynamicDiscounts - [CustomerGroupDynamicDiscount]
|
|
priceList - [CustomerGroupPriceRule]
|
Example
{
"id": 4,
"description": "xyz789",
"discountAmount": 987.65,
"discountType": "abc123",
"dateStart": "abc123",
"dateEnd": "xyz789",
"minOrder": 987.65,
"minOrderType": "abc123",
"customerType": "xyz789",
"discountedProducts": 123,
"groupsType": "xyz789",
"dynamicDiscounts": [CustomerGroupDynamicDiscount],
"priceList": [CustomerGroupPriceRule]
}
CustomerGroupDynamicDiscount
Example
{
"id": 4,
"groupId": "abc123",
"amount": 987.65,
"dateStart": "xyz789",
"dateEnd": "abc123",
"manufacturer": "abc123",
"category": "abc123",
"sort": 987
}
CustomerGroupPriceRule
Example
{
"id": 4,
"groupId": "abc123",
"productId": 987,
"productStockId": 123,
"price": 987.65,
"validFrom": "xyz789",
"validTo": "xyz789",
"customerGroup": CustomerGroup,
"product": Product
}
CustomerHistoryEntry
Example
{
"id": "4",
"customerId": 987,
"addressBookId": 123,
"userId": 987,
"userName": "xyz789",
"sourceTable": "abc123",
"fieldName": "abc123",
"oldValue": "abc123",
"newValue": "abc123",
"page": "xyz789",
"dateAdded": "xyz789"
}
CustomerInfo
Example
{
"dateOfLastLogon": "abc123",
"numberOfLogons": 123,
"numberOfFailedLogins": 987,
"dateOfLastLoginFail": "abc123",
"dateAccountCreated": "abc123",
"dateAccountLastModified": "xyz789",
"sourceId": 987,
"globalProductNotifications": 123
}
CustomerPrice
CustomerProductInclusion
CustomerProductInclusionInput
CustomersApiCustomer
Fields
| Field Name | Description |
|---|---|
asiakaskoodi - String!
|
|
name - String
|
|
secondaryName - String
|
|
addressLine1 - String
|
|
addressLine2 - String
|
|
addressLine3 - String
|
|
deliveryName1 - String
|
|
deliveryName2 - String
|
|
deliveryName3 - String
|
|
billingCustomerId - Int
|
|
paymentTerm - String
|
|
customerGroup - String
|
|
chain - String
|
|
salesCode - String
|
|
creditLimit - String
|
|
deliveryBlock - String
|
|
email - String
|
|
website - String
|
|
phone - String
|
|
fax - String
|
|
deliveryMethod - String
|
|
discountGroup - String
|
|
discountPercent - Float
|
|
secondaryDiscountPercent - Float
|
|
languageCode - String
|
|
comment1 - String
|
|
comment2 - String
|
|
contactPerson - String
|
|
contactPersonId - Int
|
|
lastLoginAt - String
|
|
vatLiability - String
|
|
currency - String
|
|
modifiedAt - String
|
|
businessId - String
|
|
billingAddress - String
|
|
intermediaryService - String
|
|
netvisorKey - Int
|
Example
{
"asiakaskoodi": "abc123",
"name": "xyz789",
"secondaryName": "abc123",
"addressLine1": "xyz789",
"addressLine2": "xyz789",
"addressLine3": "abc123",
"deliveryName1": "abc123",
"deliveryName2": "abc123",
"deliveryName3": "abc123",
"billingCustomerId": 123,
"paymentTerm": "abc123",
"customerGroup": "abc123",
"chain": "xyz789",
"salesCode": "xyz789",
"creditLimit": "abc123",
"deliveryBlock": "xyz789",
"email": "abc123",
"website": "abc123",
"phone": "abc123",
"fax": "abc123",
"deliveryMethod": "xyz789",
"discountGroup": "xyz789",
"discountPercent": 123.45,
"secondaryDiscountPercent": 123.45,
"languageCode": "xyz789",
"comment1": "abc123",
"comment2": "abc123",
"contactPerson": "xyz789",
"contactPersonId": 987,
"lastLoginAt": "xyz789",
"vatLiability": "xyz789",
"currency": "xyz789",
"modifiedAt": "abc123",
"businessId": "abc123",
"billingAddress": "abc123",
"intermediaryService": "abc123",
"netvisorKey": 123
}
CustomersBasketItem
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
cartId - String!
|
|
customersId - Int!
|
|
itemId - String
|
|
productId - Int
|
|
variants - String
|
|
productOptions - String
|
|
comment - String
|
|
customOptions - String
|
|
quantity - Int!
|
|
specialPrice - Float
|
|
bundleId - String
|
|
includes - String
|
|
dateAdded - String
|
|
emailSent - Int
|
|
emailLast - String
|
|
variableImage - String
|
|
allowSubstitute - Boolean!
|
Example
{
"id": "4",
"cartId": "abc123",
"customersId": 123,
"itemId": "xyz789",
"productId": 987,
"variants": "xyz789",
"productOptions": "abc123",
"comment": "xyz789",
"customOptions": "xyz789",
"quantity": 123,
"specialPrice": 987.65,
"bundleId": "xyz789",
"includes": "abc123",
"dateAdded": "abc123",
"emailSent": 123,
"emailLast": "xyz789",
"variableImage": "abc123",
"allowSubstitute": true
}
CustomersBraintreeToken
Example
{
"id": 4,
"customersId": 123,
"braintreeToken": "xyz789",
"cardType": "abc123",
"numberFiltered": "xyz789",
"expiryDate": "xyz789",
"dateAdded": "abc123"
}
DeliveryAddress
Description
A delivery address entry belonging to a customer.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
customerId - Int!
|
|
gender - String
|
|
company - String
|
|
firstname - String!
|
|
lastname - String!
|
|
streetAddress - String!
|
|
vatid - String
|
|
postcode - String!
|
|
city - String!
|
|
state - String
|
|
countryId - Int!
|
|
zoneId - Int!
|
|
comments - String
|
|
legacyAddressBookId - Int
|
|
legacyAddress - AddressBook
|
Example
{
"id": "4",
"customerId": 123,
"gender": "xyz789",
"company": "abc123",
"firstname": "xyz789",
"lastname": "xyz789",
"streetAddress": "xyz789",
"vatid": "xyz789",
"postcode": "xyz789",
"city": "abc123",
"state": "abc123",
"countryId": 123,
"zoneId": 123,
"comments": "abc123",
"legacyAddressBookId": 987,
"legacyAddress": AddressBook
}
DiscountCoupon
Description
A discount coupon definition. Coupons may be targeted at specific products, categories, customers, manufacturers, or shipping zones.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
description - String!
|
|
amount - Float!
|
Discount value, interpreted according to discountType. |
discountType - String!
|
How the amount is applied. One of:
|
dateStart - String
|
|
dateEnd - String
|
|
maxUse - Int!
|
Maximum number of times this coupon may be used in total (0 = unlimited). |
minOrder - Float!
|
Minimum order threshold for the coupon to apply, interpreted according to minOrderType. |
minOrderType - String
|
How minOrder is interpreted: 'price' (currency amount) or 'quantity' (line item count). |
numberAvailable - Int!
|
Number of remaining uses across all customers (decremented as the coupon is redeemed). |
customerType - String!
|
Customer eligibility filter:
|
discountedProducts - Int
|
|
discountedProductsOld - Int
|
|
allowedProducts - String
|
|
categories - [Int!]
|
|
products - [Int!]
|
|
customers - [Int!]
|
|
orders - [Int!]
|
|
manufacturers - [Int!]
|
|
shippingMethods - [String!]
|
|
zones - [Int!]
|
Example
{
"id": 4,
"description": "abc123",
"amount": 987.65,
"discountType": "xyz789",
"dateStart": "xyz789",
"dateEnd": "abc123",
"maxUse": 987,
"minOrder": 123.45,
"minOrderType": "xyz789",
"numberAvailable": 987,
"customerType": "abc123",
"discountedProducts": 123,
"discountedProductsOld": 123,
"allowedProducts": "abc123",
"categories": [123],
"products": [987],
"customers": [987],
"orders": [987],
"manufacturers": [987],
"shippingMethods": ["abc123"],
"zones": [987]
}
DiscountCouponCustomerLink
DiscountCouponCustomerLinkInput
DiscountCouponOrderLink
Fields
| Field Name | Description |
|---|---|
couponCode - ID!
|
|
orderId - ID!
|
|
coupon - DiscountCoupon
|
|
order - Order
|
Example
{
"couponCode": "4",
"orderId": 4,
"coupon": DiscountCoupon,
"order": Order
}
Domain
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
languageId - Int!
|
|
code - String!
|
|
hreflang - String!
|
|
domain - String!
|
|
cctld - String!
|
|
flag - String!
|
|
sortOrder - Int
|
|
googlePixel - String
|
|
googleApiSecret - String
|
|
adwordsPixel - String
|
|
adwordsPhone - String
|
|
adwordsPurchase - String
|
|
adwordsContact - String
|
|
adwordsQuote - String
|
|
metaPixel - String
|
|
metaApiSecret - String
|
|
tiktokPixel - String
|
|
tiktokApiSecret - String
|
|
msAdsPixel - String
|
|
msAdsPhone - String
|
|
msAdsContact - String
|
|
msAdsPurchase - String
|
|
msAdsQuote - String
|
|
pinterestPixel - String
|
|
wpDomain - String
|
|
openaiChatInstructions - String
|
|
openaiVectorStoreId - String
|
|
openaiChatAssistantId - String
|
Example
{
"id": "4",
"languageId": 123,
"code": "xyz789",
"hreflang": "xyz789",
"domain": "abc123",
"cctld": "xyz789",
"flag": "abc123",
"sortOrder": 123,
"googlePixel": "xyz789",
"googleApiSecret": "xyz789",
"adwordsPixel": "abc123",
"adwordsPhone": "xyz789",
"adwordsPurchase": "abc123",
"adwordsContact": "xyz789",
"adwordsQuote": "abc123",
"metaPixel": "xyz789",
"metaApiSecret": "abc123",
"tiktokPixel": "abc123",
"tiktokApiSecret": "xyz789",
"msAdsPixel": "xyz789",
"msAdsPhone": "abc123",
"msAdsContact": "abc123",
"msAdsPurchase": "abc123",
"msAdsQuote": "abc123",
"pinterestPixel": "abc123",
"wpDomain": "xyz789",
"openaiChatInstructions": "abc123",
"openaiVectorStoreId": "xyz789",
"openaiChatAssistantId": "xyz789"
}
FaqCategory
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
icon - String
|
|
image - String
|
|
visibility - Int
|
|
googleIndex - Int
|
|
sortOrder - Int
|
|
descriptions - [FaqCategoryDescription]
|
|
questions - [FaqQuestion]
|
Example
{
"id": 4,
"icon": "abc123",
"image": "xyz789",
"visibility": 123,
"googleIndex": 987,
"sortOrder": 987,
"descriptions": [FaqCategoryDescription],
"questions": [FaqQuestion]
}
FaqCategoryDescription
FaqQuestion
Example
{
"id": 4,
"image": "xyz789",
"sortOrder": 123,
"visibility": 987,
"googleIndex": 987,
"enableUrl": 123,
"categories": [987],
"descriptions": [FaqQuestionDescription]
}
FaqQuestionDescription
Example
{
"languageId": 987,
"question": "xyz789",
"answer": "xyz789",
"shortAnswer": "abc123",
"url": "abc123",
"metaTitle": "xyz789",
"metaDescription": "abc123"
}
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
123.45
ID
Description
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
"4"
Int
Description
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
987
JSON
Example
{}
Language
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
code - String!
|
|
name - String!
|
|
metadata - LanguageMetadata
|
Example
{
"id": "4",
"code": "abc123",
"name": "xyz789",
"metadata": LanguageMetadata
}
LanguageMetadata
Manufacturer
Description
A brand or manufacturer associated with one or more products in the catalog.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String
|
Brand display name. |
code - String
|
Internal code or short identifier for the brand. |
image - String
|
|
brandPageImage - String
|
|
listingImage - String
|
|
sortOrder - Int
|
|
status - Int
|
|
dateAdded - String
|
|
lastModified - String
|
|
fitValue - String
|
|
specialDiscount - Int
|
|
cmsDescription - Int
|
|
countryApprovedProduct - String
|
|
displayFrontpage - Int
|
|
infos - [ManufacturerInfo]
|
Example
{
"id": "4",
"name": "abc123",
"code": "xyz789",
"image": "abc123",
"brandPageImage": "abc123",
"listingImage": "xyz789",
"sortOrder": 123,
"status": 987,
"dateAdded": "abc123",
"lastModified": "abc123",
"fitValue": "abc123",
"specialDiscount": 987,
"cmsDescription": 123,
"countryApprovedProduct": "xyz789",
"displayFrontpage": 987,
"infos": [ManufacturerInfo]
}
ManufacturerInfo
Order
Description
A purchase placed by a customer. Includes the customer snapshot at order time, delivery and billing addresses, and the chosen payment and shipping methods.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
customerId - Int
|
|
customerName - String!
|
|
customerEmail - String!
|
|
customer - OrderParty
|
|
deliveryAddress - OrderParty
|
|
billingAddress - OrderParty
|
|
status - Int!
|
Numeric status id. Common values across tenants:
Tenants may extend this set with custom statuses (e.g. payment-provider intermediate states, test orders). Always resolve dynamically via the orderStatuses query rather than hardcoding ids. |
datePurchased - String
|
ISO timestamp of when the order was placed. |
lastModified - String
|
|
currency - String
|
ISO 4217 currency code the order was placed in. |
currencyValue - Float
|
|
paymentMethod - String
|
Identifier of the chosen payment method (e.g. 'bank_transfer', 'paytrail', 'vivawallet'). |
shippingMethod - String
|
Identifier of the chosen shipping carrier or method. |
shippingCost - Float
|
|
trackingCode - String
|
Carrier tracking code. Populated once the order has been shipped. |
warehouseCode - String
|
|
discountCoupons - [DiscountCoupon]
|
|
items - [OrderItem!]!
|
|
totals - [OrderTotal!]!
|
|
Arguments
|
|
bankPayments - [BankPayment!]!
|
|
vivawalletPayments - [OrderVivawalletPayment!]!
|
|
Example
{
"id": "4",
"customerId": 987,
"customerName": "xyz789",
"customerEmail": "abc123",
"customer": OrderParty,
"deliveryAddress": OrderParty,
"billingAddress": OrderParty,
"status": 987,
"datePurchased": "xyz789",
"lastModified": "xyz789",
"currency": "abc123",
"currencyValue": 987.65,
"paymentMethod": "abc123",
"shippingMethod": "xyz789",
"shippingCost": 123.45,
"trackingCode": "abc123",
"warehouseCode": "abc123",
"discountCoupons": [DiscountCoupon],
"items": [OrderItem],
"totals": [OrderTotal],
"bankPayments": [BankPayment],
"vivawalletPayments": [OrderVivawalletPayment]
}
OrderHistoryEntry
Example
{
"id": 4,
"orderId": 123,
"entityType": "xyz789",
"entityId": 987,
"columnName": "xyz789",
"oldValue": "abc123",
"newValue": "xyz789",
"actionType": "xyz789",
"userId": 123,
"userName": "xyz789",
"page": "abc123",
"createdAt": "xyz789"
}
OrderItem
Example
{
"id": "4",
"orderId": 987,
"productId": 123,
"productModel": "abc123",
"productEan": "abc123",
"productName": "xyz789",
"quantity": 123,
"quantityReturned": 123,
"price": 987.65,
"originalPrice": 123.45,
"tax": 123.45,
"stockVariants": "xyz789",
"lineType": "xyz789",
"variants": [OrderItemVariant]
}
OrderItemVariant
Example
{
"id": "4",
"orderProductId": 123,
"optionId": 987,
"optionName": "abc123",
"optionValue": "abc123",
"price": 123.45,
"pricePrefix": "abc123"
}
OrderNetsNotification
Example
{
"ordersPaytrailId": 123,
"customersId": 123,
"notificationId": 987,
"sessionId": "xyz789",
"transactionId": "xyz789",
"stamp": "abc123",
"amount": 987.65,
"error": "abc123"
}
OrderParty
Example
{
"name": "xyz789",
"company": "abc123",
"vatId": "xyz789",
"streetAddress": "abc123",
"city": "abc123",
"postcode": "xyz789",
"state": "xyz789",
"country": "xyz789",
"telephone": "abc123",
"emailAddress": "xyz789",
"addressFormatId": 123,
"invoiceAddress": "abc123",
"operatorId": 123,
"reference": "xyz789"
}
OrderPartyInput
Fields
| Input Field | Description |
|---|---|
name - String
|
|
company - String
|
|
vatId - String
|
|
streetAddress - String
|
|
city - String
|
|
postcode - String
|
|
state - String
|
|
countryId - Int
|
|
countryCode - String
|
|
telephone - String
|
|
emailAddress - String
|
|
addressFormatId - Int
|
|
invoiceAddress - String
|
|
operatorId - Int
|
|
reference - String
|
Example
{
"name": "xyz789",
"company": "xyz789",
"vatId": "abc123",
"streetAddress": "abc123",
"city": "abc123",
"postcode": "xyz789",
"state": "abc123",
"countryId": 987,
"countryCode": "abc123",
"telephone": "abc123",
"emailAddress": "xyz789",
"addressFormatId": 123,
"invoiceAddress": "abc123",
"operatorId": 987,
"reference": "xyz789"
}
OrderStatus
OrderStatusHistory
OrderTotal
Example
{
"id": "4",
"orderId": 987,
"title": "xyz789",
"text": "abc123",
"value": 987.65,
"valueUnreturned": 123.45,
"class": "xyz789",
"sortOrder": 123
}
OrderVivawalletPayment
Example
{
"id": 4,
"orderId": 123,
"customerId": 123,
"paymentMethod": "xyz789",
"notificationId": 123,
"orderCode": "xyz789",
"transactionUuid": "xyz789",
"sessionId": "xyz789"
}
OrdersNetsNotificationInput
Example
{
"ordersPaytrailId": 123,
"customersId": 123,
"notificationId": 987,
"sessionId": "abc123",
"transactionId": "abc123",
"stamp": "xyz789",
"amount": 123.45,
"error": "abc123"
}
OrdersProduct
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
orderId - Int!
|
|
productId - Int
|
|
productModel - String
|
|
productEan - String
|
|
productName - String!
|
|
price - Float!
|
|
originalPrice - Float!
|
|
tax - Float!
|
|
quantity - Int!
|
|
quantityReturned - Int!
|
|
stockVariants - String
|
|
lineType - String
|
|
comment - String!
|
|
customOptions - JSON
|
Example
{
"id": "4",
"orderId": 987,
"productId": 987,
"productModel": "abc123",
"productEan": "xyz789",
"productName": "abc123",
"price": 123.45,
"originalPrice": 123.45,
"tax": 123.45,
"quantity": 123,
"quantityReturned": 987,
"stockVariants": "abc123",
"lineType": "xyz789",
"comment": "abc123",
"customOptions": {}
}
OrdersProductsVariant
Example
{
"id": "4",
"orderId": 123,
"orderProductId": 987,
"optionId": 987,
"optionName": "abc123",
"optionValue": "xyz789",
"price": 123.45,
"pricePrefix": "xyz789"
}
OrdersStatusHistoryEntry
OrdersStatusHistoryInput
Product
Description
A product available for sale in the catalog. Localized fields are returned for the language requested via the languageId argument; defaults to the tenant's primary language when omitted.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
Display name shown to shoppers. |
model - String
|
Manufacturer or vendor SKU/model identifier. |
image - String
|
Primary product image filename, served from the tenant's media host. |
price - Float!
|
Unit price in the tenant's default currency, exclusive of VAT. |
description - String
|
Long-form HTML description used on product detail pages. |
shortDescription - String
|
Plain-text summary used in product listings and meta descriptions. |
material - String
|
Example
{
"id": "4",
"name": "abc123",
"model": "xyz789",
"image": "xyz789",
"price": 123.45,
"description": "abc123",
"shortDescription": "xyz789",
"material": "abc123"
}
ProductCategoryLink
ProductCustomOption
ProductExtraImage
ProductMedia
Example
{
"id": 4,
"productId": "4",
"categoryId": 987,
"file": "xyz789",
"sortOrder": 123,
"type": "abc123",
"size": "abc123",
"description": "xyz789",
"category": ProductMediaCategory
}
ProductMediaCategory
ProductOption
ProductOptionValue
Example
{
"id": "4",
"name": "abc123",
"code": "xyz789",
"specification": "abc123",
"weight": 987.65,
"sort": 987,
"hex": "xyz789",
"priceDelta": 123.45,
"pricePrefix": "abc123",
"apiId": "xyz789"
}
ProductPriceHistory
ProductStock
ProductVolumeAddonPriceTier
ProductVolumeDiscountTier
Quote
Description
A quote (B2B request-for-pricing) created by or on behalf of a customer. Quotes can be tied to a customer account or anonymous via sessionId, and progress through status states until accepted or expired.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
customerId - Int
|
|
sessionId - String
|
Anonymous browser session identifier when the quote is created without a customer account. |
ipAddress - String
|
|
statusId - Int
|
Numeric status id of the quote. Common values:
Tenants may extend this set. Always resolve dynamically via the quoteStatuses query. |
dateAdded - String
|
|
dateModified - String
|
|
dateReminder - String
|
|
dateFollowUp - String
|
|
sendReminder - String
|
|
sendFollowUp - String
|
|
discountType - String
|
How the discountAmount is interpreted. One of: 'fixed' (currency amount), 'percent' (percentage off), or 'shipping' (free shipping). Defaults to 'fixed' on new quotes. |
discountAmount - Float
|
Discount value to apply, interpreted according to discountType. |
comment - String
|
|
cc - String
|
|
shipmentMethod - String
|
|
shipmentCode - String
|
|
shipmentPrice - Float
|
|
warehouseId - Int
|
|
items - [QuoteProduct!]!
|
Example
{
"id": 4,
"customerId": 987,
"sessionId": "xyz789",
"ipAddress": "abc123",
"statusId": 987,
"dateAdded": "xyz789",
"dateModified": "xyz789",
"dateReminder": "abc123",
"dateFollowUp": "abc123",
"sendReminder": "abc123",
"sendFollowUp": "abc123",
"discountType": "xyz789",
"discountAmount": 987.65,
"comment": "xyz789",
"cc": "abc123",
"shipmentMethod": "xyz789",
"shipmentCode": "xyz789",
"shipmentPrice": 123.45,
"warehouseId": 123,
"items": [QuoteProduct]
}
QuoteFile
QuoteGroup
QuoteNotificationFlagsInput
QuoteProduct
Description
A line item on a quote — references a product, an optional variant, quantity, and any per-line pricing overrides.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
quoteId - ID!
|
|
productId - Int!
|
|
variant - String!
|
|
quantity - Int!
|
|
discountedPrice - Float
|
Per-line negotiated price override. Null means use the product's catalog price. |
productGroup - Int
|
Line-item bundle/pricing-rule grouping marker. 0 means ungrouped (the default for most lines). Non-zero groups multiple lines together for combined discount calculation or kit-style packaging. |
comment - String
|
|
customOptions - String
|
|
bundleId - Int
|
Bundle id this line belongs to, when the line is part of a configured product bundle. 0 means standalone line. |
Example
{
"id": "4",
"quoteId": "4",
"productId": 987,
"variant": "xyz789",
"quantity": 123,
"discountedPrice": 123.45,
"productGroup": 987,
"comment": "abc123",
"customOptions": "xyz789",
"bundleId": 987
}
QuoteProductInput
Example
{
"productId": 987,
"variant": "xyz789",
"quantity": 123,
"discountedPrice": 123.45,
"productGroup": 123,
"comment": "xyz789",
"customOptions": "abc123",
"bundleId": 123
}
QuoteStatus
QuoteStatusEntry
RemoveCustomerFavoriteInput
Review
Description
A customer review of a product, with optional vendor reply via ReviewDetail.answer.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
productId - ID!
|
|
customerId - Int
|
|
nickname - String
|
Public display name shown alongside the review. |
country - String
|
|
isRecommended - Boolean
|
True if the reviewer would recommend the product. |
verifiedBuyer - Boolean
|
True if the reviewer is a verified purchaser of the product. |
count - Int
|
|
statusId - Int
|
|
statusCode - String
|
|
dates - ReviewDates
|
|
details - [ReviewDetail]
|
Example
{
"id": "4",
"productId": 4,
"customerId": 987,
"nickname": "xyz789",
"country": "xyz789",
"isRecommended": true,
"verifiedBuyer": false,
"count": 987,
"statusId": 987,
"statusCode": "abc123",
"dates": ReviewDates,
"details": [ReviewDetail]
}
ReviewDates
ReviewDetail
ReviewSummary
Service
Example
{
"id": "4",
"categoryId": 987,
"image": "xyz789",
"sortOrder": 123,
"displayFooter": 123,
"googleFeed": 987,
"css": "xyz789",
"externalJs": "xyz789",
"externalCss": "abc123",
"svgIcon": "abc123",
"descriptions": [ServiceDescription],
"category": ServiceCategory
}
ServiceCategory
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
parentId - Int
|
|
sortOrder - Int
|
|
displayFooter - Int
|
|
svgIcon - String
|
|
descriptions - [ServiceCategoryDescription]
|
|
children - [ServiceCategory]
|
Example
{
"id": "4",
"parentId": 987,
"sortOrder": 123,
"displayFooter": 123,
"svgIcon": "abc123",
"descriptions": [ServiceCategoryDescription],
"children": [ServiceCategory]
}
ServiceCategoryDescription
ServiceDescription
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"xyz789"
UpdateOrdersProductInput
Example
{
"orderId": "4",
"productId": 123,
"productModel": "xyz789",
"productEan": "abc123",
"productName": "abc123",
"price": 987.65,
"originalPrice": 987.65,
"tax": 987.65,
"quantity": 987,
"stockVariants": "abc123",
"lineType": "abc123",
"comment": "abc123",
"customOptions": {}
}
UpdateOrdersProductsVariantInput
Example
{
"orderId": "4",
"orderProductId": "4",
"optionId": 987,
"optionName": "abc123",
"optionValue": "abc123",
"price": 123.45,
"pricePrefix": "abc123"
}
UpdateProductCustomOptionInput
Warehouse
Example
{
"id": "4",
"name": "abc123",
"code": "abc123",
"phone": "xyz789",
"email": "xyz789",
"visible": true,
"stock": [WarehouseStock]
}