Item
Return, update, create and delete inventory items.
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Inventory/Item |
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
Response
{
"DefaultSellLocation": {
"UID": "5b854f1f-8921-4ad1-93ee-565b31790334",
"Identifier": "Location1",
"Name": "Primary Location",
"URI": "{cf_uri}Inventory/Location/c7f0a9cd-2a85-4a56-b4de-e74bac885c12"
},
"DefaultReceiveLocation": {
"UID": "5b854f1f-8921-4ad1-93ee-565b31790334",
"Identifier": "Location1",
"Name": "Primary Location",
"URI": "{cf_uri}Inventory/Location/c7f0a9cd-2a85-4a56-b4de-e74bac885c12"
},
"LastModified": "2019-05-01T00:47:43.757",
"PhotoURI": "{cf_uri}\"/Inventory/Item/d5ab0fd1-3bf4-4230-bbaf-90b26ea9afda/Photo",
"URI": "{cf_uri}/Inventory/Item/d5ab0fd1-3bf4-4230-bbaf-90b26ea9afda/",
"RowVersion": "-5650610157466419200"
}| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique item identifier in the form of a guid. ONLY required for updating an existing item. NOT required when creating a new item. |
Number | String (30) | Item number. |
Name | String (30) | Name of the item. |
IsActive | Boolean | Please note: Defaults to true if left blank on POST. True indicates the item is active. False indicates the item is inactive. |
Description | String (255) | A description of the item. |
UseDescription | Boolean | True indicates to use the description text instead of item name on sale invoices and purchase orders. False indicates not to use the item description on sales and purchases. |
CustomList1 | object | The following set of information pulls through details for a contact custom list |
CustomList1.Label | String (30) | Name of CustomList1 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 1 could be changed to Melbourne, click here for more information on how to edit labels |
CustomList1.Value | String (30) | Custom list text entry populated for CustomList1. |
CustomList2 | object | The following set of information pulls through details for a contact custom list |
CustomList2.Label | String (30) | Name of CustomList2 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 2 could be changed to Sydney, click here for more information on how to edit labels |
CustomList2.Value | String (30) | Custom list text entry populated for CustomList2. |
CustomList3 | object | The following set of information pulls through details for a contact custom list |
CustomList3.Label | String (30) | Name of CustomList3 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 3 could be changed to Tasmania, click here for more information on how to edit labels |
CustomList3.Value | String (30) | Custom list text entry populated for CustomList3. |
CustomField1 | object | The following set of information pulls through details for a contact custom field |
CustomField1.Label | String (30) | Name of CustomField1 applicable to the custom field text, labels can be edited within the AccountRight interface ONLY. For example CustomField # 1 could be changed to South Australia, click here for more information on how to edit labels |
CustomField1.Value | String (30) | Custom field text entry populated for CustomField1. |
CustomField2 | object | The following set of information pulls through details for a contact custom field |
CustomField2.Label | String (30) | Name of CustomField2 applicable to the custom field text, labels can be edited, for example CustomField # 2 could be changed to Queensland |
CustomField2.Value | String (30) | Custom field text entry populated for CustomField2. |
CustomField3 | object | The following set of information pulls through details for a contact custom field |
CustomField3.Label | String (30) | Name of CustomField3 applicable to the custom field text, labels can be edited within the AccountRight interface ONLY. For example CustomField # 3 could be changed to ACT, click here for more information on how to edit labels |
CustomField3.Value | String (30) | Custom field text entry populated for CustomField3. |
QuantityOnHand | Decimal (13.3) | Quantity of units held in inventory |
QuantityCommitted | Decimal (13.3) | Quantity of the item held in pending sale invoices. |
QuantityOnOrder | Decimal (13.3) | Quantity of the item held in pending purchase orders. |
QuantityAvailable | Decimal (13.3) | Calculated quantity of the item available for sale. |
AverageCost | Decimal (13.6) | Item's average cost when the quantity on hand is equal to or greater than zero. |
CurrentValue | Decimal (13.6) | Dollar value of units held in inventory. |
BaseSellingPrice | Decimal (13.6) | Item's base selling price inclusive of tax. |
IsBought | Boolean | True indicates the item is bought. False indicates the item is not bought. |
IsSold | Boolean | True indicates the item is sold. False indicates the item is not sold. |
IsInventoried | Boolean | True indicates the item is inventoried. False indicates the item is not inventoried. |
ExpenseAccount | object | The following set of information pulls through details for an Expense account |
ExpenseAccount.UID | Guid (36) | Please note: Passing the Account UID is required if IsBought = true AND IsInventoried = false Foreign Key : Unique identifier for the account in the form of a guid. |
ExpenseAccount.Name | String (60) | Account name belonging to the expense account record. |
ExpenseAccount.DisplayID | String (6) | Account code format includes separator ie 6-1100 { 'DisplayID': '6-1100' } |
ExpenseAccount.URI | String | Uniform resource identifier associated with the expense account object. |
CostOfSalesAccount | object | The following set of information pulls through details for a CostOfSales account |
CostOfSalesAccount.UID | Guid (36) | Please note: Passing the Account UID is required if IsSold = true AND IsInventoried = true Foreign Key : Unique identifier for the account in the form of a guid. |
CostOfSalesAccount.Name | String (60) | Account name belonging to the cost of sales account record. |
CostOfSalesAccount.DisplayID | String (6) | Account code format includes separator ie 5-1100 { 'DisplayID': '5-1100' } |
CostOfSalesAccount.URI | String | Uniform resource identifier associated with the cost of sales account object. |
IncomeAccount | object | The following set of information pulls through details for an Icome account |
IncomeAccount.UID | Guid (36) | Please note: Passing the Account UID is required if IsSold = true Foreign Key : Unique identifier for the account in the form of a guid. |
IncomeAccount.Name | String (60) | Account name belonging to the income account record. |
IncomeAccount.DisplayID | String (6) | Account code format includes separator ie 4-1100 { 'DisplayID': '4-1100' } |
IncomeAccount.URI | String | Uniform resource identifier associated with the income account object. |
AssetAccount | object | The following set of information pulls through details for an Asset account |
AssetAccount.UID | Guid (36) | Please note: Passing the Account UID is required if IsInventoried = true Foreign Key : Unique identifier for the account in the form of a guid. |
AssetAccount.Name | String (60) | Account name belonging to the asset account record. |
AssetAccount.DisplayID | String (6) | Account code format includes separator ie 1-1100 { 'DisplayID': '1-1100' } |
AssetAccount.URI | String | Uniform resource identifier associated with the asset account object. |
BuyingDetails | object | The following set of information pulls through Buying details for an item. Note: If IsBought = false null is returned. |
BuyingDetails.LastPurchasePrice | Decimal (12.6) | The item’s tax inclusive price per unit when last purchased. |
BuyingDetails.StandardCost | Decimal (12.6) | Standard purchase price for one buying unit of this item. |
BuyingDetails.BuyingUnitOfMeasure | String | Description of the unit type the item is purchased with, ie: kg, hour. |
BuyingDetails.ItemsPerBuyingUnit | Decimal | Number of items per buying unit. Note: if is IsInventoried = false null is returned. |
BuyingDetails.TaxCode | object | The following set of information pulls through details for the Tax Code |
BuyingDetails.TaxCode.UID | GUID (36) | Please note: Only required if IsBought = true Foreign Key : Unique tax code identifier in the form of a guid |
BuyingDetails.TaxCode.Code | String (3) | 3 digit code assigned to the tax code. |
BuyingDetails.TaxCode.URI | String | Uniform resource identifier associated with the tax code object. |
BuyingDetails.RestockingInformation | object | The following set of information pulls through details for item restocking. |
BuyingDetails.RestockingInformation.MinimumLevelForRestockingAlert | Decimal | The minimum number of items on hand before needing to reorder. |
BuyingDetails.RestockingInformation.Supplier | object | The following set of information pulls through details for the Supplier contact assigned for as the Primary supplier for reorders. |
BuyingDetails.RestockingInformation.Supplier.UID | Guid (36) | Please note: Only required if assigning a default supplier contact for restocking. Foreign Key : Unique guid identifier belonging to the supplier contact. |
BuyingDetails.RestockingInformation.Supplier.Name | String (30) | Name of the supplier. |
BuyingDetails.RestockingInformation.Supplier.DisplayID | String (15) | Supplier contact Card ID, can also be used as a unique supplier contact identifier. |
BuyingDetails.RestockingInformation.Supplier.URI | String | Uniform resource identifier associated with the supplier object. |
BuyingDetails.RestockingInformation.SupplierItemNumber | String (30) | Number or code supplier has assigned to the item. |
BuyingDetails.RestockingInformation.DefaultOrderQuantity | String | Default number of units to buy on auto reorder. |
StandardCostTaxInclusive | Boolean | Returns a True or False value to determine if the Standard Cost includes tax |
SellingDetails | object | The following set of information pulls through Selling details for an item. Note: If IsSold = false null is returned. |
SellingDetails.BaseSellingPrice | Decimal (12.6) | Standard selling price for one selling unit of this item. |
SellingDetails.SellingUnitOfMeasure | String | Description of the unit type the item is sold as, ie: kg, hour. |
SellingDetails.ItemsPerSellingUnit | Decimal | Number of items per selling unit. Note: if is IsInventoried = false null is returned. |
SellingDetails.TaxCode | object | The following set of information pulls through details for the Tax Code |
SellingDetails.TaxCode.UID | GUID (36) | Please note: Only required if IsSold = true Foreign Key : Unique tax code identifier in the form of a guid |
SellingDetails.TaxCode.Code | String (3) | 3 digit code assigned to the tax code. |
SellingDetails.TaxCode.URI | String | Uniform resource identifier associated with the tax code object. |
SellingDetails.IsTaxInclusive | Boolean | True indicates the selling prices are inclusive of tax. False indicates the selling prices are exclusive of tax |
SellingDetails.CalculateSalesTaxOn | String | ONLY APPLICABLE FOR AU REGION Sales tax can be calculated on any of the following Enum values: ActualSellingPrice BaseSellingPrice LevelA LevelB LevelC LevelD LevelE LevelF |
SellingDetails.PriceMatrixURI | String | Please note: Only available if Item IsSold = true more information on ItemPriceMatrix found here |
LocationDetails | array | An item assigned location(s) information. |
LocationDetails.Location | object | The following set of information pulls through details for the item associated location. |
LocationDetails.Location.UID | Guid (36) | Foreign Key : Unique identifier for location in the form of a guid. |
LocationDetails.Location.Identifier | String (10) | Identifier assigned to the location. |
LocationDetails.Location.Name | String (30) | Name assigned to the location. |
LocationDetails.Location.URI | String | Uniform resource identifier associated with the location object. |
LocationDetails.QuantityOnHand | Decimal (13.3) | Quantity of units held in inventory |
DefaultSellLocation | object | The following set of information pulls through details for the item associated location./li> |
DefaultSellLocation.UID | Guid (36) | Foreign Key : Unique identifier for location in the form of a guid. |
DefaultSellLocation.Identifier | String (10) | Identifier assigned to the location. |
DefaultSellLocation.Name | String (30) | Name assigned to the location. |
DefaultSellLocation.URI | String | Uniform resource identifier associated with the location object. |
DefaultReceiveLocation | object | The following set of information pulls through details for the item associated location./li> |
DefaultReceiveLocation.UID | Guid (36) | Foreign Key : Unique identifier for location in the form of a guid. |
DefaultReceiveLocation.Identifier | String (10) | Identifier assigned to the location. |
DefaultReceiveLocation.Name | String (30) | Name assigned to the location. |
DefaultReceiveLocation.URI | String | Uniform resource identifier associated with the location object. |
LastModified | DateTime | DateTime of the last time this resource was modified through a direct action to the object. eg a field was updated. |
PhotoURI | String | Uniform resource identifier associated with a photo image. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing item. NOT required when creating a new item. |