Adapt for new ordermodel (#97)
Co-authored-by: Niklas Fondberg <niklas.fondberg@photowall.se>
This commit is contained in:
co-authored by
Niklas Fondberg
parent
ea086568d0
commit
e57cab3b23
+7
-61
@@ -146,12 +146,8 @@ type Address {
|
||||
city: String
|
||||
zipcode: String
|
||||
stateCountyOrRegion: String
|
||||
}
|
||||
|
||||
type ContactInformation {
|
||||
email: String
|
||||
phone: String
|
||||
address: Address
|
||||
}
|
||||
|
||||
type Order {
|
||||
@@ -186,25 +182,12 @@ type Order {
|
||||
cancelsOrderId: Int
|
||||
cancelledByOrderId: Int
|
||||
orderlogId: Int
|
||||
resellerStore: String
|
||||
orderSum: Float
|
||||
pwintyId: Int
|
||||
email: String
|
||||
phone: String
|
||||
deliveryEmail: String
|
||||
deliveryPhone: String
|
||||
customerFirstname: String
|
||||
customerLastname: String
|
||||
customerEmail: String
|
||||
customerCellphone: String
|
||||
flyerIds: String
|
||||
billingInformation: ContactInformation
|
||||
deliveryInformation: ContactInformation
|
||||
billingAddress: Address
|
||||
deliveryAddress: Address
|
||||
billingAddressId: Int
|
||||
deliveryAddressId: Int
|
||||
"""
|
||||
pwinty needs to be updated with market being a subtype
|
||||
"""
|
||||
market: Market
|
||||
locale: Locale
|
||||
rows: [OrderRow]
|
||||
@@ -212,51 +195,14 @@ type Order {
|
||||
|
||||
type OrderRow {
|
||||
id: ID!
|
||||
artNo: String
|
||||
code: String
|
||||
commission: Int
|
||||
commissionAmount: Float
|
||||
commissionResale: Int
|
||||
designer: String
|
||||
designerId: Int
|
||||
designerPath: String
|
||||
discountType: String
|
||||
discountValue: Float
|
||||
displayHeight: Float
|
||||
displayWidth: Float
|
||||
edge: String
|
||||
frameColor: String
|
||||
framed: Int
|
||||
group: ProductGroup
|
||||
height: Int
|
||||
imagedonotprint: Int
|
||||
imageprocessed: Int
|
||||
imageprocessingrejected: Int
|
||||
inserted: DateTime
|
||||
material: String
|
||||
measureUnit: String
|
||||
mirrored: Int
|
||||
modifier: String
|
||||
name: String
|
||||
noShipping: Boolean
|
||||
order: Order
|
||||
orderId: Int
|
||||
path: String
|
||||
price: Float
|
||||
printId: Int
|
||||
process: Boolean
|
||||
productGroup: String
|
||||
productId: Int
|
||||
data: OrderRowData
|
||||
}
|
||||
|
||||
type OrderRowData {
|
||||
frameColor: String
|
||||
pwintyImageId: Int
|
||||
pwintySku: String
|
||||
resolution: Int
|
||||
status: String
|
||||
type: String
|
||||
vat: Float
|
||||
weight: Int
|
||||
width: Int
|
||||
x: Float
|
||||
y: Float
|
||||
}
|
||||
|
||||
type Category {
|
||||
|
||||
Reference in New Issue
Block a user