getMultiCurrencyPrice

❗️

Deprecated

JSON-RPC getMulticurrencyPrice method is deprecated.

Use getMultiCurrencyPrice() method to receive detailed information about the offer price based on customer location.

Parameters

NameTypeDescription
multiCurrencyOfferId*stringOffer ID, e.g. A123123123
ipAddress*stringIP Address of your visitor, e.g. 172.16.254.1

API Request/Response

Request

{
  "method": "getMultiCurrencyPrice",
  "params": {
     "offerId": "S325990213",
     "ipAddress": "109.123.123.42"
  },
  "jsonrpc": "2.0",
  "id": 1
}

Response

{
  "result": {
    "offerPrice": 11.9974,
    "offerCurrency": "EUR",
    "offerCurrencySymbol": "\u20ac",
    "offerCountry": "BE",
    "customerPriceInclTax": 12.1974,
    "customerPriceExclTax": 9.9174,
    "customerCurrency": "EUR",    
    "customerCurrencySymbol": "\u20ac",
    "customerCountry": "FR",
    "offerId": "S325990213_FR"
  },
  "id": "1",
  "error": null,
  "jsonrpc": "2.0"    
}