Declare a product's unit dimensions and weight
PUT/products/:sku/dimensions/declared
Sets or replaces the declared (vendor or steward supplied) unit dimensions in whole millimetres and weight in whole grams (ADR 0002). Each dimension is 1..20000 mm and the weight 1..2000000 g. Returns the whole physical profile, including the effective values and the declared-versus-measured discrepancy flag. Identical values return 200 and change nothing.
Request
Responses
- 200
- 400
- 404
- 409
- 500
The physical profile after the change.
A dimension or the weight is out of bounds, a field is missing, or measuredAt is missing or in the future.
The SKU is not registered.
Another request changed the product between this request's read and write; re-fetch and retry.
Unexpected server error.