The Voomerr Reject Offer API allows users to reject an offer. The API accepts an offer ID and the user ID who created the offer, and returns a response indicating whether the offer was successfully rejected or not.
The Voomerr Reject Offer API endpoint is
Request Parameters #
The following parameters are required to reject an offer:
|offer_created_by||string||Yes||The ID of the user who created the offer.|
|offer_id||string||Yes||The ID of the offer that the user wants to reject.|
Example Request #
The response from the API will contain a JSON object with the following fields:
|success||boolean||Whether the request was successful or not.|
|message||string||A message indicating the success or failure of the request.|
If the request is successful, the ‘success’ field will be ‘true’, and the ‘message’ field will contain a success message indicating that the offer was successfully rejected. If the request fails, the ‘success’ field will be ‘false’, and the ‘message’ field will contain an error message indicating that the rejection of the offer has failed.
Example Response #
"message": "Offer rejected successfully!"