Skip to main content

Enable Product Unit of Measure

POST 

/api/manufacturing/products/:product/units-of-measure/enable

Idempotently enable a single unit of measure for a product so a bill-of-materials or manufacturing-order line referencing it can be saved without first configuring the full unit-of-measure set. The unit is added as a pending alternate with no conversion factor (0), which lets draft documents validate; a real conversion factor must still be set before the bill of materials can be activated. Calling this repeatedly for the same unit is safe and returns the existing configuration untouched. Auth: requires Bearer token. Path param: product = product id. Body: uom_id = id of the unit of measure to enable (must exist).

Required scope: manufacturing:write

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

conversion_is_standard marks rows whose factor the system derives from a fixed weight or volume ratio (LB/OZ/KG/G, L/ML). Those are filled in automatically and are read-only — a pound is always 16 ounces. Count units (Each, Box, Pallet) and custom units return false and keep an editable factor, because how many units are in a box is a property of the product rather than arithmetic.

Request

Responses

OK

Response Headers
    Content-Type