Skip to main content

Update Scorecard Settings

PUT 

/api/reporting/suppliers/scorecard-settings

Updates the tenant-global supplier scorecard configuration. The six weights must each be present and sum to exactly 100; every threshold band needs a numeric min and an integer 1-5 score.

Authentication: Requires Bearer token (scope: reports)

Request body fields:

  • weights: object (required) — must contain all six metric keys; values numeric 0-100, summing to exactly 100
  • weights.on_time_delivery: numeric, 0-100 (required)
  • weights.lead_time_reliability: numeric, 0-100 (required)
  • weights.fill_rate: numeric, 0-100 (required)
  • weights.defect_rate: numeric, 0-100 (required)
  • weights.cost_competitiveness: numeric, 0-100 (required)
  • weights.price_stability: numeric, 0-100 (required)
  • thresholds: object (required) — must contain all six metric keys
  • thresholds.{metric}: array, min 1 item (required) — ordered {min, score} bands
  • thresholds.{metric}.*.min: numeric (required) — lower bound of the band
  • thresholds.{metric}.*.score: integer 1-5 (required) — score awarded for the band
  • min_po_count: integer, min 1 (required)

Request

Responses

Successful response