GET api/v7/ProductPrices/{productCode}?priceStartDate={priceStartDate}
Search products price for client and return products price information as response.
Request Information
URI Parameters
Name | Description | Type | Required? | Additional information |
---|---|---|---|---|
productCode * |
Product code to lookup a product prices |
string |
Yes |
None. |
priceStartDate * |
Product price start date to lookup a product prices |
date |
Yes |
None. |
Body Parameters
None.
Response Information
Resource Description
A response contains related products price information
ProductPriceResponseName | Description | Type |
---|---|---|
productCode |
PLU Key |
string |
productPrices | Collection of ProductPriceData |
Response Formats
application/json, text/json
Sample:
{ "productCode": "11111111111111", "productPrices": [ { "currencyCode": "USD", "effectiveStart": "2010-04-06T14:15:45", "orgUnitLevelIndex": 0, "priceAttributes": { "eventId": 111, "eventName": "Event name" }, "originalPrice": 19.0, "unitPrice": 19.99, "bulkPrice": 1.0, "clearance": "0", "customerAuditDate": "2018-01-01T00:00:00" } ] }
application/xml, text/xml
Sample:
<ProductPriceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <productCode>11111111111111</productCode> <productPrices> <ProductPriceData> <originalPrice>19.00</originalPrice> <compValuePrice xsi:nil="true" /> <specialMemberPrice xsi:nil="true" /> <unitPrice>19.99</unitPrice> <unitCost xsi:nil="true" /> <seasonalLowPrice xsi:nil="true" /> <lastNonClearancePrice xsi:nil="true" /> <bulkQuantity xsi:nil="true" /> <bulkPrice>1.00</bulkPrice> <clearance>0</clearance> <customerAuditDate>2018-01-01T00:00:00</customerAuditDate> <currencyCode>USD</currencyCode> <effectiveStart>2010-04-06T14:15:45</effectiveStart> <effectiveEnd xsi:nil="true" /> <orgUnitLevelIndex>0</orgUnitLevelIndex> <priceAttributes> <eventId>111</eventId> <eventName>Event name</eventName> </priceAttributes> </ProductPriceData> </productPrices> </ProductPriceResponse>