Skip to main content
Skip table of contents

IN Stock Item

URL

Verbs

Function

Available

StockItem

GET

Query a list of StockItems

 
StockItemPOSTCreate a new StockItem2021.3

StockItem/<code>

GET

Query a single StockItem

 
StockItem/<code>POSTUpdate an existing StockItem 

Supported modifiers

Query String

Definition

Sample
Available
modifiedSinceReturn Stock Items modified since a nominated date and time (Includes masterfile,  quantity and selling price updates)modifiedSince=2013-02-28T16:45:00 
treeName and treeBranchReturn a list of Stock Items assigned to a nominated branch of a nominated treetreeName=Colour-AUS&treeBranch=Blue 
primaryImageReturn the first attachment of type "Image" that is marked as Primaryaction=primaryImage 
sellingPriceQuery the price of a stock item, taking advantage of the full Greentree advanced pricing configurationaction=sellingPrice *refer table below for details on querying a selling price 
includeBarcodesInclude the set of barcodes with each itemincludeBarcodes=true 
includeSerialLotsInclude the set of Serial Lots with each itemincludeSerialLots=true 
isActiveOnly include active stock itemsisActive=true 
analysisCodeQuery a list of Stock Items for a particular Analysis CodeanalysisCode=INHOUSE 
analysisTreeName and analysisTreeBranchQuery a list of Stock Items for a particular Analysis Code Tree and BranchanalysisTreeName=Profile&analysisTreeBranch=Low 
oidQuery a Stock Item by its Oidoid=2576.76 
listOnlyReturn just the code and description for each Stock ItemlistOnly=true 
stockingLocationQuery a list of Stock Items for a particular LocationstockingLocation=01.03 
includeItemTextsInclude the Item Text collection with each itemincludeItemTexts=true 
includeAliasesInclude the Item Alias collection with each itemincludeAliases=true 
includeCompanionItemsInclude the Companion Item collection with each itemincludeCompanionItems=true 
includeSubstituteItemsInclude the Substitute Item collection with each itemincludeSubstituteItems=true 
includeComponentDefinitionsInclude the Kitset Component collection with each itemincludeComponentDefinitions=true 
stockItemModifiedSinceReturn Stock Items where the masterfile Stockitem was modified since a nominated date and time (ignores the quantity updates)stockItemModifiedSince=2013-02-28T16:45:002019.5
qtyModifiedSinceReturn Stock Items where the quantities of the stockitem were modified since a nominated date and time (ignores the masterfile updates)qtyModifiedSince=2013-02-28T16:45:002019.5
excludeUnitConversionsDo not Include the Unit Conversions with each itemexcludeUnitConversions=true2020.1
excludeSupplierDetailsDo not include the Supplier Details with each itemexcludeSupplierDetails=true2020.1
excludeStockLocationsDo not include the Stock Location with each itemexcludeStockLocations=true2020.1
excludePriceBooksDo not include the Price Books with each itemexcludePriceBooks=true2020.1
sellingPriceModifiedSinceReturn Stock Items where the Selling Price(s) were modified since a nominated date and time (ignores all other updates)sellingPriceModifiedSince=true2021.3

Security Linked Menu

Menu Item
Located
Inventory Item MaintenanceData Entry / Inventory

Sample XML Response

