Deprecated. This endpoint is deprecated and will be removed in a future version.
Updates a sourcing scenario based on its ID. All assemblies relating to the scenario must be included in the request — only those in the request will be considered for the scenario.
Security
BearerAuth
PATCH
curl -i -X PATCH \
'https://api.luminovo.com/sourcing-scenarios/{id}' \
-H 'Accept: application/api.luminovo.sourcing-scenario-v1+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"solution_preference": null,
"assembly_quantities": [
{
"assembly": "4eb48ea2-7b92-4715-a97a-6a7090607f3b",
"quantity": 0
}
]
}'Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "rfq": "86078267-4e83-4409-a4a8-060d182cafeb", "name": "string", "solution_preference": { "lead_time_preference": { … }, "preferred_suppliers_and_stock_locations": [ … ], "approved_suppliers_and_stock_locations": [ … ], "excess_preference": { … }, "offer_age_limit": { … }, "low_stock_warning_factor": 0.1, "packaging_preference": [ … ], "prefer_direct_api_integrations": true, "excluded_price_types": [ … ], "inventory_preference": "PreferInventory", "preferred_inventory_sites": [ … ], "approved_inventory_sites": [ … ], "use_unit_price": true, "exclude_mismatched_price_points": true, "prioritize_preferred_manufacturers": true, "prefer_customer_negotiated_prices": true }, "assembly_quantities": [ { … } ] }