Add a cargo lot

post/caravans/{caravanId}/manifest/lots
Adds a new cargo lot to the caravan manifest.

Path Parameters

caravanIdstringrequired

The unique caravan identifier

Request Body

required

application/json

commoditystringrequired
categorystring ("spice" | "textile" | "pottery" | "gemstone" | "artifact" | "provision" | "other")
descriptionstring
weight_kgnumber (float)
declared_valuenumber (float)

Responses

201Created

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