<?xml version="1.0" encoding="UTF-8"?>
<StockItem>
    <OidString>2576.227</OidString>
    <Edition>225</Edition>
    <Code>00AOPEN17MONITOR</Code>
    <Description>AOpen 17&quot; LCD Monitor</Description>
    <InstantAlert/>
    <ActivityCode>STOCK</ActivityCode>
    <ModifiedTimeStamp>2014-09-02T15:39:55</ModifiedTimeStamp>
    <Status>Active</Status>
    <IsActive>true</IsActive>
    <IsNonDiminishing>false</IsNonDiminishing>
    <UnitWeight>0.0000</UnitWeight>
    <UnitVolume>0.0000</UnitVolume>
    <StockingDecimalPlaces>0</StockingDecimalPlaces>
    <SellingUOM>EA</SellingUOM>
    <StockingUOM>EA</StockingUOM>
    <PurchasingUOM>EA</PurchasingUOM>
    <AnalysisCode>MONITO</AnalysisCode>
    <StockType>Not Serial/Lot Item</StockType>
    <SerialLotFormat>Alphanumeric</SerialLotFormat>
    <LengthOfSerialLotNo>20</LengthOfSerialLotNo>
    <IsPromptSerialLotAtPO>false</IsPromptSerialLotAtPO>
    <IsSerialLotNumberVariable>true</IsSerialLotNumberVariable>
    <IsStockParent>false</IsStockParent>
    <IsKeepWarranty>true</IsKeepWarranty>
    <IsAllowOverSelling>true</IsAllowOverSelling>
    <IsAllowNegativeOnHand>true</IsAllowNegativeOnHand>
    <StockRanking>None</StockRanking>
    <SalesAccountNo>*.*.*</SalesAccountNo>
    <CostAccountNo>*.*.*</CostAccountNo>
    <TransitAccountNo>*.*.*</TransitAccountNo>
    <ProductionAccountNo>*.*.*</ProductionAccountNo>
    <ProdVarianceAccountNo>*.*.*</ProdVarianceAccountNo>
    <ImageURL>00AOPEN17MONITOR.png</ImageURL>
    <LinkURL/>
    <DoesWetTaxApply>false</DoesWetTaxApply>
    <IsIndentItem>false</IsIndentItem>
    <DefaultBOMNarration/>
    <DutyCode>Electrical</DutyCode>
    <TaxCode>GST 10%</TaxCode>
    <StockTakeCycle>Monthly</StockTakeCycle>
    <IsPrintReceivingLabels>false</IsPrintReceivingLabels>
    <IsPrintRetailPricingLabels>false</IsPrintRetailPricingLabels>
    <IsPrintSerialLotNumber>false</IsPrintSerialLotNumber>
    <IsPrintReceivingBarcode>false</IsPrintReceivingBarcode>
    <IsPrintOneLabelPerLine>false</IsPrintOneLabelPerLine>
    <IsPrintBasedOnReceivingQty>false</IsPrintBasedOnReceivingQty>
    <LabelsPerUnit>0</LabelsPerUnit>
    <LabelPrintRetailOption>0</LabelPrintRetailOption>
    <PrintLabelsBaseUnit/>
    <Weight>0.0000</Weight>
    <Volume>0.0000</Volume>
    <AverageCostNet>563.4600</AverageCostNet>
    <AverageCostDate>2011-06-30</AverageCostDate>
    <QtyLastUpdatedTime>2014-08-29T12:03:47</QtyLastUpdatedTime>
    <QuantityAvailable>119.0000</QuantityAvailable>
    <QuantityCommitted>72.0000</QuantityCommitted>
    <QuantityInProduction>0</QuantityInProduction>
    <QuantityOnBackorder>4.0000</QuantityOnBackorder>
    <QuantityOnForwardOrder>3.0000</QuantityOnForwardOrder>
    <QuantityOnHand>193.0000</QuantityOnHand>
    <QuantityOnPurchaseOrder>29.0000</QuantityOnPurchaseOrder>
    <QuantityOnRequisition>50.0000</QuantityOnRequisition>
    <QuantityOnShipment>0.0000</QuantityOnShipment>
 	<StockLocations collection='true' count='3'>
        <StockLocation>
            <Location>02</Location>
            <LocationPath>02</LocationPath>
            <IsActive>true</IsActive>
            <IsPrimaryLocation>true</IsPrimaryLocation>
            <AverageCostNet>563.4600</AverageCostNet>
            <QuantityAvailable>96.0000</QuantityAvailable>
            <QuantityCommitted>69.0000</QuantityCommitted>
            <QuantityInProduction>0</QuantityInProduction>
            <QuantityOnBackorder>1.0000</QuantityOnBackorder>
            <QuantityOnForwardOrder>3.0000</QuantityOnForwardOrder>
            <QuantityOnHand>165.0000</QuantityOnHand>
            <QuantityOnPurchaseOrder>19.0000</QuantityOnPurchaseOrder>
            <QuantityOnRequisition>0</QuantityOnRequisition>
            <QuantityOnShipment>0.0000</QuantityOnShipment>
        </StockLocation>
        <StockLocation>
            <Location>Z01</Location>
            <LocationPath>03.Z01</LocationPath>
            <IsActive>true</IsActive>
            <IsPrimaryLocation>false</IsPrimaryLocation>
            <AverageCostNet>563.4600</AverageCostNet>
            <QuantityAvailable>10.0000</QuantityAvailable>
            <QuantityCommitted>0</QuantityCommitted>
            <QuantityInProduction>0</QuantityInProduction>
            <QuantityOnBackorder>0.0000</QuantityOnBackorder>
            <QuantityOnForwardOrder>0</QuantityOnForwardOrder>
            <QuantityOnHand>10.0000</QuantityOnHand>
            <QuantityOnPurchaseOrder>10.0000</QuantityOnPurchaseOrder>
            <QuantityOnRequisition>50.0000</QuantityOnRequisition>
            <QuantityOnShipment>0.0000</QuantityOnShipment>
        </StockLocation>
        <StockLocation>
            <Location>Z02</Location>
            <LocationPath>03.Z02</LocationPath>
            <IsActive>true</IsActive>
            <IsPrimaryLocation>false</IsPrimaryLocation>
            <AverageCostNet>563.4600</AverageCostNet>
            <QuantityAvailable>10.0000</QuantityAvailable>
            <QuantityCommitted>0</QuantityCommitted>
            <QuantityInProduction>0</QuantityInProduction>
            <QuantityOnBackorder>0.0000</QuantityOnBackorder>
            <QuantityOnForwardOrder>0</QuantityOnForwardOrder>
            <QuantityOnHand>10.0000</QuantityOnHand>
            <QuantityOnPurchaseOrder>0</QuantityOnPurchaseOrder>
            <QuantityOnRequisition>0</QuantityOnRequisition>
            <QuantityOnShipment>0.0000</QuantityOnShipment>
        </StockLocation>
    </StockLocations>
    <SellingPrices collection='true' count='3'>
        <SellingPrice>
            <MarginPercent>8.33</MarginPercent>
            <MarginValue>0</MarginValue>
            <MarkupPercent>9.09</MarkupPercent>
            <ReviewDate>2008-12-08</ReviewDate>
            <LastUpdateDate/>
            <IsActive>true</IsActive>
            <Currency>AUD</Currency>
            <Location/>
            <TaxCode>GST 10%</TaxCode>
            <UnitOfMeasure>EA</UnitOfMeasure>
            <PriceLevel>RETAIL</PriceLevel>
            <NetPrice>612.4700</NetPrice>
        </SellingPrice>
        <SellingPrice>
            <MarginPercent>13.04</MarginPercent>
            <MarginValue>0</MarginValue>
            <MarkupPercent>15.00</MarkupPercent>
            <ReviewDate>2011-05-10</ReviewDate>
            <LastUpdateDate/>
            <IsActive>true</IsActive>
            <Currency>AUD</Currency>
            <Location/>
            <TaxCode>GST 10%</TaxCode>
            <UnitOfMeasure>EA</UnitOfMeasure>
            <PriceLevel>SPECIAL</PriceLevel>
            <NetPrice>795.0000</NetPrice>
        </SellingPrice>
        <SellingPrice>
            <MarginPercent>9.09</MarginPercent>
            <MarginValue>0</MarginValue>
            <MarkupPercent>10.00</MarkupPercent>
            <ReviewDate>2011-05-10</ReviewDate>
            <LastUpdateDate/>
            <IsActive>true</IsActive>
            <Currency>AUD</Currency>
            <Location/>
            <TaxCode>GST 10%</TaxCode>
            <UnitOfMeasure>EA</UnitOfMeasure>
            <PriceLevel>WHOLE</PriceLevel>
            <NetPrice>665.0000</NetPrice>
        </SellingPrice>
    </SellingPrices>
    <UnitConversions collection='true' count='1'>
        <UnitConversion>
            <OidString>3141.1</OidString>
            <Edition>2</Edition>
            <UnitOfMeasureTo>EA</UnitOfMeasureTo>
            <UnitOfMeasureFrom>BOX</UnitOfMeasureFrom>
            <Rate>10.000000000</Rate>
        </UnitConversion>
    </UnitConversions>
	<SerialLots collection='true' count='4'>
        <INSerialLot>
            <Number>SDM10118</Number>
            <Description/>
            <Status>Active</Status>
            <IsSuspense>false</IsSuspense>
        </INSerialLot>
        <INSerialLot>
            <Number>SDM10119</Number>
            <Description/>
            <Status>Active</Status>
            <IsSuspense>false</IsSuspense>
        </INSerialLot>
        <INSerialLot>
            <Number>SDM10120</Number>
            <Description/>
            <Status>Active</Status>
            <IsSuspense>false</IsSuspense>
        </INSerialLot>
        <INSerialLot>
            <Number>SDM10121</Number>
            <Description/>
            <Status>Active</Status>
            <IsSuspense>false</IsSuspense>
        </INSerialLot>
    </SerialLots> 
    <CompanionItems collection='true' count='1'>
        <CompanionItem>
            <OidString>3660.1</OidString>
            <Edition>4</Edition>
            <Code>ZELLOWS17SCRENFILTER</Code>
            <DefaultQty>1.0000</DefaultQty>
            <Narration>Comp1</Narration>
        </CompanionItem>
    </CompanionItems>
    <SubstituteItems collection='true' count='8'>
        <SubstituteItem>
            <OidString>3658.8</OidString>
            <Edition>2</Edition>
            <Code>BENQ17G774LCD</Code>
            <Narration/>
        </SubstituteItem>
        <SubstituteItem>
            <OidString>3658.9</OidString>
            <Edition>2</Edition>
            <Code>BENQ17LCD</Code>
            <Narration/>
        </SubstituteItem>
        <SubstituteItem>
            <OidString>3658.10</OidString>
            <Edition>2</Edition>
            <Code>SONY15LCD</Code>
            <Narration/>
        </SubstituteItem>
        <SubstituteItem>
            <OidString>3658.11</OidString>
            <Edition>2</Edition>
            <Code>SONY17LCD</Code>
            <Narration/>
        </SubstituteItem>
        <SubstituteItem>
            <OidString>3658.12</OidString>
            <Edition>2</Edition>
            <Code>SONY19LCD</Code>
            <Narration/>
        </SubstituteItem>
    </SubstituteItems>
    <Aliases collection='true' count='3'>
        <Alias>
            <OidString>3155.3</OidString>
            <Edition>4</Edition>
            <Name>Monitor</Name>
            <Narration>Notes1</Narration>
        </Alias>
        <Alias>
            <OidString>3155.2</OidString>
            <Edition>4</Edition>
            <Name>Screen</Name>
            <Narration>Notes2</Narration>
        </Alias>
        <Alias>
            <OidString>3155.1</OidString>
            <Edition>4</Edition>
            <Name>TFT</Name>
            <Narration>Notes3</Narration>
        </Alias>
    </Aliases>
	<ComponentDefinitions collection='true' count='5'>
    	<ComponentDefinition>
        	<OidString>2839.27</OidString>
            <Edition>1</Edition>
            <ComponentType>INComponentStockDefn</ComponentType>
            <Code>AOPEN19LCD</Code>
            <Quantity>1.0000</Quantity>
            <UnitCost>550.0000</UnitCost>
            <IsMandatory>true</IsMandatory>
            <IsAllowQuantityChange>false</IsAllowQuantityChange>
            <IsAllowSubstitution>false</IsAllowSubstitution>
            <UnitOfMeasure>EA</UnitOfMeasure>
		</ComponentDefinition>
        <ComponentDefinition>
        	<OidString>2839.28</OidString>
            <Edition>1</Edition>
            <ComponentType>INComponentStockDefn</ComponentType>
            <Code>AOPENDVDCDROM48X</Code>
            <Quantity>1.0000</Quantity>
            <UnitCost>82.7100</UnitCost>
            <IsMandatory>true</IsMandatory>
            <IsAllowQuantityChange>false</IsAllowQuantityChange>
            <IsAllowSubstitution>false</IsAllowSubstitution>
            <UnitOfMeasure>EA</UnitOfMeasure>
        </ComponentDefinition>
		<ComponentDefinition>
            <OidString>2839.29</OidString>
            <Edition>1</Edition>
            <ComponentType>INComponentStockDefn</ComponentType>
            <Code>AOPENAW744LSCARD</Code>
            <Quantity>1.0000</Quantity>
            <UnitCost>270.0000</UnitCost>
            <IsMandatory>true</IsMandatory>
            <IsAllowQuantityChange>false</IsAllowQuantityChange>
            <IsAllowSubstitution>false</IsAllowSubstitution>
        	<UnitOfMeasure>EA</UnitOfMeasure>
        </ComponentDefinition>
		<ComponentDefinition>
            <OidString>2839.30</OidString>
            <Edition>1</Edition>
            <ComponentType>INComponentStockDefn</ComponentType>
            <Code>ALTEC220WSPEAKERS</Code>
            <Quantity>2.0000</Quantity>
            <UnitCost>48.8700</UnitCost>
            <IsMandatory>true</IsMandatory>
            <IsAllowQuantityChange>false</IsAllowQuantityChange>
            <IsAllowSubstitution>false</IsAllowSubstitution>
        	<UnitOfMeasure>EA</UnitOfMeasure>
		</ComponentDefinition>
		<ComponentDefinition>
            <OidString>2839.31</OidString>
            <Edition>1</Edition>
            <ComponentType>INComponentStockDefn</ComponentType>
            <Code>AOPENMOUSEWHEEL</Code>
            <Quantity>1.0000</Quantity>
            <UnitCost>15.7800</UnitCost>
            <IsMandatory>true</IsMandatory>
            <IsAllowQuantityChange>false</IsAllowQuantityChange>
            <IsAllowSubstitution>false</IsAllowSubstitution>
			<UnitOfMeasure>EA</UnitOfMeasure>
		</ComponentDefinition>
	</ComponentDefinitions>
    <UserDefinedFields collection='true' count='5'>
        <UserDefinedField>
            <Name>01 - Image URL</Name>
            <Type>String</Type>
            <Value/>
        </UserDefinedField>
        <UserDefinedField>
            <Name>02 - Link URL</Name>
            <Type>String</Type>
            <Value/>
        </UserDefinedField>
        <UserDefinedField>
            <Name>Manager</Name>
            <Type>String</Type>
            <Value>Bob Hill</Value>
        </UserDefinedField>
        <UserDefinedField>
            <Name>Start Date</Name>
            <Type>String</Type>
            <Value>02/01/2003</Value>
        </UserDefinedField>
        <UserDefinedField>
            <Name>Type</Name>
            <Type>String</Type>
            <Value/>
        </UserDefinedField>
    </UserDefinedFields>
    <Trees collection='true' count='5'>
        <Tree>
            <Name>Items by Manufacturer</Name>
            <IsMandatory>false</IsMandatory>
            <Value>Aopen</Value>
            <Path>Aopen</Path>
        </Tree>
        <Tree>
            <Name>Product Catalogue</Name>
            <IsMandatory>false</IsMandatory>
            <Value>TFT Screens</Value>
            <Path>TFT Screens</Path>
        </Tree>
        <Tree>
            <Name>StockItem-AUS</Name>
            <IsMandatory>false</IsMandatory>
            <Value>ALL-AUS</Value>
            <Path>ALL-AUS</Path>
        </Tree>
        <Tree>
            <Name>StockItemTree</Name>
            <IsMandatory>false</IsMandatory>
            <Value>All</Value>
            <Path>All</Path>
        </Tree>
        <Tree>
            <Name>Webstore Catalogue</Name>
            <IsMandatory>false</IsMandatory>
            <Value>TFT Screens</Value>
            <Path>Catalogue\TFT Screens</Path>
        </Tree>
    </Trees>
    <Attachments collection='true' count='2'>
        <Attachment>
            <Name>CRTMonitorAC90119UVGA.gif</Name>
            <FileName>CRTMonitorAC90119UVGA.gif</FileName>
            <FileSize>6608</FileSize>
            <ModifiedTimeStamp>2007-07-08T15:37:06</ModifiedTimeStamp>
        </Attachment>
        <Attachment>
            <Name>Quote</Name>
            <FileName>Q20956.pdf</FileName>
            <FileSize>6325</FileSize>
            <ModifiedTimeStamp>2008-07-19T11:56:11</ModifiedTimeStamp>
        </Attachment>
    </Attachments>
