POST
/
quickbooks-desktop
/
currencies
/
{id}
JavaScript
import Conductor from 'conductor-node';

const conductor = new Conductor({
  apiKey: 'sk_conductor_...',
});

const currency = await conductor.qbd.currencies.update('80000001-1234567890', {
  revisionNumber: '1721172183',
  conductorEndUserId: 'end_usr_1234567abcdefg',
});

console.log(currency.id);
{
  "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"
  },
  "isUserDefinedCurrency": false,
  "exchangeRate": 1.2345,
  "asOfDate": "2024-08-01"
}

Authorizations

Authorization
string
header
required

Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}").

Headers

Conductor-End-User-Id
string
required

The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}").

Example:

"end_usr_1234567abcdefg"

Path Parameters

id
string
required

The QuickBooks-assigned unique identifier of the currency to update.

Example:

"80000001-1234567890"

Body

application/json

Response

200 - application/json

Returns the updated currency.

The response is of type object.