Items

The Item object is used to represent an item that a company buys, sells, or resells, such as products and services.

The Item object

Properties


idString
Required

remote_idString
Optional
The third-party API ID of the matching object.

nameString
Optional
The item's name.

statusEnum
Optional
The item's status. Possible values include: ACTIVE, ARCHIVED, or - in cases where there is no clear mapping - the original value passed through.

unit_priceNumber
Optional
The item's unit price.

purchase_priceNumber
Optional
The item's purchase price.

purchase_accountString
Optional

sales_accountString
Optional

remote_updated_atString
Optional
When the third party's item note was updated.

remote_was_deletedBoolean
Required
Indicates whether or not this object has been deleted on the third-party.

The Item object
JSON
{
"id": "d2f972d0-2526-434b-9409-4c3b468e08f0",
"remote_id": "12374",
"name": "Pickleball Paddle",
"status": "ACTIVE",
"unit_price": 10,
"purchase_price": 25,
"purchase_account": "9871b4a9-f5d2-4f3b-a66b-dfedbed42c46",
"sales_account": "3872b4c9-f5d2-4f3b-a66b-dfedbed42c49",
"remote_updated_at": "2020-03-31T00:00:00Z",
"remote_was_deleted": true
}

GET

/items

Returns a list of Item objects.


Header Parameters


AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.

Query & Path Parameters


created_afterString
Optional
If provided, will only return objects created after this datetime.

created_beforeString
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

include_deleted_dataBoolean
Optional
Whether to include data that was deleted in the third-party service.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

modified_afterString
Optional
If provided, will only return objects modified after this datetime.

modified_beforeString
Optional
If provided, will only return objects modified before this datetime.

page_sizeInteger
Optional
Number of results to return per page.

remote_idString
Optional
The API provider's ID for the given object.

Response
JSON
{
"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
"previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
"results": [
{
"id": "d2f972d0-2526-434b-9409-4c3b468e08f0",
"remote_id": "12374",
"name": "Pickleball Paddle",
"status": "ACTIVE",
"unit_price": 10,
"purchase_price": 25,
"purchase_account": "9871b4a9-f5d2-4f3b-a66b-dfedbed42c46",
"sales_account": "3872b4c9-f5d2-4f3b-a66b-dfedbed42c49",
"remote_updated_at": "2020-03-31T00:00:00Z",
"remote_was_deleted": true
}
]
}
Field support by platform

Zoho Books

Zoho Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

remote_idString

nameString

statusEnum

Sage Business Cloud Accounting

Sage Business Cloud Accounting

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

unit_priceNumber

sales_accountString

purchase_accountString

remote_idString

nameString

remote_updated_atString

statusEnum

Xero

Xero

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

unit_priceNumber

sales_accountString

purchase_accountString

remote_idString

nameString

remote_updated_atString

Quickbooks Online

Quickbooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

unit_priceNumber

purchase_accountString

remote_idString

nameString

remote_updated_atString

statusEnum

Clear Books

Clear Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


nameString

statusEnum
Hint: Use the /linked-accounts endpoint to pull platform support information.
GET

/items/{id}

Returns an Item object with the given id.


Header Parameters


AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.

Query & Path Parameters


expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

idString
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.
Response
JSON
{
"id": "d2f972d0-2526-434b-9409-4c3b468e08f0",
"remote_id": "12374",
"name": "Pickleball Paddle",
"status": "ACTIVE",
"unit_price": 10,
"purchase_price": 25,
"purchase_account": "9871b4a9-f5d2-4f3b-a66b-dfedbed42c46",
"sales_account": "3872b4c9-f5d2-4f3b-a66b-dfedbed42c49",
"remote_updated_at": "2020-03-31T00:00:00Z",
"remote_was_deleted": true
}
Field support by platform

Zoho Books

Zoho Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

remote_idString

nameString

statusEnum

Sage Business Cloud Accounting

Sage Business Cloud Accounting

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

unit_priceNumber

sales_accountString

purchase_accountString

remote_idString

nameString

remote_updated_atString

statusEnum

Xero

Xero

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

unit_priceNumber

sales_accountString

purchase_accountString

remote_idString

nameString

remote_updated_atString

Quickbooks Online

Quickbooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


purchase_priceNumber

unit_priceNumber

purchase_accountString

remote_idString

nameString

remote_updated_atString

statusEnum

Clear Books

Clear Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


nameString

statusEnum
Hint: Use the /linked-accounts endpoint to pull platform support information.