</StockItem>

Modifiers for using the sellingPrice action

Query String

Definition

Sample
Available
customerCustomer to query a selling price forcustomer=1000 
priceLevelPrice Level to use for the price calculation. If not included will default to customer default price level, or the module default.  To force an empty price level, you can pass a special priceLevel of "none"priceLevel=RETAIL"none" available 2019.3
currencyCurrency code. If not included will default to customer currencycurrency=AUD 
dateDate to use for price calculation, used for date based pricing. If not included will default to todays date (server based)date=2013-11-20 
quantityHow many of the stock item, used for quantity break calculations. If not included will default to 1quantity=11 
locationLocation for price calculationlocation=02 
taxInclusiveIndicate whether price returned should be tax inclusive or exclusive. If not included will default to IN Control Pricing tax typetaxInclusive=false 
unitOfMeasureWhich unit of measure to calculate a price for. If not included will default to StockItem selling unit of measureunitOfMeasure=EA 
addressNoDelivery address number for the customer.addressNo=1 
taxRateTax rate to be used in the calculation. If not included will be calculated from the tax codetaxRate=10.00 
taxCodeTax code to be used. Will be used totaxCode=GST 
currencyRateExchange rate to be used. If not included will default to 1.00currencyRate=0.88 
transactionTypeIN Transaction Type to be used.transactionType=+ADJ 
isCurrencyMultiplyIndicate if the currencyRate should be multiplied or divided against the home currencyisCurrencyMultiply=true 
tracePriceStepsInclude a dump of the steps used to calculate the pricing to aid in debugging and determining how the price was calculatedtracePriceSteps=true2019.3

