Skip to main content
PUT
Update currency rate

Authorizations

Authorization
string
header
required

An API token from Sign in, sent as Authorization: Bearer <token>. Tokens last 30 days.

Path Parameters

currency_id
integer
required

The currency ID

Example:

1

id
integer
required

The currency rate ID

Example:

1

Body

application/json
name
string

Rate effective date (YYYY-MM-DD format). Must be a valid date.

Example:

"2024-01-15"

rate
number

Exchange rate (minimum 0). Must be at least 0.

Example:

1.25

company_id
integer | null

Company ID (optional, null for global rates). The id of an existing record in the companies table.

Example:

1

Response

Success