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"
}Retrieve Items from the database based on the ID
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"
}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"
}
}
}'
Show child attributes
asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc Show child attributes
Show child attributes
Show child attributes
The ID that the accounting platform uses to identify this item
Check if there are details (bill_item) of this item getting purchased
Check if there are details (invoice_item) of this item getting sold
The date on which the information was updated on the accounting platform
The unique ID we assign for that data's information
The RootFi designated id for the company
The RootFi designated id for the organisation
The accounting platform from which the data is being retrieved
ZOHO_BOOKS, QUICKBOOKS_SANDBOX, QUICKBOOKS, XERO, TALLY, SAGE_CLOUD_ACCOUNTING, MS_DYNAMICS_365, SAGE_ZA_CLOUD_ACCOUNTING, MYOB_BUSINESS, WAVE, ODOO_ACCOUNTING, NETSUITE, WAFEQ, MEKARI_JURNAL, BUSY, ROOTFI_SANDBOX, QOYOD The latest date at which RootFi updated this data
The date at which RootFi first synced this data
Name of the item
Description of the item
Type of the item.
INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN Reference code of the item
Quantity on hand
Item details of this item getting purchased
Show child attributes
The ID of the account in the accounting platform
The unit price of the item
The raw data of the item
The description of the item
The ID of the tax in the accounting platform
Item details of this item getting sold
Show child attributes
The ID of the account in the accounting platform
The unit price of the item
The raw data of the item
The description of the item
The ID of the tax in the accounting platform
Status of the item.
ACTIVE, ARCHIVED, UNKNOWN The total count of the accounts
The time at which the request was received by the server
The time at which the response was sent by the server
The unique ID of the request