---
title: "Update"
method: PUT
path: "/api/cp/card/{id}"
tags: ["Card"]
---

# Update

`PUT /api/cp/card/{id}`

Update an existing Card record by ID.

## Path parameters

- `id` integer, required

## Request body

- CardInput
  - `id` string — Id
  - `account_id` integer — Account Id (references account.id)
  - `company_id` integer — Company Id
  - `reseller_id` integer — Reseller Id
  - `reseller_ids` string — Reseller Ids
  - `system_id` string — System Id
  - `system_num` integer — System Num
  - `name` string, required — Name
  - `notes` string — Notes
  - `public_options` string — Public Options
  - `public_name` string — Public Name
  - `public_notes` string — Public Notes
  - `presentation` string — Presentation
  - `collapse` string — Collapse
  - `import_url` string, uri — Import Url
  - `import_map` string, required — Import Map
  - `import_row_start` integer, required — Import Row Start
  - `import_remove_prefix` integer, required — Import Remove Prefix
  - `import_prepend_prefix` string — Import Prepend Prefix
  - `export_map` string, required — Export Map
  - `lcr_map` string — Lcr Map
  - `rate_formula` string — Rate Formula
  - `gen_lcr` integer, required — Gen Lcr
  - `trust_fail` integer — Trust Fail
  - `currency` string — Currency
  - `tech_prefix` string, required — Tech Prefix
  - `lrn` integer, required — Lrn
  - `override_lcr` string — Override Lcr
  - `connexcs_permission` string — Connexcs Permission
  - `stale` integer — Stale
  - `filtered_transform` integer, required — Filtered Transform
  - `dyn_routing` string — Dyn Routing
  - `active_rev` integer — Active Rev
  - `cli_restrict` string — Cli Restrict
  - `paid_restrict` string — Paid Restrict
  - `strategy` 'LCR' | 'Best ACD' | 'Best ASR' | 'LCR Performance' | 'Random' | 'Reverse LCR' | 'Round Robin' — Strategy
  - `billing_precision` integer, required — Billing Precision
  - `rounding_method` 'up' | 'down' | 'half-up' | 'half-down' — Rounding Method
  - `duration_rounding_method` 'up' | 'down' | 'half-up' | 'half-down' — Duration Rounding Method
  - `direction` 'origination' | 'termination', required — Direction
  - `delayed_bye` integer — Delayed Bye
  - `delayed_bye_mcd` integer — Delayed Bye Mcd
  - `delayed_bye_charge_customer` integer — Delayed Bye Charge Customer
  - `sms_url` string, uri — Sms Url
  - `asr_plus` integer — Asr Plus
  - `contract_id` integer — Contract Id
  - `default_rtp` integer — Default Rtp
  - `force_rtp_id` integer — Force Rtp Id
  - `capped_rate` number — Capped Rate
  - `block_connect_cost` integer, required — Block Connect Cost
  - `profit_assurance` number — Profit Assurance
  - `manual_ordering` integer — Manual Ordering
  - `channels` integer — Channels
  - `cps` integer — Cps
  - `block_destination_type` string — Block Destination Type
  - `ptime` integer — Ptime
  - `origin_billing_source` string, required — Origin Billing Source
  - `origin_billing_destination` string, required — Origin Billing Destination

## Response `200`

Operation completed successfully

- SuccessResponse
  - `status` string — Operation status

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `404` — Resource not found
- `409` — Conflict - foreign key or unique constraint violation on write
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
