Items
Learn to use the AvaTax API to define any item that your company sells.
We'll cover the following...
Overview
Items in Avalara are our company’s products for which we can configure our taxes. Using these, we can separate tax configuration from tax calculations. The {{BASE_URL}}/companies/{{companyId}}/items/
endpoint in Avalara helps us create these items.
We can reference these items when recording and calculating taxes in Avalara. This referencing helps us avoid creating items when recording taxes, allowing us to keep our API calls as simple as possible. We're going to discuss tax transactions in detail later.
Creating an item
We use the {{BASE_URL}}/companies/{{companyId}}/items
endpoint and the POST method to create an item using the AvaTax API. The complete endpoint URL for creating an item is as follows:
https://sandbox-rest.avatax.com/api/v2/companies/{{companyId}}/items
Some of the request parameters ...