Files
graphql-api-js/queries.graphql
T

387 lines
4.9 KiB
GraphQL

{
products(limit: 10000, browsable: true, visible: true) {
id
keywords {
id
value
type
}
type
fields_json
inserted
path
updated
visible
browsable
categories {
id
name
path
pathNumeric
isLeaf
depth
childCount
lft
rgt
}
designer {
id
name
path
}
printProducts {
group
id
updated
}
blacklisting {
group
id
marketId
updated
}
}
}
# Orders
{
orders(
filter: {
limit: 100
offset: 0
dates: { from: "2021-03-01", to: "2021-04-30" }
}
) {
total
offset
limit
items {
id
paid
delivered
confirmed
billingInformation {
email
phone
address {
firstname
lastname
recipientName
companyname
address1
address2
zipcode
stateCountyOrRegion
}
}
deliveryInformation {
email
phone
address {
firstname
lastname
recipientName
companyname
address1
address2
zipcode
stateCountyOrRegion
}
}
market {
id
name
vat
currency
priceAdjustment
}
rows {
id
order {
id
}
inserted
orderId
productId
productGroup
artNo
path
name
price
designerId
commissionAmount
status
pwintyImageId
frameColor
pwintySku
}
}
}
}
{
order(id: 579702) {
id
localeName
marketName
market {
id
name
vat
currency
priceAdjustment
}
rows {
id
artNo
code
commission
commissionAmount
commissionResale
designer
designerId
designerPath
discountType
discountValue
displayHeight
displayWidth
edge
frameColor
framed
group
height
imagedonotprint
imageprocessed
imageprocessingrejected
inserted
material
measureUnit
mirrored
modifier
name
noShipping
orderId
path
price
printId
process
productGroup
productId
pwintyImageId
pwintySku
resolution
status
type
vat
weight
width
x
y
}
}
}
{
designers(limit: 10) {
id
name
path
}
}
# JULY 2021
{
product(id: 42166) {
id
stockid
fields_json
orientation
related {
id
fields {
name
}
}
ref1
ref2
ref3
wallpaperTypes
keywords {
id
value
type
}
type
fields {
artNo
name
height
width
photowallResolution
canvasResolution
wallpaperResolution
copyright
proportionsWarning
marginWidthMax
marginWidthMin
marginHeightMax
marginHeightMin
focusXpoint
focusYpoint
focusXpoint2
focusYpoint2
batch
imageResolution
printFileWidth
printFileHeight
printFileDpi
}
inserted
path
updated
visible
browsable
categories {
id
name
path
pathNumeric
isLeaf
depth
childCount
lft
rgt
}
designer {
id
name
path
}
printProducts {
group
id
updated
inserted
interiors {
id
roomName
uri
position
roomType
}
}
blacklisting {
group
id
marketId
updated
}
}
}
# Categories
{
category(id: 1653) {
id
name
path
isLeaf
depth
childCount
lft
rgt
products {
id
fields_json
}
}
}
# Keywords
{
keywords {
id
value
type
products {
id
}
}
}
{
keyword(id: 618) {
id
value
type
products {
id
}
}
}
{
markets {
id
name
vat
currency
priceAdjustment
}
}
{
market(name: "GB") {
id
name
vat
currency
priceAdjustment
}
}
# for pwinty
{
order(id: 562333) {
id
pwintyId
locale {
value
}
deliveryInformation {
address {
recipientName
companyname
address1
address2
city
countryCode
stateCountyOrRegion
zipcode
}
email
phone
}
billingInformation {
address {
recipientName
companyname
address1
address2
city
countryCode
stateCountyOrRegion
zipcode
}
email
phone
}
rows {
id
pwintySku
pwintyImageId
frameColor
}
}
}