Zoho Inventory: Mark a package slip as delivered and shipped
- Joel Lipman
- Zoho
- Hits: 2147
A quick article on a code snippet to mark a package as shipped and delivered in Zoho Inventory.
Why?
As usual, any task like this that takes me longer than an hour, I'd like to document for future use. The use-case is the client has their own delivery drivers and want them to mark a sales order & package as shipped and delivered.
How?
Here's a code snippet that works for me. It is triggered when a user ticks a decision box in Zoho Creator (on iPad displays as an on/off switch). My connection here called "jl_inventory" has the minimum required scopes:
- ZohoInventory.salesorders.READ
- ZohoInventory.packages.READ
- ZohoInventory.shipmentorders.CREATE
- ZohoInventory.shipmentorders.READ