This document outlines the purpose, technology, methods and objects for using the Item Pricing API.
This API provides access to customer specific item pricing information on the current website and display state.
The Item Pricing API endpoint for any site is located at http://[siteurl]/api/itempricing.
This endpoint is enabled for access via HTTP GET.
| Name | Type | Description |
|---|---|---|
| identifiers | string | Array of items to retrieve. |
Sample: http://[siteurl]/api/itempricing/?identifiers=item1&identifiers=item2&identifiers=item3
None
| Name | Type | Description |
|---|---|---|
| Barcode | string | Product item code. |
| NowPrice | string | Buy now price. |
| WasPrice | string | Was price. |
[
{
"Barcode":"barcode1",
"NowPrice":"189.0000",
"WasPrice":"229.0000"
},
{
"Barcode":"barcode2",
"NowPrice":"229.0000",
"WasPrice":"229.0000"
}
]
<ItemPricings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ItemPricing> <Barcode>barcode1</Barcode> <WasPrice>189.0000</WasPrice> <NowPrice>229.0000</NowPrice> </ItemPricing> <ItemPricing> <Barcode>barcode2</Barcode> <WasPrice>229.0000</WasPrice> <NowPrice>229.0000</NowPrice> </ItemPricing> </ItemPricings>
| Name | Type | Description |
|---|---|---|
| identifier | string | Item to retrieve. |
Sample: http://[siteurl]/api/itempricing/barcode1
None
| Name | Type | Description |
|---|---|---|
| Barcode | string | Product item code. |
| NowPrice | string | Buy now price. |
| WasPrice | string | Was price. |
[
{
"Barcode":"barcode1",
"NowPrice":"189.0000",
"WasPrice":"229.0000"
}
]
<ItemPricings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ItemPricing> <Barcode>barcode1</Barcode> <WasPrice>189.0000</WasPrice> <NowPrice>229.0000</NowPrice> </Pricing> </Pricings>