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

Co-authored-by: kodiakhq[bot] <kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]andkodiakhq[bot] authored and GitHub committed 2022-11-28 10:59:43 +02:00
1 parent 546577a81a
commit 3cee0bc8fc
10 files changed
+464 -3

No files matched your search

@@ -0,0 +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()
.then(({ product_types }) => {
console.log(product_types.length);
});