PUT
/
api
/
currencies
/
{id}
{
  "id": 1,
  "currencyName": "US Dollar",
  "currencyCode": "USD",
  "currencySign": "$",
  "isBaseCurrency": true,
  "createdAt": "2024-03-20T10:00:00Z",
  "updatedAt": "2024-03-20T10:00:00Z"
}

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Path Parameters

id
number
required

Currency ID

Body

application/json

Response

200
application/json

The currency has been successfully updated.

The response is of type object.