Solved

Get tax for shipping rate setting through API

lihavim
New Member
9 0 0

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 

Accepted Solution (1)

Josh
Shopify Staff
1134 84 234

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

View solution in original post

Replies 3 (3)

Josh
Shopify Staff
1134 84 234

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

lihavim
New Member
9 0 0

Thanks a lot Josh, we'll try that out then.

lihavim
New Member
9 0 0

I've tried it out, that works, thanks a lot Josh