Updates multiple currency exchange rates. Returns 200 on success, or 400 if any entry fails validation.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
PUT
/api-v1/currency-exchange/batch
curl \
--request PUT 'https://wyzio.app/api-v1/currency-exchange/batch' \
--header "Content-Type: application/json" \
--data '[{"id":42,"date":"2026-01-01T00:00:00.000Z","currencyFrom":42,"currencyTo":42,"rate":42.0}]'
Request examples
# Headers
# Payload
[
{
"id": 42,
"date": "2026-01-01T00:00:00.000Z",
"currencyFrom": 42,
"currencyTo": 42,
"rate": 42.0
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}