docs: added currency documentation pages (#3803)

* docs: added currency documentation pages

* fixes to OAS
This commit is contained in:
Shahed Nasser
2023-04-11 21:39:24 +03:00
committed by GitHub
parent 654a546223
commit 1651cfd4ac
7 changed files with 535 additions and 18 deletions
@@ -32,7 +32,7 @@ import { EntityManager } from "typeorm"
* includes_tax: true
* })
* .then(({ currency }) => {
* console.log(currency.id);
* console.log(currency.code);
* });
* - lang: Shell
* label: cURL
@@ -28,7 +28,7 @@ import { EntityManager } from "typeorm"
* // must be previously logged in or use api token
* medusa.admin.store.addCurrency('eur')
* .then(({ store }) => {
* console.log(store.id);
* console.log(store.currencies);
* });
* - lang: Shell
* label: cURL
@@ -28,7 +28,7 @@ import { EntityManager } from "typeorm"
* // must be previously logged in or use api token
* medusa.admin.store.deleteCurrency('eur')
* .then(({ store }) => {
* console.log(store.id);
* console.log(store.currencies);
* });
* - lang: Shell
* label: cURL