GET api/RetailerPricing/GetPricing?brandCode={brandCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| brandCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
RetailerPricingResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| FxRates | Collection of FxRate |
None. |
|
| CountryAdjustments | Collection of CountryAdjustment |
None. |
|
| ResponseCode | StandardRetailerPricingStatus |
None. |
|
| ResponseText | string |
None. |
|
| PricingGroupId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"fxRates": [
{
"fromCurrency": "sample string 1",
"toCurrency": "sample string 2",
"toCurrencySymbol": "sample string 3",
"toCurrencySymbolAfterValue": true,
"toCurrencyName": "sample string 5",
"midMarketRate": "sample string 6",
"fxRateGroupId": 7,
"lastUpdated": "sample string 8"
},
{
"fromCurrency": "sample string 1",
"toCurrency": "sample string 2",
"toCurrencySymbol": "sample string 3",
"toCurrencySymbolAfterValue": true,
"toCurrencyName": "sample string 5",
"midMarketRate": "sample string 6",
"fxRateGroupId": 7,
"lastUpdated": "sample string 8"
}
],
"countryAdjustments": [
{
"countryIso": "sample string 1",
"name": "sample string 2",
"retailerAdjustment": {
"percentage": 1.0
},
"duty": 3.0,
"tax": 4.0
},
{
"countryIso": "sample string 1",
"name": "sample string 2",
"retailerAdjustment": {
"percentage": 1.0
},
"duty": 3.0,
"tax": 4.0
}
],
"responseCode": 0,
"responseText": "sample string 1",
"pricingGroupId": 2
}
text/javascript
Sample:
{"fxRates":[{"fromCurrency":"sample string 1","toCurrency":"sample string 2","toCurrencySymbol":"sample string 3","toCurrencySymbolAfterValue":true,"toCurrencyName":"sample string 5","midMarketRate":"sample string 6","fxRateGroupId":7,"lastUpdated":"sample string 8"},{"fromCurrency":"sample string 1","toCurrency":"sample string 2","toCurrencySymbol":"sample string 3","toCurrencySymbolAfterValue":true,"toCurrencyName":"sample string 5","midMarketRate":"sample string 6","fxRateGroupId":7,"lastUpdated":"sample string 8"}],"countryAdjustments":[{"countryIso":"sample string 1","name":"sample string 2","retailerAdjustment":{"percentage":1.0},"duty":3.0,"tax":4.0},{"countryIso":"sample string 1","name":"sample string 2","retailerAdjustment":{"percentage":1.0},"duty":3.0,"tax":4.0}],"responseCode":0,"responseText":"sample string 1","pricingGroupId":2}
application/xml, text/xml
Sample:
<RetailerPricingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.eShopWorld.com/eShopWorld.Public.Contracts">
<CountryAdjustments>
<CountryAdjustment>
<CountryIso>sample string 1</CountryIso>
<Duty>3</Duty>
<Name>sample string 2</Name>
<RetailerAdjustment>
<Percentage>1</Percentage>
</RetailerAdjustment>
<Tax>4</Tax>
</CountryAdjustment>
<CountryAdjustment>
<CountryIso>sample string 1</CountryIso>
<Duty>3</Duty>
<Name>sample string 2</Name>
<RetailerAdjustment>
<Percentage>1</Percentage>
</RetailerAdjustment>
<Tax>4</Tax>
</CountryAdjustment>
</CountryAdjustments>
<FxRates>
<FxRate>
<FromCurrency>sample string 1</FromCurrency>
<FxRateGroupId>7</FxRateGroupId>
<LastUpdated>sample string 8</LastUpdated>
<MidMarketRate>sample string 6</MidMarketRate>
<ToCurrency>sample string 2</ToCurrency>
<ToCurrencyName>sample string 5</ToCurrencyName>
<ToCurrencySymbol>sample string 3</ToCurrencySymbol>
<ToCurrencySymbolAfterValue>true</ToCurrencySymbolAfterValue>
</FxRate>
<FxRate>
<FromCurrency>sample string 1</FromCurrency>
<FxRateGroupId>7</FxRateGroupId>
<LastUpdated>sample string 8</LastUpdated>
<MidMarketRate>sample string 6</MidMarketRate>
<ToCurrency>sample string 2</ToCurrency>
<ToCurrencyName>sample string 5</ToCurrencyName>
<ToCurrencySymbol>sample string 3</ToCurrencySymbol>
<ToCurrencySymbolAfterValue>true</ToCurrencySymbolAfterValue>
</FxRate>
</FxRates>
<PricingGroupId>2</PricingGroupId>
<ResponseCode>Success</ResponseCode>
<ResponseText>sample string 1</ResponseText>
</RetailerPricingResponse>