Gets all prices for prices data file
Endpoint:
GET v1/price?zipCode={zipCode}&warehouseId={warehouseId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
zipCode | string |
None. |
|
warehouseId | string |
None. |
Body Parameters
None.
Response Information
Collection of PriceApiName | Description | Type | Additional information |
---|---|---|---|
PartId | string |
None. |
|
Name | string |
None. |
|
BrandId | string |
None. |
|
BrandName | string |
None. |
|
EachPrice | decimal number |
None. |
|
BracketQtyLow1 | integer |
None. |
|
BracketQtyHigh1 | integer |
None. |
|
BracketPrice1 | decimal number |
None. |
|
BracketQtyLow2 | integer |
None. |
|
BracketQtyHigh2 | integer |
None. |
|
BracketPrice2 | decimal number |
None. |
|
BracketQtyLow3 | integer |
None. |
|
BracketQtyHigh3 | integer |
None. |
|
BracketPrice3 | decimal number |
None. |
|
BracketQtyLow4 | integer |
None. |
|
BracketQtyHigh4 | integer |
None. |
|
BracketPrice4 | decimal number |
None. |
|
BracketQtyLow5 | integer |
None. |
|
BracketQtyHigh5 | integer |
None. |
|
BracketPrice5 | decimal number |
None. |
|
EachMsrp | decimal number |
None. |
|
EachWholesale | decimal number |
None. |
Response Examples
application/json, text/json :
[ { "PartId": "sample string 1", "Name": "sample string 2", "BrandId": "sample string 3", "BrandName": "sample string 4", "EachPrice": 1.0, "BracketQtyLow1": 1, "BracketQtyHigh1": 1, "BracketPrice1": 1.0, "BracketQtyLow2": 1, "BracketQtyHigh2": 1, "BracketPrice2": 1.0, "BracketQtyLow3": 1, "BracketQtyHigh3": 1, "BracketPrice3": 1.0, "BracketQtyLow4": 1, "BracketQtyHigh4": 1, "BracketPrice4": 1.0, "BracketQtyLow5": 1, "BracketQtyHigh5": 1, "BracketPrice5": 1.0, "EachMsrp": 1.0, "EachWholesale": 1.0 }, { "PartId": "sample string 1", "Name": "sample string 2", "BrandId": "sample string 3", "BrandName": "sample string 4", "EachPrice": 1.0, "BracketQtyLow1": 1, "BracketQtyHigh1": 1, "BracketPrice1": 1.0, "BracketQtyLow2": 1, "BracketQtyHigh2": 1, "BracketPrice2": 1.0, "BracketQtyLow3": 1, "BracketQtyHigh3": 1, "BracketPrice3": 1.0, "BracketQtyLow4": 1, "BracketQtyHigh4": 1, "BracketPrice4": 1.0, "BracketQtyLow5": 1, "BracketQtyHigh5": 1, "BracketPrice5": 1.0, "EachMsrp": 1.0, "EachWholesale": 1.0 } ]
text/javascript :
[{"PartId":"sample string 1","Name":"sample string 2","BrandId":"sample string 3","BrandName":"sample string 4","EachPrice":1.0,"BracketQtyLow1":1,"BracketQtyHigh1":1,"BracketPrice1":1.0,"BracketQtyLow2":1,"BracketQtyHigh2":1,"BracketPrice2":1.0,"BracketQtyLow3":1,"BracketQtyHigh3":1,"BracketPrice3":1.0,"BracketQtyLow4":1,"BracketQtyHigh4":1,"BracketPrice4":1.0,"BracketQtyLow5":1,"BracketQtyHigh5":1,"BracketPrice5":1.0,"EachMsrp":1.0,"EachWholesale":1.0},{"PartId":"sample string 1","Name":"sample string 2","BrandId":"sample string 3","BrandName":"sample string 4","EachPrice":1.0,"BracketQtyLow1":1,"BracketQtyHigh1":1,"BracketPrice1":1.0,"BracketQtyLow2":1,"BracketQtyHigh2":1,"BracketPrice2":1.0,"BracketQtyLow3":1,"BracketQtyHigh3":1,"BracketPrice3":1.0,"BracketQtyLow4":1,"BracketQtyHigh4":1,"BracketPrice4":1.0,"BracketQtyLow5":1,"BracketQtyHigh5":1,"BracketPrice5":1.0,"EachMsrp":1.0,"EachWholesale":1.0}]
application/xml, text/xml :
<ArrayOfPriceApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models"> <PriceApi> <BracketPrice1>1</BracketPrice1> <BracketPrice2>1</BracketPrice2> <BracketPrice3>1</BracketPrice3> <BracketPrice4>1</BracketPrice4> <BracketPrice5>1</BracketPrice5> <BracketQtyHigh1>1</BracketQtyHigh1> <BracketQtyHigh2>1</BracketQtyHigh2> <BracketQtyHigh3>1</BracketQtyHigh3> <BracketQtyHigh4>1</BracketQtyHigh4> <BracketQtyHigh5>1</BracketQtyHigh5> <BracketQtyLow1>1</BracketQtyLow1> <BracketQtyLow2>1</BracketQtyLow2> <BracketQtyLow3>1</BracketQtyLow3> <BracketQtyLow4>1</BracketQtyLow4> <BracketQtyLow5>1</BracketQtyLow5> <BrandId>sample string 3</BrandId> <BrandName>sample string 4</BrandName> <EachMsrp>1</EachMsrp> <EachPrice>1</EachPrice> <EachWholesale>1</EachWholesale> <Name>sample string 2</Name> <PartId>sample string 1</PartId> </PriceApi> <PriceApi> <BracketPrice1>1</BracketPrice1> <BracketPrice2>1</BracketPrice2> <BracketPrice3>1</BracketPrice3> <BracketPrice4>1</BracketPrice4> <BracketPrice5>1</BracketPrice5> <BracketQtyHigh1>1</BracketQtyHigh1> <BracketQtyHigh2>1</BracketQtyHigh2> <BracketQtyHigh3>1</BracketQtyHigh3> <BracketQtyHigh4>1</BracketQtyHigh4> <BracketQtyHigh5>1</BracketQtyHigh5> <BracketQtyLow1>1</BracketQtyLow1> <BracketQtyLow2>1</BracketQtyLow2> <BracketQtyLow3>1</BracketQtyLow3> <BracketQtyLow4>1</BracketQtyLow4> <BracketQtyLow5>1</BracketQtyLow5> <BrandId>sample string 3</BrandId> <BrandName>sample string 4</BrandName> <EachMsrp>1</EachMsrp> <EachPrice>1</EachPrice> <EachWholesale>1</EachWholesale> <Name>sample string 2</Name> <PartId>sample string 1</PartId> </PriceApi> </ArrayOfPriceApi>
text/csv :
PartId,Name,BrandId,BrandName,EachPrice,BracketQtyLow1,BracketQtyHigh1,BracketPrice1,BracketQtyLow2,BracketQtyHigh2,BracketPrice2,BracketQtyLow3,BracketQtyHigh3,BracketPrice3,BracketQtyLow4,BracketQtyHigh4,BracketPrice4,BracketQtyLow5,BracketQtyHigh5,BracketPrice5,EachMsrp,EachWholesale sample string 1,sample string 2,sample string 3,sample string 4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 sample string 1,sample string 2,sample string 3,sample string 4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
text/tsv :
PartId Name BrandId BrandName EachPrice BracketQtyLow1 BracketQtyHigh1 BracketPrice1 BracketQtyLow2 BracketQtyHigh2 BracketPrice2 BracketQtyLow3 BracketQtyHigh3 BracketPrice3 BracketQtyLow4 BracketQtyHigh4 BracketPrice4 BracketQtyLow5 BracketQtyHigh5 BracketPrice5 EachMsrp EachWholesale sample string 1 sample string 2 sample string 3 sample string 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 sample string 1 sample string 2 sample string 3 sample string 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1