Update currency

Update currency in the credential-bound company. Send an optional Idempotency-Key to store the terminal response for safe retries for 24 hours. Requires the currencies:write OAuth scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

Fields accepted to update currency. The schema identifies required and optional values.

string
string

'required|string:unique:currencies,iso,'.$id used to sit here: the
':' made Laravel read the whole tail as PARAMETERS of the string
rule, so ISO uniqueness was never enforced on PUT and any non-default
row could be renamed onto EUR or onto the base currency. The FX engine
keys on iso (filingCurrency(), the bulk rate UPDATE, findByIso) and
iso is a ResourceSyncing attribute, so the duplicate propagated to the
shared central row. Rule::unique cannot be mistyped this way.

string
integer
≥ 0
string
Headers
string
length ≤ 191

Optional unique key whose request hash and terminal response are stored durably for 24 hours.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*