Update a shipment

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 id to add it to the shipment.
  • Send an existing line with its id to update its quantity, shipping and exchange_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:

GroupPermission
PurchasingCreate, edit and delete inbound stock shipments (includes view)
Body Params
date-time
date-time
integer
required
lines
array of objects
lines
metadata
object
string
required
string
tags
array of strings
tags
string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json