For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
          • QUERYcompanyRoles
          • QUERYcompanyRole
          • QUERYcompanyPermissions
          • QUERYaccountSettings
          • QUERYcustomerAccountSettings
          • QUERYinvoices
          • QUERYinvoice
          • QUERYinvoiceStats
          • QUERYinvoiceCustomerInformation
          • QUERYinvoicePaymentModules
          • QUERYinvoiceBcOrderAllowMethods
          • QUERYinvoicePaymentBcCart
          • QUERYinvoicePaymentFees
          • QUERYreceipts
          • QUERYreceipt
          • QUERYallReceiptLines
          • QUERYreceiptLine
          • QUERYreceiptLines
          • QUERYorder
          • QUERYallOrders
          • QUERYorderProducts
          • QUERYorderedProducts
          • QUERYcustomerOrders
          • QUERYcustomerOrder
          • QUERYcreatedByUser
          • QUERYshoppingLists
          • QUERYshoppingList
          • QUERYshoppingListsIdName
          • QUERYcustomerShoppingLists
          • QUERYcustomerShoppingList
          • QUERYcustomerShoppingListsIdName
          • QUERYcompanyExtraFields
          • QUERYuserCompany
          • QUERYcompanyValidateEmail
          • QUERYcompanyUserInfo
          • QUERYaccountFormFields
          • QUERYcompanyCreditConfig
          • QUERYcompanyPaymentTerms
          • QUERYcompanySubsidiaries
          • QUERYsuperAdminCompanies
          • QUERYsuperAdminMasquerading
          • QUERYquotes
          • QUERYcustomerQuotes
          • QUERYquote
          • QUERYquoteUserStoreInfo
          • QUERYquoteConfig
          • QUERYquoteExtraFieldsConfig
          • QUERYusers
          • QUERYuser
          • QUERYuserEmailCheck
          • QUERYcustomerEmailCheck
          • QUERYuserExtraFields
          • QUERYcurrentUser
          • QUERYcustomerInfo
          • QUERYuserLoginState
          • QUERYuserMasqueradingCompany
          • QUERYorderStatuses
          • QUERYbcOrderStatuses
          • QUERYcurrencies
          • QUERYautoLoader
          • QUERYstoreLimitations
          • QUERYstoreBasicInfo
          • QUERYstorefrontScript
          • QUERYstorefrontDefaultLanguage
          • QUERYstorefrontProductSettings
          • QUERYstorefrontSettings
          • QUERYstoreConfigSwitchStatus
          • QUERYstoreCheckoutConfig
          • QUERYstorefrontConfig
          • QUERYstorefrontConfigs
          • QUERYproductVariantsInfo
          • QUERYvariantSku
          • QUERYproductsInventory
          • QUERYproductsLoad
          • QUERYproductsSearch
          • QUERYtaxZoneRates
          • QUERYproductPurchasable
          • QUERYvalidateProduct
          • QUERYvalidateProducts
          • QUERYpriceProducts
          • QUERYaddresses
          • QUERYaddress
          • QUERYcountries
          • QUERYdefaultShippingAddress
          • QUERYdefaultBillingAddress
          • QUERYcustomerAddresses
          • QUERYcustomerAddress
          • QUERYaddressConfig
          • QUERYaddressExtraFields
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLB2BQueries

taxZoneRates

Example Query
1query ExampleQuery($storeHash: String) {
2 taxZoneRates(storeHash: $storeHash) {
3 id
4 name
5 enabled
6 shopperTargetSettings {
7 locations
8 customerGroups
9 }
10 rates {
11 id
12 name
13 enabled
14 priority
15 classRates
16 }
17 priceDisplaySettings {
18 showInclusive
19 showBothOnDetailView
20 showBothOnListView
21 }
22 }
23}
Variables
1{
2 "storeHash": "example"
3}
Example response
1{
2 "data": {
3 "taxZoneRates": [
4 {
5 "id": 0,
6 "name": "example",
7 "enabled": true,
8 "shopperTargetSettings": {
9 "locations": [
10 {
11 "countryCode": null,
12 "subdivisionCodes": null,
13 "postalCodes": null
14 }
15 ],
16 "customerGroups": [
17 0
18 ]
19 },
20 "rates": [
21 {
22 "id": 0,
23 "name": "example",
24 "enabled": true,
25 "priority": 0,
26 "classRates": [
27 {
28 "rate": null,
29 "taxClassId": null
30 }
31 ]
32 }
33 ],
34 "priceDisplaySettings": {
35 "showInclusive": true,
36 "showBothOnDetailView": true,
37 "showBothOnListView": true
38 }
39 }
40 ]
41 }
42}
Get the tax zone information. Doesn't require a Token.
Was this page helpful?
Previous

productsSearch

Next

productPurchasable

Built with

Arguments

storeHashStringRequired
Store hash. This field is required.

Returns

an optional list of optional TaxZoneRateType
idInteger
The id of tax zone
nameString
The name of tax zone
enabledBoolean
The enabled of tax zone
shopperTargetSettingsTaxZoneShopperTargetType
The shopper target settings of tax zone
rateslist of optional TaxRateType
priceDisplaySettingsPriceDisplaySettingsType
Store displays prices to shoppers matched with this tax zone.