Validate a plan and capture its decision context snapshot
Data Platform - Plans
Validate a plan and capture its decision context snapshot
Validates an inventory plan and atomically captures the decision context snapshot (forecast values, applied business-rule outcomes, stock-out risk scores) for downstream outcome attribution. Idempotent: returns 409 PLAN_ALREADY_VALIDATED if the snapshot is already set. Requires Bearer token authentication.
POST
Validate a plan and capture its decision context snapshot
Authorizations
Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.
Path Parameters
Plan type path segment (RESTOCK, REBALANCE, MARKDOWN, SUPPLIER_RETURN, SUPPLIER_EXCHANGE)
Minimum string length:
1UUID of the plan to validate
Minimum string length:
1Body
application/json

