cURL
curl --request PUT \ --url https://api.rootfi.dev/v3/accounting/items \ --header 'Content-Type: application/json' \ --header 'api_key: <api-key>' \ --data '{ "company_id": 123, "data": [ { "platform_id": "a979d4e1-9795-ee11-be36-6045bdc629b7", "name": "Brian Vega", "description": null, "updated_at": "2023-12-08T00:00:00.000Z", "status": "ACTIVE", "bill_item": { "tax_id": "123456", "account_id": "123456", "unit_price": 123.45, "description": "Test Item" }, "code": "9837", "invoice_item": { "tax_id": "123456", "account_id": "123456", "unit_price": 123.45, "description": "Test Item" }, "is_bill_item": true, "is_invoice_item": true, "type": "INVENTORY", "quantity_on_hand": 10 } ] }'
{ "data": { "rootfi_id": 32302, "rootfi_deleted_at": null, "rootfi_created_at": "2024-01-24T11:12:00.315Z", "rootfi_updated_at": "2024-01-24T11:12:00.000Z", "rootfi_company_id": 1109, "platform_id": "123456_1", "platform_unique_id": "123456", "name": "Brian Vega", "description": null, "updated_at": "2023-12-08T00:00:00.000Z", "status": "ACTIVE", "bill_item": { "tax_id": "123456", "account_id": "123456", "unit_price": 123.45, "description": "Test Item" }, "code": "9837", "invoice_item": { "tax_id": "123456", "account_id": "123456", "unit_price": 123.45, "description": "Test Item" }, "is_bill_item": true, "is_invoice_item": true, "type": "INVENTORY", "quantity_on_hand": 10 } }
Update an item.
The data of the items endpoint
Show child attributes
The ID of the company in the accounting platform
Run the request asynchronously
List of items
The sync id of the request