docs: added currency documentation pages (#3803)
* docs: added currency documentation pages * fixes to OAS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user