Get Gig Draft

This API allows the user to retrieve their drafted gigs.

Endpoint #

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

Request Parameters #

Parameter Required Description
user_id Yes The ID of the user.
currency Yes The currency of the user.

Response Parameters #

The API returns a JSON response with the following parameters:

Parameter Description
success A boolean value indicating whether the API call was successful.
message A message providing additional information about the response.
drafts An array of objects representing the drafted gigs.
Each object in the ‘drafts’ array has the following parameters: #
Parameter Description
gig_id The ID of the drafted gig.
gig_name The name of the drafted gig.
gig_image The URL of the image associated with the drafted gig.
gig_description The description of the drafted gig.
gig_status The status of the drafted gig.
gig_price The price of the drafted gig.
gig_currency The currency of the price of the drafted gig.
gig_product_count The number of products associated with the drafted gig.
gig_created_date The date and time when the drafted gig was created.

Example Request #

json
{
"user_id": "1234",
"currency": "USD"
}

Example Response #

json
{
"success": true,
"message": "Draft gigs retrieved successfully.",
"drafts": [
{
"gig_id": "5678",
"gig_name": "Graphic Design Services",
"gig_image": "https://example.com/images/graphic_design.jpg",
"gig_description": "I will provide high-quality graphic design services.",
"gig_status": "Draft",
"gig_price": "50.00",
"gig_currency": "USD",
"gig_product_count": "2",
"gig_created_date": "2022-02-01 12:00:00"
},
{
"gig_id": "9101",
"gig_name": "Web Development Services",
"gig_image": "https://example.com/images/web_development.jpg",
"gig_description": "I will develop a responsive and user-friendly website for you.",
"gig_status": "Draft",
"gig_price": "100.00",
"gig_currency": "USD",
"gig_product_count": "3",
"gig_created_date": "2022-01-01 10:00:00"
}
]
}

Powered by BetterDocs