Creates a new offer for a custom part. Attach the sourcing scenario ID when creating a new custom part offer.
Security
BearerAuth
The sourcing scenario this offer is part of. Please supply this information!
One of:
null
One of:
null
The supplier's part number for this custom part. Required to create the underlying custom part for this offer
POST
curl -i -X POST \
https://api.luminovo.com/offer/custom-part \
-H 'Accept: application/api.luminovo.custom-part-offer-v1+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"linked_part": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "CustomPart"
},
"supplier_and_stock_location": "79f81ee3-83f7-4253-b938-871561d2e1be",
"unit_of_measurement": {
"quantity": 0.1,
"unit": "Kg"
},
"currency": "EUR",
"price_points": [
{
"quantity": 0.1,
"amount": "string",
"lead_time_days": 0
}
],
"valid_until": "2019-08-24T14:15:22Z",
"valid_from": "2019-08-24T14:15:22Z",
"cancellation_window_in_days": 0,
"one_time_costs": [
{
"description": "string",
"amount": "string"
}
],
"price_type": null,
"notes": "string",
"offer_number": "string",
"offer_url": "string",
"sourcing_scenario_id": "dc1160f9-8b39-424c-ab48-9f7b212b9c05",
"specification": null,
"sourcing_batch_size": 0,
"total_offered_quantity": 0,
"payment_terms": null,
"supplier_part_number": "string",
"lifecycle": null
}'Customer created.
One of:
null
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "origin": { "origin": "Manual" }, "supplier_and_stock_location": "79f81ee3-83f7-4253-b938-871561d2e1be", "unit_of_measurement": { "quantity_unit": { … } }, "price_points": [ { … } ], "valid_until": "2019-08-24T14:15:22Z", "offer_number": "string", "one_time_costs": [ { … } ], "notes": "string", "creation_date": "2019-08-24T14:15:22Z", "offer_url": "string", "has_order_files": true, "price_type": null, "sourcing_scenario_id": "dc1160f9-8b39-424c-ab48-9f7b212b9c05", "specification": null, "sourcing_batch_size": 0, "total_offered_quantity": 0, "price_breaks": [ { … } ] }