The AccountingItem object
A Rutter Item represents a good or service that is sold by a business entity.
Properties
id
stringThe Rutter generated unique ID of the item.
platform_id
stringThe platform specific ID of the item.
status
enumThe status of the item.
type
enumThe type of the item.
code
stringnullableThe reference code of the item.
name
stringnullableThe name of the item.
subsidiaries
arrayAn array of Subsidiary linked to the item. This feature is currently only supported on NetSuite.
subsidiaries
attributesbill_item
objectItem details associated with a bill (when the item was purchased).
bill_item
attributesinvoice_item
objectItem details associated with an invoice (when the item was sold).
invoice_item
attributesupdated_at
stringThe ISO 8601 timestamp that the item was last updated.
platform_data
objectoptionalThe raw platform data corresponding to the Rutter object.
platform_data
attributes{
"id": "00000000-0000-0000-0000-000000000000",
"platform_id": "12345678",
"status": "active",
"type": "inventory",
"code": "1234",
"name": "Rutter Shirt",
"subsidiaries": [
{
"id": "00000000-0000-0000-0000-000000000000"
},
{
"id": "00000000-0000-0000-0000-000000000000"
}
],
"bill_item": {
"description": "A Rutter shirt.",
"unit_price": "12.34"
},
"invoice_item": {
"description": "A Rutter shirt.",
"unit_price": "12.34"
},
"updated_at": "2023-01-02T02:34:56.000Z",
"platform_data": {
"id": 123,
"data": "Varies by platform"
}
}
List Items
GET /accounting/itemsRequest Parameters
access_token
stringqueryThe access token of the connection.
cursor
stringoptionalqueryThe cursor to use for pagination. This value is passed in from next_cursor
field in a previous request.
expand
enumoptionalqueryUsed to request inclusion of optional objects.
force_fetch
enumoptionalqueryForce a response even if the underlying connection hasn't finished the initial sync.
limit
integeroptionalqueryThe limit on the number of entities returned.
updated_at_max
integeroptionalqueryThe Unix Timestamp in milliseconds maximum updated_at datetime to fetch entities from.
updated_at_min
integeroptionalqueryThe Unix Timestamp in milliseconds minimum updated_at datetime to fetch entities from.
Response Body
items
arrayitems
attributesnext_cursor
stringnullableoptional{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"platform_id": "12345678",
"status": "active",
"type": "inventory",
"code": "1234",
"name": "Rutter Shirt",
"subsidiaries": [
{
"id": "00000000-0000-0000-0000-000000000000"
},
{
"id": "00000000-0000-0000-0000-000000000000"
}
],
"bill_item": {
"description": "A Rutter shirt.",
"unit_price": "12.34"
},
"invoice_item": {
"description": "A Rutter shirt.",
"unit_price": "12.34"
},
"updated_at": "2023-01-02T02:34:56.000Z",
"platform_data": {
"id": 123,
"data": "Varies by platform"
}
}
],
"next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
}
Create an Item
POST /accounting/itemsRequest Parameters
access_token
stringqueryThe access token of the connection.
Request Body
item
objectitem
attributesResponse Body
Any of:
item
objectitem
attributesasync_response
objectoptionalasync_response
attributeserrors
arrayoptionalerrors
attributes{
"item": {
"name": "Rutter Bolts",
"type": "non_inventory",
"bill_item": {
"account_id": "00000000-0000-0000-0000-000000000000",
"description": "bill item description",
"unit_price": "12.34"
},
"invoice_item": {
"account_id": "00000000-0000-0000-0000-000000000000",
"description": "invoice item description",
"unit_price": "3.21"
}
}
}
{
"item": {
"id": "00000000-0000-0000-0000-000000000000",
"platform_id": "12345678",
"status": "active",
"type": "inventory",
"code": "1234",
"name": "Rutter Shirt",
"subsidiaries": [
{
"id": "00000000-0000-0000-0000-000000000000"
},
{
"id": "00000000-0000-0000-0000-000000000000"
}
],
"bill_item": {
"description": "A Rutter shirt.",
"unit_price": "12.34"
},
"invoice_item": {
"description": "A Rutter shirt.",
"unit_price": "12.34"
},
"updated_at": "2023-01-02T02:34:56.000Z",
"platform_data": {
"id": 123,
"data": "Varies by platform"
}
}
}