Skip to main content

Update Contractor Packaging Alerts

PATCH 

/api/manufacturing/contractors/:supplier/packaging-alerts

Set the factory packaging alert settings for one contractor.

Required scope: manufacturing:write

Grant 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​

OK

Response Headers
    Content-Type