IN Advanced Pricing Price Level & Stock Item
|
URL |
Verbs |
Function |
Version |
|---|---|---|---|
|
/INAPPriceLevelStockItem |
GET |
Query a list of IN Advanced Prices by Price Level & Stock Item |
2021.2 |
|
/INAPPriceLevelStockItem |
POST |
Create a new IN Advanced Prices for Price Level & Stock Item |
2021.2* |
|
/INAPPriceLevelStockItem/<priceLevel>/<stockItem>/<unitOfMeasure> |
GET |
Query a list of IN Advanced Prices by Price Level & Stock Item for a particular Customer Code and Stock Item and Unit of Measure |
2021.2 |
|
/INAPPriceLevelStockItem/<priceLevel>/<stockItem>/<unitOfMeasure>?<currency>&<location>&<isActive> |
POST |
Update and existing IN Advanced Prices for Price Level & Stock Item |
2021.2* |
* Does not yet support update/create of Quantity Breaks - as at 2021.2
Advanced Prices support a composite primary key based on a list of properties used in conjunction with each types specific "properties". When performing a GET to try and lookup a particular Advanced Price, or POST to update an existing Advanced Price you can use a combination of the Lookup modifiers defined below.
Lookup modifiers
|
Query String |
Definition |
Sample |
Version |
|---|---|---|---|
|
currency |
Look for an Advanced Price for a particular Currency |
currency=USD |
2021.2 |
|
location |
Look for an Advanced Price for a particular IN Location |
location=Warehouse |
2021.2 |
|
isActive |
Look for an Advanced Price that is Active or not |
isActive=true |
2021.2 |
Supported modifiers
|
Query String |
Definition |
Sample |
Version |
|---|---|---|---|
| group | Return a list of Advanced Prices for a Pricing Group | group=Black Friday | 2021.2 |
| priceLevel | Return a list of Advanced Prices for a Price Level | priceLevel=TRADE | 2021.2 |
| stockItem | Return a list of Advanced Prices for a Stock Item | stockItem=02 | 2021.2 |
Security Linked Menu
|
Menu Item |
Located |
|---|---|
| Advanced Pricing Maintenance | Data Entry / Inventory |
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<INAPPriceLevelStockItems collection='true' count='1'>
<INAPPriceLevelStockItem>
<Edition>1</Edition>
<OidString>4578.1</OidString>
<IsActive>true</IsActive>
<IsDiscountUsed>true</IsDiscountUsed>
<IsIgnoreMaxDisc>false</IsIgnoreMaxDisc>
<IsIgnoreMinGP>false</IsIgnoreMinGP>
<IsMarkupUsed>false</IsMarkupUsed>
<IsPriceUsed>false</IsPriceUsed>
<IsUseDateRange>false</IsUseDateRange>
<MarginPercentage>0.00</MarginPercentage>
<MarginValue>0.0000</MarginValue>
<MarkupPercentage>0.00</MarkupPercentage>
<DiscountPercentage>3.00</DiscountPercentage>
<NetPrice>0.0000</NetPrice>
<Currency>AUD</Currency>
<Group>Trade Stock</Group>
<UnitOfMeasure>EA</UnitOfMeasure>
<StockItem>01MSI845MAX2</StockItem>
<PriceLevel>TRADE</PriceLevel>
</INAPPriceLevelStockItem>
</INAPPriceLevelStockItems>