---
title: "PATCH /cost"
method: PATCH
path: "/cost"
tags: ["costController"]
---

# PATCH /cost

`PATCH /cost`

## Request body

- CostPartial — (tsType: Partial<cost>, schemaOptions: { partial: true })
  - `cost_id` number
  - `cost_event_id` number
  - `cost_domain_id` string
  - `cost_type_concept_id` number
  - `currency_concept_id` number
  - `total_charge` number
  - `total_cost` number
  - `total_paid` number
  - `paid_by_payer` number
  - `paid_by_patient` number
  - `paid_patient_copay` number
  - `paid_patient_coinsurance` number
  - `paid_patient_deductible` number
  - `paid_by_primary` number
  - `paid_ingredient_cost` number
  - `paid_dispensing_fee` number
  - `payer_plan_period_id` number
  - `amount_allowed` number
  - `revenue_code_concept_id` number
  - `revenue_code_source_value` string
  - `drg_concept_id` number
  - `drg_source_value` string

## Response `200`

Count of cost models updated

- LoopbackCount
  - `count` number

---

[API](https://skmtc.net/ohdsi/apis/data-connection.md) · [All operations](https://skmtc.net/ohdsi/apis/data-connection/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ohdsi/data-connection/versions/b5ead99a1d44/schema)
