Delete a single offer, identified by its ID in the path. Use the opaque offer ID as returned by other endpoints such as POST /offers/find.
An offer referenced in a sourcing line litem can only be deleted if force_delete is set to true, otherwise the delete request fails with a conflict error. Public off-the-shelf offers can never be deleted.
Security
BearerAuth
If this is missing or set to false, then a request to delete offers is rejected if the offer is referenced as a selected solution in a sourcing line item. If this is set to true, then the offer is deleted even if referenced, and the respective solution is reset to pending.
Default:false
DELETE
curl -i -X DELETE \
'https://api.luminovo.com/offers/{id}?force_delete=false' \
-H 'Accept: application/api.luminovo.offer-v1+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'