How to update the status of an inventory package in deluge?
I'm trying to update the status of an inventory package from "not_shipped" to "shipped". The problem is that whenever I try to update the package, it's still listed out as not shipped in inventory. Here's my deluge code.
- packageUpdate = Map();
- packageUpdate.put("status","shipped");
- zoho.inventory.updateRecord("Packages","829382732",packageId,packageUpdate);
I also tried using markStatus with the following code but that isn't working either.
- zoho.inventory.markStatus("Packages","829382732",packageId,"shipped");
Does anyone know why this package is still marked as not shipped and how I can change this to shipped?