Sold by Runner

This API endpoint is used to mark a gig as sold by a runner. This is typically used in the case where a runner completes a delivery or pickup for a gig, and the gig owner confirms that the task has been completed successfully.

Endpoint #

The Voomerr Sold by Runner endpoint is https://admin.voomerr.com/api/sold_by_runner.php

Request Parameters #

Parameter Required/Optional Description
user_id Required The ID of the runner who completed the task.
gig_id Required The ID of the gig that was completed.
currency Optional The currency to be used for pricing. If not specified, the default currency will be used.

Response Parameters #

Parameter Description
status A boolean value indicating whether the request was successful or not. True if successful, false otherwise.
message A string containing a message regarding the status of the request. If the request was successful, this parameter will contain a success message, otherwise, an error message.
payment_id The ID of the payment made for the completed gig.
payment_status The status of the payment made for the completed gig.
transaction_id The ID of the transaction that took place for the completed gig.
transaction_status The status of the transaction that took place for the completed gig.

Example Request #

bash
POST https://admin.voomerr.com/api/sold_by_runner.php
Content-Type: application/json
{
"user_id": 123,
"gig_id": 456,
"currency": "USD"
}

Example Response #

json
{
"status": true,
"message": "Gig marked as sold by runner."
}

Powered by BetterDocs