Retrieve Item
GET/accounting/items/:id
Retrieve an Accounting Item with the given id.
Request
Path Parameters
id stringrequired
The ID of the item.
Query Parameters
credentialId stringrequired
The ID of the credential.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
item
object
remoteId string
itemName string
itemStatus string
itemType string
unitPrice
purchasePrice
qtyOnHand
billAccountId string
invoiceAccountId
assetAccountId
companyId
createdTimestamp integer
Default value: 0
updatedTimestamp integer
Default value: 0
id string
remoteCreatedAt string
remoteUpdatedAt string
remoteDeleted boolean
Default value: true
createdAt string
updatedAt string
{
"item": {
"remoteId": "4",
"itemName": "My Item",
"itemStatus": "ACTIVE",
"itemType": "SERVICE",
"unitPrice": {},
"purchasePrice": {},
"qtyOnHand": {},
"billAccountId": "0651a0b2-13a7-4662-86fc-94e0ccd44cb8",
"invoiceAccountId": {},
"assetAccountId": {},
"companyId": {},
"createdTimestamp": 1701195593,
"updatedTimestamp": 1701195593,
"id": "7ae2c99c-fee3-47b6-932a-fa7a14a46f72",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
{
"item": {
"remoteId": "4",
"itemName": "My Item",
"itemStatus": "ACTIVE",
"itemType": "SERVICE",
"unitPrice": null,
"purchasePrice": null,
"qtyOnHand": null,
"billAccountId": "0651a0b2-13a7-4662-86fc-94e0ccd44cb8",
"invoiceAccountId": null,
"assetAccountId": null,
"companyId": null,
"createdTimestamp": 1701195593,
"updatedTimestamp": 1701195593,
"id": "7ae2c99c-fee3-47b6-932a-fa7a14a46f72",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...