chore: add to TSDocs note about removing item from order edit (#12997)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-07-18 18:36:10 +03:00
1 parent ed92aaf02b
commit 35bd9f0bc4
2 files changed
+5 -1

No files matched your search

@@ -188,6 +188,8 @@ export class OrderEdit {
* [Update Item Quantity](https://docs.medusajs.com/api/admin#order-edits_postordereditsiditemsitemitem_id)
* API route.
*
* You can also use this method to remove an item from an order by setting the `quantity` to `0`.
*
* @param id - The order edit's ID.
* @param itemId - The item's ID in the order.
* @param body - The data to edit in the item.