Update Contractor Packaging Alerts
PATCH/api/manufacturing/contractors/:supplier/packaging-alerts
Set the factory packaging alert settings for one contractor.
manufacturing:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
packaging_alert_user_id(required, nullable integer): a user who also gets the "Manufacturing: Factory Packaging Running Short" alert for this contractor's site, sent directly to them. Null removes the named person (the alert still goes to its normal audience).packaging_min_days_of_cover(required, nullable integer 1-365): alert when a component's days of cover at the site (on hand / average daily consumption over the last 30 days) drops below this. Null turns the days-of-cover check off.
Per-component reorder points are set on the component's planning policy for the contractor's warehouse (PUT /api/manufacturing/mrp/planning-policies/{product} with warehouse_id).
Returns the contractor. Authentication: Requires Bearer token.
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.