Get Inprogress Order

The “get inprogress order” API endpoint allows a user to retrieve information about their current in-progress orders. This endpoint takes in a user ID and an optional currency parameter, and returns a JSON object containing information about the user’s in-progress orders, including the order ID, status, gig details, delivery time, location, and pricing information.

Endpoint #

The Voomerr Get Inprogress Orders endpoint is POST https://admin.voomerr.com/api/get_inprogress_order.php

Request Parameters #

Parameter Required Description
user_id Yes The ID of the user whose inprogress orders are to be retrieved.
currency No 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.
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.
inprogress_orders An array containing objects of inprogress orders.

Request Example #

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

Response Example #

json
{
"status": true,
"message": "Inprogress orders retrieved successfully.",
"inprogress_orders": [
{
"order_id": "98765",
"gig_id": "123",
"gig_name": "Grocery Shopping",
"gig_description": "I will do your grocery shopping and deliver it to your doorstep.",
"price": 20,
"currency": "USD",
"delivery_time": "2 hours",
"location": "New York City",
"status": "Inprogress"
},
{
"order_id": "67890",
"gig_id": "456",
"gig_name": "Laundry Service",
"gig_description": "I will do your laundry and deliver it back to you within 24 hours.",
"price": 15,
"currency": "USD",
"delivery_time": "24 hours",
"location": "Los Angeles",
"status": "Inprogress"
}
]
}

Powered by BetterDocs