Allows you to retrieve any items

GET {{baseUrl}}/Items?where=<string>&order=<string>&unitdp=<integer>

Request Params

KeyDatatypeRequiredDescription
wherestringFilter by an any element
orderstringOrder by an any element
unitdpstringe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts

HEADERS

KeyDatatypeRequiredDescription
If-Modified-SincestringOnly records created or modified since this timestamp will be returned
xero-tenant-idstring(Required) Xero identifier for Tenant

RESPONSES

status: OK

{&quot;Id&quot;:&quot;8487e8d7-5fb3-4f02-b949-dec8f1e38182&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552331874897)/&quot;,&quot;Items&quot;:[{&quot;ItemID&quot;:&quot;c8c54d65-f3f2-452d-926e-bf450b12fb07&quot;,&quot;Code&quot;:&quot;123&quot;,&quot;Description&quot;:&quot;Guitars Fender Strat&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1551981476267+0000)/&quot;,&quot;PurchaseDetails&quot;:{},&quot;SalesDetails&quot;:{&quot;UnitPrice&quot;:5000.0,&quot;AccountCode&quot;:&quot;200&quot;,&quot;TaxType&quot;:&quot;OUTPUT2&quot;},&quot;Name&quot;:&quot;Guitars&quot;,&quot;IsTrackedAsInventory&quot;:false,&quot;IsSold&quot;:true,&quot;IsPurchased&quot;:false},{&quot;ItemID&quot;:&quot;a4544d51-48f6-441f-a623-99ecbced6ab7&quot;,&quot;Code&quot;:&quot;abc65591&quot;,&quot;Description&quot;:&quot;Barfoo&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552331873580+0000)/&quot;,&quot;PurchaseDetails&quot;:{},&quot;SalesDetails&quot;:{},&quot;Name&quot;:&quot;Hello11350&quot;,&quot;IsTrackedAsInventory&quot;:false,&quot;IsSold&quot;:true,&quot;IsPurchased&quot;:true}]}