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

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]andolivermrbl authored and GitHub committed 2023-04-04 21:02:44 +03:00
1 parent 51d0b88404
commit 70435d5631
1031 files changed
+104669 -4209

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,10 @@
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.admin.inventoryItems.create(inventoryItemId, {
variant_id: 'variant_123',
sku: "sku-123",
})
.then(({ inventory_item }) => {
console.log(inventory_item.id);
});
Loaded 100 of 1031 files, more files were not shown because too many files have changed in this diff. Show more