Update a currency
Changed onUpdates an existing currency. For built-in currencies, only the isActive status can be changed; name and currency code are not editable. For user-defined currencies, all fields in this request are editable.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The QuickBooks-assigned unique identifier of the currency to update.
Headers
The ID of the End-User to receive this request.
Request body
Example request
{
"revisionNumber": "1721172183",
"name": "United States Dollar",
"isActive": true,
"currencyCode": "USD",
"currencyFormat": {
"thousandSeparator": "comma",
"thousandSeparatorGrouping": "xx_xxx_xxx",
"decimalPlaces": "2",
"decimalSeparator": "period"
}
}Response
Returns the updated currency.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_currency",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "United States Dollar",
"isActive": true,
"currencyCode": "USD",
"currencyFormat": {
"thousandSeparator": "comma",
"thousandSeparatorGrouping": "xx_xxx_xxx",
"decimalPlaces": "2",
"decimalSeparator": "period"
},
"exchangeRate": 1.2345,
"asOfDate": "2024-08-01"
}Changes
- warning
for the
pathrequest parameterid, the maxLength was set to36
- warning
- breaking
response property
asOfDatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
exchangeRatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
isUserDefinedCurrencylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
added
subschema #2to theresponse propertyanyOflist for the response status - info
removed
subschema #2from theresponse propertyoneOflist for the response status
- breaking