commerce/packages/saleor/utils/fragments/checkout-details.ts
2022-01-14 18:29:24 -05:00

50 lines
677 B
TypeScript

export const CheckoutDetails = /* GraphQL */ `
fragment CheckoutDetails on Checkout {
id
token
created
totalPrice {
currency
gross {
amount
}
}
subtotalPrice {
currency
gross {
amount
}
}
lines {
id
variant {
id
name
sku
product {
name
slug
}
media {
url
}
pricing {
price {
gross {
amount
}
}
}
}
quantity
totalPrice {
currency
gross {
amount
}
}
}
}
`