Update Product Units of Measure
PUT/api/manufacturing/products/:product/units-of-measure
Replace the product's full unit-of-measure configuration in one call. Exactly one row must be the stock unit with conversion_factor 1; at most one purchase unit and at most one sales unit are allowed. Auth: requires Bearer token. Path param: product = product id. Body: units_of_measure (required, array, min 1). Per row: uom_id (required, existing unit id); conversion_factor (required, numeric, greater than 0 - how many stock units one of this unit represents); display_precision (optional, integer 0-8); is_stock_uom / is_purchase_uom / is_sales_uom (optional booleans).
manufacturing:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
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.