Update a cargo lot

put/caravans/{caravanId}/manifest/lots/{lotId}
Replaces the details of an existing cargo lot on the manifest.

Path Parameters

caravanIdstringrequired
lotIdstringrequired

Request Body

required

application/json

commoditystring
descriptionstring
statusstring ("pending" | "weighed" | "sealed" | "loaded")
weight_kgnumber (float)
declared_valuenumber (float)

Responses

200OK

application/json

idstringrequired
commoditystringrequired
categorystring ("spice" | "textile" | "pottery" | "gemstone" | "artifact" | "provision" | "other")

Cargo category

descriptionstring

Handling guidance for this cargo lot

statusstring ("pending" | "weighed" | "sealed" | "loaded")required
quantityinteger

Count of packages, crates, bolts, jars, or bundles in the lot

unitstring ("crate" | "jar" | "bolt" | "sack" | "bundle" | "chest")

Unit used to count this cargo lot

weight_kgnumber (float)

Total lot weight in kilograms

declared_valuenumber (float)

Declared value in trading dinars

origin_stallstring

Stall or warehouse where the cargo lot originated

inspection_statusstring ("not_required" | "pending" | "passed" | "held")

Current inspection result for the lot

Errors