put
https://api.smoothpos.net/shipment.json
Updates an existing shipment. Include its id in the body.
While the shipment is Open, lines is the full list of lines you want it to have:
- Send a line without an
idto add it to the shipment. - Send an existing line with its
idto update itsquantity,shippingandexchange_rate. - Leave a line out to remove it. Every update needs at least one line.
Once a shipment is Shipped, only each line's exchange_rate can change. Other statuses can't be updated.
Required permission:
| Group | Permission |
|---|---|
| Purchasing | Create, edit and delete inbound stock shipments (includes view) |
