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:
committed by
GitHub
parent
beffa3de0e
commit
cce2b3827e
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user