Skip to main content
PUT
/
ratecards
/
{id}
Update a Ratecard
curl --request PUT \
  --url https://api.projectcor.com/v1/ratecards/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Custom Ratecard 1 (updated)",
  "original_name": "Custom Ratecard 1",
  "percent": 20,
  "currency_id": 2,
  "linked_to_base_price": true,
  "external_key": "BILLING-RC-001"
}
'
{
  "id": 50,
  "original_name": "Custom Ratecard 1",
  "name": "Custom Ratecard 1 (updated)",
  "percent": 20,
  "company_id": 2336,
  "system": false,
  "created_at": "2025-12-15 00:24:41",
  "updated_at": "2025-12-15 01:10:05",
  "deleted_at": null,
  "external_key": "BILLING-RC-001",
  "currency_id": 2,
  "linked_to_base_price": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Ratecard ID

Body

application/json

Input schema for updating an existing ratecard

name
string

Display name of the ratecard

original_name
string

Original/system name of the ratecard

percent
number

Percentage applied by this ratecard

currency_id
integer

Associated currency ID. Defaults to the system's base currency.

linked_to_base_price
boolean

Whether the ratecard should be calculated based on base price

external_key
string

External key for integration with external systems

Response

200 - application/json

Ratecard updated successfully

A ratecard defines pricing configurations for the company

id
integer

Unique identifier for the ratecard

name
string

Display name of the ratecard

original_name
string

Original/system name of the ratecard

percent
number

Percentage applied by this ratecard

company_id
integer

Company ID that owns this ratecard

system
boolean

Whether this is a system-generated ratecard

currency_id
integer | null

Associated currency ID. Defaults to the system's base currency if not specified.

linked_to_base_price
boolean

Whether the ratecard is calculated based on base price

external_key
string | null

External key for integration with external systems

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

deleted_at
string<date-time> | null

Deletion timestamp (soft delete)