List and Delete Items
Explore how to retrieve all items from your FreshBooks account and delete specific items by updating their visibility state using the FreshBooks API in Python. This lesson guides you through making GET and PUT requests to manage your item records efficiently.
We'll cover the following...
We'll cover the following...
Overview
In this lesson, we’ll see the following two operations on items:
- List all items:
{base_url}/accounting/account/{ACCOUNT_ID}/items/items - Delete an item:
{base_url}/accounting/account/{ACCOUNT_ID}/items/items/{ITEM_ID}
List all items
In this section, we make an HTTP GET request to extract all items from our FreshBooks account using the https://api.freshbooks.com/accounting/account/{ACCOUNT_ID}/items/items URL.