---
title: "Update custom transaction code mappings"
method: PUT
path: "/accounting/v1.0/custom-transaction-codes"
tags: ["Custom Transaction Codes"]
---

# Update custom transaction code mappings

`PUT /accounting/v1.0/custom-transaction-codes`

Update custom transaction code mappings for a property. For each mapping, provide the record ID and the new custom code value. You can also optionally assign a custom general ledger code to each transaction code. Only the mappings you include in the request are updated; others remain unchanged.

## Headers

- `X-Property-ID` integer, required

## Request body

- CustomTransactionCodesUpdateRequest
  - `data` CustomTransactionCodesUpdateModel[]
    - `id` string
    - `code` string, required
    - `customGeneralLedgerCodeId` string

## Response `200`

OK

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.net/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/revisions/2faa857793e8/schema)
