Skip to main content
PATCH
/
assets
/
{id}
Update asset accounting mapping
curl --request PATCH \
  --url https://api.breezing.io/v1/assets/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountCode": "1200",
  "accountName": "Crypto Assets",
  "isSpam": true
}
'
{
  "success": true,
  "data": {
    "updated": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://learn.breezing.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Asset ID

Example:

"1"

Query Parameters

org_id
string
required

Organization ID. Use GET /v1/companies to discover available org/company pairs.

Example:

"1"

company_id
string
required

Company ID. Use GET /v1/companies to discover available companies and their access levels.

Example:

"1"

Body

application/json
accountCode
string | null

GL account code from the chart of accounts. Used for Token View balance-sheet mapping (balanceSheetSetup="token"): one GL account per token across all wallets. Call company_get to find the right code.

Maximum string length: 63
Example:

"1200"

accountName
string | null

GL account name matching the code (e.g. "Crypto Assets - ETH"). Displayed in reports and synced to accounting software.

Maximum string length: 127
Example:

"Crypto Assets"

isSpam
boolean

Spam flag. Set true to mark airdrop/scam tokens. Hides from transaction view and excludes from accounting software sync.

Response

Asset updated successfully

success
enum<boolean>
required
Available options:
true
data
object
required
Last modified on April 12, 2026