✨ Show details about purchase
🐛 Update user balance
This commit is contained in:
1 parent
3d93a645ad
commit
2bcc993aaa
8 files changed
+87
-24
No files matched your search
@@ -1,10 +1,28 @@
|
||||
mutation CreateOrder($customerId: ID!, $orderLines:[OrderLineInput!]!, $isExternal: Boolean) {
|
||||
mutation CreateOrder($customerId: ID!, $orderLines:[OrderLineInput!]!, $isExternal: Boolean!) {
|
||||
createOrder(customerId: $customerId, orderLines: $orderLines, isExternal: $isExternal) {
|
||||
... on CreateOrderSuccess {
|
||||
order {
|
||||
id
|
||||
isExternal
|
||||
customer {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
profile {
|
||||
id
|
||||
balance
|
||||
}
|
||||
}
|
||||
orderlines {
|
||||
id
|
||||
amount
|
||||
unitPrice
|
||||
product {
|
||||
id
|
||||
name
|
||||
salePriceExt
|
||||
salePriceInt
|
||||
}
|
||||
}
|
||||
orderSum
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user