chore(docs): Updated API Reference (#3142)
* chore(docs): Generated API Reference * Update admin-spec3.json * Update admin-spec3.yaml * Update openapi.yaml --------- Co-authored-by: shahednasser <shahednasser@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6f058b389b
commit
061a0a37fa
@@ -3313,7 +3313,7 @@ paths:
|
||||
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries:
|
||||
3 })
|
||||
|
||||
medusa.store.productTags.list()
|
||||
medusa.productTags.list()
|
||||
|
||||
.then(({ product_tags }) => {
|
||||
console.log(product_tags.length);
|
||||
@@ -3463,7 +3463,7 @@ paths:
|
||||
|
||||
// must be previously logged in or use api token
|
||||
|
||||
medusa.store.productTypes.list()
|
||||
medusa.productTypes.list()
|
||||
|
||||
.then(({ product_types }) => {
|
||||
console.log(product_types.length);
|
||||
|
||||
@@ -3313,7 +3313,7 @@ paths:
|
||||
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries:
|
||||
3 })
|
||||
|
||||
medusa.store.productTags.list()
|
||||
medusa.productTags.list()
|
||||
|
||||
.then(({ product_tags }) => {
|
||||
console.log(product_tags.length);
|
||||
@@ -3463,7 +3463,7 @@ paths:
|
||||
|
||||
// must be previously logged in or use api token
|
||||
|
||||
medusa.store.productTypes.list()
|
||||
medusa.productTypes.list()
|
||||
|
||||
.then(({ product_types }) => {
|
||||
console.log(product_types.length);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import Medusa from "@medusajs/medusa-js"
|
||||
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
|
||||
medusa.store.productTags.list()
|
||||
medusa.productTags.list()
|
||||
.then(({ product_tags }) => {
|
||||
console.log(product_tags.length);
|
||||
});
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Medusa from "@medusajs/medusa-js"
|
||||
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
|
||||
// must be previously logged in or use api token
|
||||
medusa.store.productTypes.list()
|
||||
medusa.productTypes.list()
|
||||
.then(({ product_types }) => {
|
||||
console.log(product_types.length);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user