Gig To Draft

This API endpoint is used to convert a published gig into a draft gig or vice versa.

Endpoint #

The Voomerr Get Gig Draft endpoint is POST https://admin.voomerr.com/api/gig_to_draft.php

Request Parameters #

Name Type Description
gig_id int The ID of the gig to update
is_draft int A flag to indicate whether the gig is a draft

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.

Example Request #

makefile
POST https://admin.voomerr.com/api/gig_to_draft.php
Parameters:
gig_id=123
is_draft=1

Example Response #

json
{
"status": true,
"message": "Gig successfully converted to draft."
}

Powered by BetterDocs