getMultiCurrencyPrice()


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

Parameters:

Name Type Description
multiCurrencyOfferId string Offer ID, e.g. A123123123
ipAddress string IP Address of your visitor, e.g. 172.16.254.1

- required parameter

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"
    }
]

Remember! you can always check it by yourself using API Console - getMultiCurrencyPrice()

Back to Customer API