Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Settings /GetLatestCurrencyRate

Allows 150 calls per minute

Response: GetLatestCurrencyRateResponse



Gets latest conversion rates for all known currencies. The rate is updated every couple of hours.

Parameters

NameTypeDescription
requestGetLatestCurrencyRateRequest

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Settings/GetLatestCurrencyRate

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "BaseCurrency": "sample string 1"
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "BaseCurrency": "sample string 1",
  "Rates": [
    {
      "Currency": "sample string 1",
      "Rate": 1.0,
      "AccurateAsOf": "2021-07-29T09:24:43.2162161+01:00"
    }
  ]
}