Accessing "Show Prices with VAT" Setting via Storefront GraphQL API

I’m trying to access the “Show Prices with VAT” setting from the channel configuration, as shown in the image below:

However, I couldn’t find a corresponding field in the Storefront GraphQL API schema that would allow me to retrieve this setting:

Is there a way to access this setting through the GraphQL API, or is it not currently exposed?

Litium version: 8.17.3

1 Like

You will find the settings exposed on the cart as

query {
  cart {
    showPricesIncludingVat
  }
}

And if you want to change the settings for the individual cart you can do that with the mutation as

mutation {
  updateCartDetails(input: { showPricesIncludingVat: true/false }) {
  
  }
}
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.