General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
- Accounts
- Bank Accounts
- Bank Transactions
- Bills
- Bill Payments
- Bill Credit Notes
- Contacts
- Company Info
- Currencies
- Documents
- Expenses
- Invoice Credit Notes
- Invoices
- Invoice Payments
- Items
- Journal Entries
- Purchase Orders
- Sales Orders
- Goods Receipt Notes
- Projects
- Tax Rates
- Tracking Categories
- Balance Sheet
- Cash Flow Statements
- Income Statements
Items
Get Items
Retrieve Items from the database based on the ID
POST
/
accounting
/
items
/
all
curl --request POST \
--url https://api.rootfi.dev/accounting/items/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"quantity_on_hand": "asc"
},
"filter": {
"name": {
"eq": "Toy Car"
}
}
}'
{
"data": {
"data": [
{
"rootfi_id": 308443,
"rootfi_company_id": 1760,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2023-10-26T16:14:56.257Z",
"rootfi_created_at": "2023-10-26T16:14:56.261Z",
"platform_id": "1234567890123456789",
"name": "Toy Car",
"description": "Test Item description",
"type": "INVENTORY",
"code": null,
"quantity_on_hand": 3,
"bill_item": {
"account_id": "80",
"unit_price": 10
},
"invoice_item": {
"account_id": "79",
"unit_price": 10
},
"is_bill_item": true,
"is_invoice_item": true,
"status": "ACTIVE",
"updated_at": "2023-05-03T00:00:00.000Z"
}
],
"total_count": 1
},
"request_timestamp": "2023-10-26T16:14:56.261Z",
"response_timestamp": "2023-10-26T16:14:56.261Z",
"request_id": "f5b0c0c0-5b0c-11ec-8d3d-0242ac130003"
}
The Items Data Model is designed to simplify the management and retrieval of item-related information across various accounting platforms.
curl --request POST \
--url https://api.rootfi.dev/accounting/items/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"quantity_on_hand": "asc"
},
"filter": {
"name": {
"eq": "Toy Car"
}
}
}'
Authorizations
Body
application/json
Response
200 - application/json
The response is of type object
.
curl --request POST \
--url https://api.rootfi.dev/accounting/items/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"quantity_on_hand": "asc"
},
"filter": {
"name": {
"eq": "Toy Car"
}
}
}'
{
"data": {
"data": [
{
"rootfi_id": 308443,
"rootfi_company_id": 1760,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2023-10-26T16:14:56.257Z",
"rootfi_created_at": "2023-10-26T16:14:56.261Z",
"platform_id": "1234567890123456789",
"name": "Toy Car",
"description": "Test Item description",
"type": "INVENTORY",
"code": null,
"quantity_on_hand": 3,
"bill_item": {
"account_id": "80",
"unit_price": 10
},
"invoice_item": {
"account_id": "79",
"unit_price": 10
},
"is_bill_item": true,
"is_invoice_item": true,
"status": "ACTIVE",
"updated_at": "2023-05-03T00:00:00.000Z"
}
],
"total_count": 1
},
"request_timestamp": "2023-10-26T16:14:56.261Z",
"response_timestamp": "2023-10-26T16:14:56.261Z",
"request_id": "f5b0c0c0-5b0c-11ec-8d3d-0242ac130003"
}
Assistant
Responses are generated using AI and may contain mistakes.