Skip to main content

Update Unit of Measure

PUT 

/api/manufacturing/units-of-measure/:unitOfMeasure

Update a custom unit of measure. All fields are optional - only submitted fields change. Auth: requires Bearer token. Path param: unitOfMeasure = unit of measure id. Body: code (string, max 16, unique - stored uppercased); name (string, max 64); uom_type (one of: weight, volume, count). System units of measure (is_system=true) cannot be modified and return 422. The uom_type of a unit that products, recipes or manufacturing orders already use cannot change and returns 422; create a new unit instead. Renaming and changing the code are still allowed.

Required scope: manufacturing:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request​

Responses​

OK

Response Headers
    Content-Type