73 lines
929 B
GraphQL
73 lines
929 B
GraphQL
fragment OrderLine on OrderLine {
|
|
productSku
|
|
productName
|
|
quantity
|
|
taxClass {
|
|
id
|
|
}
|
|
unitPrice {
|
|
net {
|
|
amount
|
|
}
|
|
}
|
|
totalPrice {
|
|
net {
|
|
amount
|
|
}
|
|
tax {
|
|
amount
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment OrderFulfilledSubscription on Order {
|
|
id
|
|
userEmail
|
|
created
|
|
channel {
|
|
id
|
|
slug
|
|
}
|
|
shippingAddress {
|
|
...Address
|
|
}
|
|
billingAddress {
|
|
...Address
|
|
}
|
|
total {
|
|
net {
|
|
amount
|
|
}
|
|
tax {
|
|
amount
|
|
}
|
|
}
|
|
shippingPrice {
|
|
net {
|
|
amount
|
|
}
|
|
}
|
|
avataxId: metafield(key: "avataxId")
|
|
lines {
|
|
...OrderLine
|
|
}
|
|
}
|
|
fragment OrderFulfilledEventSubscription on Event {
|
|
__typename
|
|
... on OrderFulfilled {
|
|
order {
|
|
...OrderFulfilledSubscription
|
|
}
|
|
recipient {
|
|
privateMetadata {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
subscription OrderFulfilledSubscription {
|
|
event {
|
|
...OrderFulfilledEventSubscription
|
|
}
|
|
}
|