Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1325

Unable to set catalog item as non-taxable

$
0
0

I run an inventory sync app between Shopify and Square. When the product in Shopify is set to taxable or non-taxable I need to reflect this in Square. I have successfully created the tax categories and can assign them when I create a product.

However, it does not seem possible to set an catalogue item as non-taxable via the catalog api. setting is_taxable to true or false does not appear to have any effect on the taxable state of an item. I have tried sending this to the /v2/catalog/object end point along with tax_ids, without tax_ids and omitting tax_ids field all together. It doesn’t change.
The only way I seem to be able set the taxable state of an item is to either send an array of tax_ids or an empty array. This has roughly the right effect. But while an item may have no taxes applied is_taxable still shows as true which could be incorrect strictly speaking for someone relying on this Boolean as suggested here .

Am I approaching this wrong? How do I toggle the taxable state of an item? It is possible to toggle the state via the Square ui, but I can’t see how to replicate this via the API

Cheers

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1325

Trending Articles