Update Work Center
PUT/api/manufacturing/work-centers/:workCenter
Update a work center. Send only the fields that change.
Authorization: requires a token carrying the manufacturing:read scope to read and manufacturing:write to change.
Path param: workCenter = work center id.
Fields: name (required, max 255), code (required, max 64, unique across work centers), default_hourly_rate (numeric, 0 or more), default_operator_id (an existing user), overhead_rate_percent (0-100), capacity_hours_per_day (0-24), utilization_pct (0-100), efficiency_pct (0-100), is_active (boolean).
utilization_pct and efficiency_pct derate the work center's available hours in capacity planning: capacity_hours_per_day x utilization_pct x efficiency_pct is the load a plan compares against. Both default to 100 (no derate), and sending null or an empty value for either is treated as 100 rather than as a clear.
A field left out of the payload keeps its stored value. The updated work center is returned at the top level, not wrapped in data.
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.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
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.