36 lines
879 B
YAML
36 lines
879 B
YAML
post:
|
|
operationId: PostCurrenciesCurrency
|
|
summary: Update a Currency
|
|
description: Update a Currency
|
|
x-authenticated: true
|
|
parameters:
|
|
- in: path
|
|
name: code
|
|
required: true
|
|
description: The code of the Currency.
|
|
schema:
|
|
type: string
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../components/schemas/AdminPostCurrenciesCurrencyReq.yaml
|
|
x-codeSamples:
|
|
- lang: JavaScript
|
|
label: JS Client
|
|
source:
|
|
$ref: ../code_samples/JavaScript/currencies_{code}/postundefined
|
|
- lang: Shell
|
|
label: cURL
|
|
source:
|
|
$ref: ../code_samples/Shell/currencies_{code}/postundefined
|
|
tags:
|
|
- Currency
|
|
responses:
|
|
'200':
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../components/schemas/AdminCurrenciesRes.yaml
|