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

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
github-actions[bot]
2023-04-26 20:57:23 +03:00
committed by GitHub
parent beffa3de0e
commit cce2b3827e
41 changed files with 110 additions and 95 deletions

View File

@@ -2,6 +2,6 @@ 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.products.deleteOption(product_id, option_id)
.then(({ option_id, object, delete, product }) => {
.then(({ option_id, object, deleted, product }) => {
console.log(product.id);
});