Search⌘ K

Items

Explore how to manage your company's products by creating, updating, and retrieving items using the Avalara AvaTax API. This lesson guides you through using endpoints for item management, helping you separate tax code configuration from tax calculation to simplify tax processing in your application.

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 ...