Prerequisites
In order to use the
POST /v3/merchants/{mId}/tax_rate_items
endpoint, the Inventory item and tax rate need to be already created.Ensure the item's
defaultTaxRates
body parameter isfalse
, to associate the custom tax rates to the item.
-
Run the
POST /v3/merchants/{mId}/tax_rate_items
endpoint to either create or delete associations between items and tax rates.
In the followingQUERY PARAMS
section:- To associate, select
false
for the deleteboolean
query parameter - To remove association, select
true
for the deleteboolean
query parameter
- To associate, select
-
To remove your associations specified in the request body, use the
delete = true
query parameter, for example,POST /v3/merchants/{{mId}}/tax_rate_items?delete=true
. -
No action is required if you do not want to remove your associations.
-
Upon running the
POST /v3/merchants/{mId}/tax_rate_items
endpoint, the request returns an empty response. To verify that the tax rates and items are successfully associated, expand tax rates on theGET Item
endpoint, for example,GET /v3/merchants/{{mId}}/items/{{itemId}}?expand=taxRates
.