Price
Endpoint:
GET v2/Part/Price?PartId={PartId}&ZipCode={ZipCode}&WarehouseId={WarehouseId}&ReferenceId={ReferenceId}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PartId | string |
None. |
|
| ZipCode | string |
None. |
|
| WarehouseId | string |
None. |
|
| ReferenceId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
ResponseDataOfListOfPriceApi| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ResponseId | globally unique identifier |
None. |
|
| ReferenceId | globally unique identifier |
None. |
|
| SuccessCount | integer |
None. |
|
| Message | string |
None. |
|
| ValidationResults | Validation |
None. |
|
| QueryTime | string |
None. |
|
| Data | Collection of PriceApi |
None. |
Response Examples
application/json, text/json :
{
"Success": true,
"ResponseId": "abd7d440-e3b1-4c94-ab6f-594520e9cf94",
"ReferenceId": "30b2a4ef-76b0-446b-a99f-a674c2782453",
"SuccessCount": 3,
"Message": "sample string 4",
"ValidationResults": {
"IsValid": false,
"Errors": [],
"Warnings": [],
"Info": [
{
"FieldName": "sample string 1",
"FieldValue": "sample string 2",
"Allow": true,
"Message": "sample string 5",
"Severity": 0,
"Category": 0
},
{
"FieldName": "sample string 1",
"FieldValue": "sample string 2",
"Allow": true,
"Message": "sample string 5",
"Severity": 0,
"Category": 0
}
]
},
"QueryTime": "sample string 5",
"Data": [
{
"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 :
{"Success":true,"ResponseId":"abd7d440-e3b1-4c94-ab6f-594520e9cf94","ReferenceId":"30b2a4ef-76b0-446b-a99f-a674c2782453","SuccessCount":3,"Message":"sample string 4","ValidationResults":{"IsValid":false,"Errors":[],"Warnings":[],"Info":[{"FieldName":"sample string 1","FieldValue":"sample string 2","Allow":true,"Message":"sample string 5","Severity":0,"Category":0},{"FieldName":"sample string 1","FieldValue":"sample string 2","Allow":true,"Message":"sample string 5","Severity":0,"Category":0}]},"QueryTime":"sample string 5","Data":[{"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 :
<ResponseDataOfArrayOfPriceApiuwLiWYs0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models.Api.V2.Responses">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models">
<d2p1:PriceApi>
<d2p1:BracketPrice1>1</d2p1:BracketPrice1>
<d2p1:BracketPrice2>1</d2p1:BracketPrice2>
<d2p1:BracketPrice3>1</d2p1:BracketPrice3>
<d2p1:BracketPrice4>1</d2p1:BracketPrice4>
<d2p1:BracketPrice5>1</d2p1:BracketPrice5>
<d2p1:BracketQtyHigh1>1</d2p1:BracketQtyHigh1>
<d2p1:BracketQtyHigh2>1</d2p1:BracketQtyHigh2>
<d2p1:BracketQtyHigh3>1</d2p1:BracketQtyHigh3>
<d2p1:BracketQtyHigh4>1</d2p1:BracketQtyHigh4>
<d2p1:BracketQtyHigh5>1</d2p1:BracketQtyHigh5>
<d2p1:BracketQtyLow1>1</d2p1:BracketQtyLow1>
<d2p1:BracketQtyLow2>1</d2p1:BracketQtyLow2>
<d2p1:BracketQtyLow3>1</d2p1:BracketQtyLow3>
<d2p1:BracketQtyLow4>1</d2p1:BracketQtyLow4>
<d2p1:BracketQtyLow5>1</d2p1:BracketQtyLow5>
<d2p1:BrandId>sample string 3</d2p1:BrandId>
<d2p1:BrandName>sample string 4</d2p1:BrandName>
<d2p1:EachMsrp>1</d2p1:EachMsrp>
<d2p1:EachPrice>1</d2p1:EachPrice>
<d2p1:EachWholesale>1</d2p1:EachWholesale>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PartId>sample string 1</d2p1:PartId>
</d2p1:PriceApi>
<d2p1:PriceApi>
<d2p1:BracketPrice1>1</d2p1:BracketPrice1>
<d2p1:BracketPrice2>1</d2p1:BracketPrice2>
<d2p1:BracketPrice3>1</d2p1:BracketPrice3>
<d2p1:BracketPrice4>1</d2p1:BracketPrice4>
<d2p1:BracketPrice5>1</d2p1:BracketPrice5>
<d2p1:BracketQtyHigh1>1</d2p1:BracketQtyHigh1>
<d2p1:BracketQtyHigh2>1</d2p1:BracketQtyHigh2>
<d2p1:BracketQtyHigh3>1</d2p1:BracketQtyHigh3>
<d2p1:BracketQtyHigh4>1</d2p1:BracketQtyHigh4>
<d2p1:BracketQtyHigh5>1</d2p1:BracketQtyHigh5>
<d2p1:BracketQtyLow1>1</d2p1:BracketQtyLow1>
<d2p1:BracketQtyLow2>1</d2p1:BracketQtyLow2>
<d2p1:BracketQtyLow3>1</d2p1:BracketQtyLow3>
<d2p1:BracketQtyLow4>1</d2p1:BracketQtyLow4>
<d2p1:BracketQtyLow5>1</d2p1:BracketQtyLow5>
<d2p1:BrandId>sample string 3</d2p1:BrandId>
<d2p1:BrandName>sample string 4</d2p1:BrandName>
<d2p1:EachMsrp>1</d2p1:EachMsrp>
<d2p1:EachPrice>1</d2p1:EachPrice>
<d2p1:EachWholesale>1</d2p1:EachWholesale>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:PartId>sample string 1</d2p1:PartId>
</d2p1:PriceApi>
</Data>
<Message>sample string 4</Message>
<QueryTime>sample string 5</QueryTime>
<ReferenceId>30b2a4ef-76b0-446b-a99f-a674c2782453</ReferenceId>
<ResponseId>abd7d440-e3b1-4c94-ab6f-594520e9cf94</ResponseId>
<Success>true</Success>
<SuccessCount>3</SuccessCount>
<ValidationResults xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models">
<d2p1:Errors />
<d2p1:Info>
<d2p1:ValidationSummary>
<d2p1:Allow>true</d2p1:Allow>
<d2p1:Category>Missing</d2p1:Category>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:FieldValue>sample string 2</d2p1:FieldValue>
<d2p1:Severity>Info</d2p1:Severity>
</d2p1:ValidationSummary>
<d2p1:ValidationSummary>
<d2p1:Allow>true</d2p1:Allow>
<d2p1:Category>Missing</d2p1:Category>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:FieldValue>sample string 2</d2p1:FieldValue>
<d2p1:Severity>Info</d2p1:Severity>
</d2p1:ValidationSummary>
</d2p1:Info>
<d2p1:Warnings />
</ValidationResults>
</ResponseDataOfArrayOfPriceApiuwLiWYs0>