Skip to content
quoteTaxQuery
quoteTax(input: QuoteTaxInput!): QuoteTaxResult!

Quote the tax that would apply for a hypothetical purchase given the buyer's destination address. Used by the public checkout to show a tax line before the buyer commits to the payment. Returns zero tax (no error) when the seller has tax collection disabled or when the destination is in a jurisdiction the seller doesn't collect for.

Arguments

Returns

QuoteTaxResult!

See QuoteTaxResult for the full shape.

Try it

Example
Query
query QuoteTax($input: QuoteTaxInput!) {
  quoteTax(input: $input) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
quoteTax