Search⌘ K
AI Features

List and Delete Items

Explore how to retrieve and manage items in FreshBooks using API calls. Learn to list all items with a GET request and delete items by updating their visibility state programmatically.

In this lesson, we’ll see the following two operations on items:

  • List all items: /accounting/account/{ACCOUNT_ID}/items/items
  • Delete an item: /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 /accounting/account/{ACCOUNT_ID}/items/items URL.

Request parameters

This endpoint doesn’t take any parameters and returns the items that exist against the account ID given in the URL.

Note: Please use the " ...