CurrencyExchangeRate
Deactivate a Currency Exchange Rate
Changed onDeactivate a Currency Exchange Rate. To stop supporting currency exchange on your marketplace, deactivate a rate. This will prevent the exchange rate from being used to convert usage.
patch/channel/v1/exchangeRates/{currencyExchangeRateUuid}
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
currencyExchangeRateUuidstring required
The unique identifier of the currency exchange rate.
Request body
Example request
{
"active": true
}Response
OK
Example response
{
"baseCurrency": {
"href": "...",
"id": "..."
},
"counterCurrency": {
"href": "...",
"id": "..."
},
"rate": 0.5,
"validFrom": 1507077229000,
"active": true,
"authenticationType": "USER_LOGIN",
"oauthKey": "...",
"userId": 12345,
"currencyExchangeRateUuid": "..."
}Changes
- info
endpoint added
- info