docs: added currency documentation pages (#3803)

* docs: added currency documentation pages

* fixes to OAS
This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-04-11 21:39:24 +03:00
1 parent 654a546223
commit 1651cfd4ac
7 files changed
+535 -18

No files matched your search

@@ -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