Files
medusa-store/docs/api/admin/paths/admin_currencies_{code}.yaml
github-actions[bot] 658339767b chore(docs): Generated API Reference (#4706)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-07 16:54:48 +03:00

38 lines
924 B
YAML

post:
operationId: PostCurrenciesCurrency
summary: Update a Currency
description: Update a Currency's details.
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-codegen:
method: update
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/admin_currencies_{code}/post.js
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/admin_currencies_{code}/post.sh
tags:
- Currencies
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: ../components/schemas/AdminCurrenciesRes.yaml