Files
graphql-api-js/queries.graphql
T

239 lines
2.7 KiB
GraphQL

{
products(limit: 10000, browsable: true, visible: true) {
id
inserted
updated
visible
browsable
printProducts {
group
id
updated
}
blacklisting {
group
id
marketId
updated
}
}
}
{
product(id: 42280) {
id
inserted
updated
visible
browsable
designerId
designer {
id
name
path
}
printProducts {
group
id
updated
}
blacklisting {
group
id
marketId
updated
}
}
}
{
orders(
filter: { limit: 1, dates: { from: "2021-03-01", to: "2021-04-30" } }
) {
id
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: 73803) {
id
keywords {
id
value
type
}
fields_json
inserted
path
updated
visible
browsable
categories {
id
name
path
isLeaf
depth
childCount
lft
rgt
}
designer {
id
name
path
}
printProducts {
group
id
updated
}
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
}
}
}