wdc
This commit is contained in:
110
graphql/fragments/OrderOrCheckoutLines.graphql
Normal file
110
graphql/fragments/OrderOrCheckoutLines.graphql
Normal file
@@ -0,0 +1,110 @@
|
||||
fragment OrderOrCheckoutLines on OrderOrCheckout {
|
||||
__typename
|
||||
... on Checkout {
|
||||
channel {
|
||||
id
|
||||
slug
|
||||
}
|
||||
shippingPrice {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
net {
|
||||
...Money
|
||||
}
|
||||
tax {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
deliveryMethod {
|
||||
__typename
|
||||
... on ShippingMethod {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
lines {
|
||||
__typename
|
||||
id
|
||||
quantity
|
||||
totalPrice {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
net {
|
||||
...Money
|
||||
}
|
||||
tax {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
checkoutVariant: variant {
|
||||
name
|
||||
sku
|
||||
product {
|
||||
name
|
||||
thumbnail {
|
||||
url
|
||||
}
|
||||
category {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
... on Order {
|
||||
channel {
|
||||
id
|
||||
slug
|
||||
}
|
||||
shippingPrice {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
net {
|
||||
...Money
|
||||
}
|
||||
tax {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
deliveryMethod {
|
||||
__typename
|
||||
... on ShippingMethod {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
lines {
|
||||
__typename
|
||||
id
|
||||
quantity
|
||||
taxRate
|
||||
totalPrice {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
net {
|
||||
...Money
|
||||
}
|
||||
tax {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
orderVariant: variant {
|
||||
name
|
||||
sku
|
||||
product {
|
||||
name
|
||||
thumbnail {
|
||||
url
|
||||
}
|
||||
category {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user