chore(docs): Generated API Reference (#3813)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
25672dbb77
commit
d83fcfd9ea
@@ -5,5 +5,5 @@ medusa.admin.currencies.update(code, {
|
||||
includes_tax: true
|
||||
})
|
||||
.then(({ currency }) => {
|
||||
console.log(currency.id);
|
||||
console.log(currency.code);
|
||||
});
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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: >-
|
||||
|
||||
Reference in New Issue
Block a user