saleor-apps-redis_apl/apps/emails-and-messages/graphql/fragments/OrderDetails.graphql
Krzysztof Wolski d4089ab519
Add metadata and privateMetadata to webhook payloads (#730)
* Add metadata and privateMetadata to webhook payloads

* Add changeset
2023-07-07 13:01:36 +02:00

77 lines
866 B
GraphQL

fragment OrderDetails on Order {
id
number
userEmail
channel {
slug
}
metadata {
key
value
}
privateMetadata {
key
value
}
user {
email
firstName
lastName
}
billingAddress {
streetAddress1
city
postalCode
country {
country
}
}
shippingAddress {
streetAddress1
city
postalCode
country {
country
}
}
lines {
id
productName
variantName
quantity
thumbnail {
url
alt
}
unitPrice {
gross {
currency
amount
}
}
totalPrice {
gross {
currency
amount
}
}
}
subtotal {
gross {
amount
currency
}
}
shippingPrice {
gross {
amount
currency
}
}
total {
gross {
amount
currency
}
}
}