docs: added manage claims documentation (#3944)

* docs: added manage claims documentation

* remove sidebar item

* fixed link
This commit is contained in:
Shahed Nasser
2023-04-27 16:43:07 +03:00
committed by GitHub
parent 588abbe833
commit d38b3249f7
6 changed files with 676 additions and 22 deletions
@@ -36,7 +36,8 @@ import { updateInventoryAndReservations } from "./create-fulfillment"
* 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.orders.fulfillClaim(order_id, claim_id)
* medusa.admin.orders.fulfillClaim(order_id, claim_id, {
* })
* .then(({ order }) => {
* console.log(order.id);
* });