Record a measurement of one pack
PUT/products/:sku/pack-levels/:level/measured
Records the latest measured dimensions and weight of ONE pack of the
ACTIVE level level (a cubiscan reading or a manual measurement; the
declared-versus-measured split of ADR 0002, per level). A measurement
older than the current one is 409 stale-measurement; measuredAt in
the future is 400; a measured weight below the weight of the contents
is 409 pack-dimensions-below-contents. Repeating the current
measurement changes nothing. Raises ProductPackLevelMeasured.
Request
Responses
- 200
- 400
- 404
- 409
- 500
The level after the call.
A dimension or the weight is out of bounds, a field is missing, or measuredAt is missing or in the future.
The product is not registered, or has no active level there.
The request conflicts with the product's pack levels or another writer.
Unexpected server error.