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).
manufacturing:writeGrant 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
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.