Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi,
We're building a platform, and trying to get tax information from checkout API (https://help.shopify.com/en/api/reference/sales-channels/checkout)
Right now we're getting it in the response (from tax_lines).
However, there's one additional piece of information we want to get, which is "charge tax on shipping rates" to correctly calculate the tax on our system. Since we'll be getting this information from multiple shopify accounts that we don't have control on, so we'll need this dynamically.
I have checked the API docs but couldn't find anything so far.
Any advice on this would be much appreciated.
Thanks
Solved! Go to the solution
This is an accepted solution.
Hey there,
You can get this information on the shop object at /admin/shop.json - the `tax_shipping` field will be true or false depending on whether or not the checkbox for shipping rate taxes has been selected.
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This is an accepted solution.
Hey there,
You can get this information on the shop object at /admin/shop.json - the `tax_shipping` field will be true or false depending on whether or not the checkbox for shipping rate taxes has been selected.
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Thanks a lot Josh, we'll try that out then.
I've tried it out, that works, thanks a lot Josh