Get tax for shipping rate setting through 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

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.

1 Like

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

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