Added orderrows

This commit is contained in:
Niklas Fondberg
2021-04-08 13:20:43 +02:00
parent f3f39b2097
commit e0f629d54d
8 changed files with 295 additions and 89 deletions
+29
View File
@@ -12,6 +12,15 @@ const typeDefs = gql`
type Address {
id: ID!
firstname: String
lastname: String
recipientName: String
companyname: String
address1: String
address2: String
countryCode: String
city: String
zipcode: String
stateCountyOrRegion: String
}
type ContactInformation {
@@ -69,6 +78,26 @@ const typeDefs = gql`
deliveryInformation: ContactInformation
billingAddressId: Int
deliveryAddressId: Int
rows: [OrderRow]
}
type OrderRow {
id: ID!
order: Order
insertedDate: DateTime
orderId: Int
productId: Int
productGroup: String
artNo: String
path: String
name: String
price: Float
designerId: String
commissionAmount: String
status: String
pwintyImageId: Int
frameColor: String
pwintySku: String
}
type Product {