Update a currency
Updates 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.
Path parameters
The QuickBooks-assigned unique identifier of the currency to update.
The QuickBooks-assigned unique identifier of the currency to update.
Headers
The ID of the End-User to receive this request.
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
Changed in 4 of the 46 revisions of this API.1018
- ●
for the
pathrequest parameterid, the maxLength was set to36request-parameter-max-length-set
- ●
- ▲
response property
asOfDatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
exchangeRatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
isUserDefinedCurrencylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added
qbd_currency_formatsubschema #2to thecurrencyFormatresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
qbd_currency_formatsubschema #2from thecurrencyFormatresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲
- ▲
the response property
asOfDatebecame nullable for the status200response-property-became-nullable
- ▲
the response property
exchangeRatebecame nullable for the status200response-property-became-nullable
- ▲
the response property
isUserDefinedCurrencybecame nullable for the status200response-property-became-nullable
- ▲
added
qbd_currency_formatsubschema #2to thecurrencyFormatresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
removed
qbd_currency_formatsubschema #2from thecurrencyFormatresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
response property
asOfDatelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
exchangeRatelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
isUserDefinedCurrencylist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ▲
- ▲
response property
asOfDatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
exchangeRatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
isUserDefinedCurrencylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added
qbd_currency_formatsubschema #2to thecurrencyFormatresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
qbd_currency_formatsubschema #2from thecurrencyFormatresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