Sample XML Response

<?xml version="1.0" encoding="UTF-8"?>
<SellingPrice>
    <Customer>1001</Customer>
    <PriceLevel>SPECIAL</PriceLevel>
    <TaxCode>GST 10%</TaxCode>
    <IsTaxInclusive>false</IsTaxInclusive>
    <StockItem>00AOPEN17MONITOR</StockItem>
    <Quantity>1.0000</Quantity>
    <TaxRate>10.00000000</TaxRate>
    <DiscountPercentage>2.50</DiscountPercentage>
    <Price>604.3100</Price>
    <CurrencyRate>0.00000000</CurrencyRate>
    <IsCurrencyMultiply>true</IsCurrencyMultiply>
    <Currency>AUD</Currency>
    <UnitOfMeasure>EA</UnitOfMeasure>
    <PriceFound>true</PriceFound>
    <PriceType>6</PriceType>
    <IsAdvancedDiscountFound>true</IsAdvancedDiscountFound>
    <Date>2019-06-12</Date>
    <PriceSteps>
        <PriceStep1>*** Item 00AOPEN17MONITOR: Start to find the standard price and discount ***</PriceStep1>
        <PriceStep2>Found price from standard price line 2: unit price 795.0000, 0.00% discount;</PriceStep2>
        <PriceStep3>*** Start to find the advanced price and discount ***</PriceStep3>
        <PriceStep4>Found advanced price in Customer/Item specific pricing line 1: unit price 619.8060 and discount 2.50%</PriceStep4>
        <PriceStep5>Compare the search results with the previous advanced pricing method...</PriceStep5>
        <PriceStep6>Compare advanced search results up to Customer Code/Stock Item Code method: unit price 619.8060 comes with discount 2.50%; </PriceStep6>
        <PriceStep7>*** Decision making: Advanced price found, and using best price across the standard and advanced prices ***</PriceStep7>
        <PriceStep8>Use price and discount from single advanced pricing: unit price 619.8060, 2.50% discount;</PriceStep8>
        <PriceStep9>Round the price to the right decimal places:: unit price 619.8060, 2.50% discount;</PriceStep9>
    </PriceSteps>
</SellingPrice>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.