Update Product Dimensions
Update an existing product dimensions record with new measurements or dimension unit.Endpoint
Path Parameters
The unique identifier of the product dimensions record to update
Request Body
ID of the product to associate dimensions with
Length of the product in centimeters
Width of the product in centimeters
Height of the product in centimeters
Unit of measurement for dimensions (e.g., “cm”, “inches”)
Response
Unique identifier for the product dimensions
ID of the associated product
Length of the product in centimeters
Width of the product in centimeters
Height of the product in centimeters
Unit of measurement for dimensions
Timestamp when the record was originally created
Status Codes
Product dimensions successfully updated
Invalid request body or validation error
Product dimensions not found
Example Request
Example Response
Validation Rules
productIdmust be a valid integer and reference an existing productlengthCm,widthCm, andheightCmmust be positive numbersdimensionUnitmust be a non-empty string- All required fields must be provided