question

mmrazek avatar image
mmrazek asked superdave answered

tax_rate_item Json sample

Does anyone have a tax rate item association json sample file? I am trying to associate an existing item with an existing tax rate, and there is no sample to follow: Can't seem to find any other documentation regarding the parameters to pass with:

https://sandbox.dev.clover.com/v3/merchants/{mId}/tax_rate_items

tried both of these sample JSON formatswith no luck...

{ "taxRates": [ { "id": "abc", "items": {"id": "123"} } ] }"

and

"{ "elements": [ { "taxRates": {"id": "abc"}, "item": {"id": "123"} } ] }"


Thanks in advance

Taxes
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
superdave avatar image
superdave answered

"taxRates":{"elements":[{"id":"8K3Z3327WF5VE","lineItemRef":{"id":"WDX3DSYZRWFA6"},"name":"TPS 12345 6789 RT0001","rate":500000,"isDefault":true},{"id":"JTY3HR3FKHVSP","lineItemRef":{"id":"WDX3DSYZRWFA6"},"name":"TVQ 1234567890 TQ0001","rate":997500,"isDefault":true}]}


there are many different version.


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community