A sourcing scenario defines a sourcing configuration for a project. Each scenario specifies which assemblies to source (demands), their required quantities, and a set of solution preferences that control how offers are evaluated and selected.
Sourcing scenarios belong to a project, which is either an RFQ (Request for Quotation) or a Negotiation. A single project can have multiple scenarios, allowing you to compare different sourcing strategies side by side — for example, different order quantities, supplier preferences, or lead time targets.
Note on solution preferences: Sourcing scenarios include detailed solution preferences that control how offers are evaluated (e.g., lead time targets, supplier preferences, inventory handling, pricing filters, packaging, and excess thresholds). These settings are complex and evolve frequently — we update them on a monthly basis. For this reason, managing solution preferences via the API is not supported. Please configure them through the Luminovo UI instead.
Triggers the sourcing selection calculation for the given scenario.
Typical usage:
- Run for a single scenario:
{"type": "SourcingScenarios", "sourcing_scenario_ids": ["scenario-uuid"]}- runs selection for one specific scenario
Requirements:
sourcing_scenario_idsmust contain exactly one sourcing scenario ID. Running the calculation for multiple scenarios in a single request is not supported — an empty array or an array with more than one ID will return a 400 Bad Request error. To run the calculation for several scenarios, send one request per scenario.
- Rfq
- SourcingScenarios
curl -i -X POST \
https://api.luminovo.com/sourcing-scenarios/run-selection \
-H 'Accept: application/api.luminovo.sourcing-calculation-v1+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rfq_id": "6377a3cb-6a55-4ab1-a8e7-bf1376dffd7a",
"type": "Rfq"
}'