Create or delete associations between items and tax rates

📘

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 is false, 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 following QUERY PARAMS section:

    • To associate, select false for the delete boolean query parameter
    • To remove association, select true for the delete boolean query parameter
  • 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 the GET Item endpoint, for example, GET /v3/merchants/{{mId}}/items/{{itemId}}?expand=taxRates.

Language
Authentication
Bearer
Click Try It! to start a request and see the response here!