previewCheckout
Price a basket without minting anything. Takes the same items checkout does, so what a buyer previews and what they are charged cannot disagree — hand taxCalculationId back to checkout to be charged the figure shown.
Named apart from the legacy checkoutPreview only while both exist; that one goes when its callers move over.
Arguments
inputCheckoutInput!Returns
See CheckoutPreview for the full shape.
Try it
Authentication
Example
Query
query PreviewCheckout($input: CheckoutInput!) {
previewCheckout(input: $input) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphql