chore(docs): Generated API Reference (#3813)

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-04-12 11:56:12 +02:00
committed by GitHub
parent 25672dbb77
commit d83fcfd9ea
10 changed files with 32 additions and 12 deletions

View File

@@ -5,5 +5,5 @@ medusa.admin.currencies.update(code, {
includes_tax: true
})
.then(({ currency }) => {
console.log(currency.id);
console.log(currency.code);
});

View File

@@ -3,5 +3,5 @@ const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
// must be previously logged in or use api token
medusa.admin.store.deleteCurrency('eur')
.then(({ store }) => {
console.log(store.id);
console.log(store.currencies);
});

View File

@@ -3,5 +3,5 @@ const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
// must be previously logged in or use api token
medusa.admin.store.addCurrency('eur')
.then(({ store }) => {
console.log(store.id);
console.log(store.currencies);
});

View File

@@ -3,6 +3,9 @@ properties:
name:
type: string
description: The name to identify the Product Category by.
description:
type: string
description: An optional text field to describe the Product Category by.
handle:
type: string
description: A handle to be used in slugs.

View File

@@ -5,6 +5,9 @@ properties:
name:
type: string
description: The name to identify the Product Category by.
description:
type: string
description: An optional text field to describe the Product Category by.
handle:
type: string
description: >-