Added product admin features

This commit is contained in:
Niklas Fondberg
2021-07-26 10:35:52 +02:00
committed by GitHub
parent 32adee1bf4
commit d17df41d86
38 changed files with 1613 additions and 381 deletions
+151 -48
View File
@@ -1,32 +1,29 @@
{
products(limit: 10000, browsable: true, visible: true) {
id
keywords {
id
value
type
}
type
fields_json
inserted
path
updated
visible
browsable
printProducts {
group
categories {
id
updated
name
path
pathNumeric
isLeaf
depth
childCount
lft
rgt
}
blacklisting {
group
id
marketId
updated
}
}
}
{
product(id: 42280) {
id
inserted
updated
visible
browsable
designerId
designer {
id
name
@@ -46,37 +43,78 @@
}
}
# Orders
{
orders(
filter: { limit: 1, dates: { from: "2021-03-01", to: "2021-04-30" } }
) {
id
market {
id
name
vat
currency
priceAdjustment
filter: {
limit: 100
offset: 0
dates: { from: "2021-03-01", to: "2021-04-30" }
}
rows {
) {
total
offset
limit
items {
id
order {
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
}
inserted
orderId
productId
productGroup
artNo
path
name
price
designerId
commissionAmount
status
pwintyImageId
frameColor
pwintySku
}
}
}
@@ -154,14 +192,51 @@
# JULY 2021
{
product(id: 73803) {
product(id: 42166) {
id
stockid
fields_json
orientation
related {
id
fields {
name
}
}
ref1
ref2
ref3
wallpaperTypes
keywords {
id
value
type
}
fields_json
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
@@ -171,6 +246,7 @@
id
name
path
pathNumeric
isLeaf
depth
childCount
@@ -186,6 +262,14 @@
group
id
updated
inserted
interiors {
id
roomName
uri
position
roomType
}
}
blacklisting {
group
@@ -195,7 +279,6 @@
}
}
}
# Categories
{
category(id: 1653) {
@@ -236,3 +319,23 @@
}
}
}
{
markets {
id
name
vat
currency
priceAdjustment
}
}
{
market(name: "GB") {
id
name
vat
currency
priceAdjustment
}
}