Accept Offer

The Voomerr Accept Offer API allows users to accept an offer. The API accepts an offer ID and returns a response indicating whether the offer was successfully accepted or not.

Endpoint #

The Voomerr Accept Offer API endpoint is POST https://admin.voomerr.com/api/accept_offer.php

Request Parameters #

The following parameter is required to accept an offer:

Parameter Type Required Description
offer_id string Yes The ID of the offer that the user wants to accept.

Example Request #

http
POST https://admin.voomerr.com/api/accept_offer.php
{
"offer_id": "123456789"
}

Response #

The response from the API will contain a JSON object with the following fields:

Field Type Description
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 accepted. If the request fails, the ‘success’ field will be ‘false’, and the ‘message’ field will contain an error message indicating that the acceptance of the offer has failed.

Example Response #

json
{
"success": true,
"message": "Offer accepted successfully!"
}

Powered by BetterDocs