Get Orders

The “get_orders” API allows users to retrieve their orders from the system based on their user ID and currency. This can be useful for users to keep track of their orders and their status, as well as to view details about their orders such as the gig ID, status, date, and price.
The API can be used by runners, customers, or anyone else who has placed an order on the Voomerr platform. The retrieved orders can be used for various purposes such as bookkeeping, record keeping, or analysis of sales data.

Endpoint #

The Voomerr Get Orders endpoint is GET

Request Parameters #

Parameter Required Description
user_id Yes The ID of the user to get orders for.
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. 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.
orders An array of JSON objects containing information about the user’s orders. Each object contains the order ID, gig ID, gig name, seller ID, seller name, buyer ID, buyer name, quantity, price, currency, and status.

Request Example #


Response Example #

"status": true,
"message": "Orders retrieved successfully",
"orders": [
"order_id": 1,
"gig_id": 123,
"gig_name": "Gig name 1",
"seller_id": 456,
"seller_name": "Seller name 1",
"buyer_id": 789,
"buyer_name": "Buyer name 1",
"quantity": 1,
"price": 10.99,
"currency": "USD",
"status": "completed"
"order_id": 2,
"gig_id": 456,
"gig_name": "Gig name 2",
"seller_id": 123,
"seller_name": "Seller name 2",
"buyer_id": 789,
"buyer_name": "Buyer name 1",
"quantity": 2,
"price": 19.99,
"currency": "USD",
"status": "pending"

Powered by BetterDocs