GET
/
accounting
/
items
curl --request GET \
  --url https://api.rootfi.dev/v3/accounting/items \
  --header 'api_key: <api-key>'
{
  "data": [
    {
      "bill_item": {
        "account_id": "123456",
        "description": "Test Item",
        "tax_id": "123456",
        "unit_price": 123.45
      },
      "code": "9837",
      "description": null,
      "invoice_item": {
        "account_id": "123456",
        "description": "Test Item",
        "tax_id": "123456",
        "unit_price": 123.45
      },
      "is_bill_item": true,
      "is_invoice_item": true,
      "name": "Brian Vega",
      "platform_id": "a979d4e1-9795-ee11-be36-6045bdc629b7",
      "quantity_on_hand": 10,
      "rootfi_company_id": 1109,
      "rootfi_created_at": "2024-01-24T11:12:00.315Z",
      "rootfi_id": 32302,
      "rootfi_updated_at": "2024-01-24T11:12:00.000Z",
      "status": "ACTIVE",
      "type": "INVENTORY",
      "updated_at": "2023-12-08T00:00:00.000Z"
    }
  ],
  "next": "eyJyb290ZmlfaWQiOjQ0MDA2MX0=",
  "prev": "eyJyb290ZmaaqaWQiOjQ0MDA2MX0="
}

The Items Data Model is designed to simplify the management and retrieval of item-related information across various accounting platforms.

Authorizations

api_key
string
headerrequired

Query Parameters

limit
integer | null

The number of objects you want to retrieve

next
string | null

The next page of objects to retrieve

prev
string | null

The previous page of objects to retrieve

select
string | null

Comma separated fields to select. Supported values are raw_data, data_hash

rootfi_company_id[eq]
integer | null

Filter by rootfi_company_id

return_count
boolean | null

Return the count of the objects

sort[rootfi_created_at]
enum<string>

Sort by rootfi_created_at

Available options:
ASC,
DESC
sort[rootfi_updated_at]
enum<string>

Sort by rootfi_updated_at

Available options:
ASC,
DESC

Response

200 - application/json
data
object[]
required

List of items

next
string | null

The next page of objects to retrieve

prev
string | null

The prev page of objects to retrieve