Get Order Revenue
GET
/api/v2/public/finance/order-revenue
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.omisell.com/api/v2/public/finance/order-revenue?page=1&page_size=20&completed_to=1704992399&completed_from=1704906000&keyword=579262767448689544&shop_id=1&invoice_requested=false&order_by=completed_time' \
--header 'Authorization;' \
--header 'Seller-ID;' \
--header 'Country;' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
"data": {
"count": 2051,
"next": "https://0.0.0.0:8888/api/v2/public/finance/order-revenue?completed_from=1732986000&completed_to=1733072400&page=2&page_size=1",
"previous": null,
"results": [
{
"omisell_order_number": "string",
"order_number": "string",
"nmv": 0,
"omisell_created_time": 0,
"created_time": 0,
"completed_time": 0,
"shop_information": {
"id": 0,
"name": "string",
"platform": "string",
"platform_logo": "string"
},
"billing_information": {
"invoice_requested": false,
"address": "string",
"tax_code": "string",
"receiver_name": "string",
"receiver_email": "string",
"company_name": "string"
},
"extra_information": {
"payment_information": [
{
"origin_payment_method": "string",
"payment_method": "COD",
"payment_method_name": "string",
"transaction_amount": 0,
"transaction_status": "string",
"transaction_code": "string",
"transaction_external_code": "string",
"transaction_reference": "string",
"transaction_time": 0,
"transaction_note": "string"
}
]
},
"invoice_statements": [],
"products": [
{
"pickup_id": 0,
"pickup_name": "string",
"sku_combo": "string",
"sku": "string",
"product_name": "string",
"unit": "string",
"is_gift": true,
"quantity": 0,
"discounted_price": 0,
"discounted_price_before_tax": 0,
"tax_vat": 0
}
]
}
]
},
"error": false,
"error_code": 200,
"attr_error": null,
"messages": ""
}
Request
Query Params
page
integer
required
Example:
1
page_size
integer
required
Example:
20
completed_to
integer
required
Example:
1704992399
completed_from
integer
required
Example:
1704906000
keyword
string
optional
Example:
579262767448689544
shop_id
integer
optional
Example:
1
invoice_requested
boolean
optional
Example:
false
order_by
string
optional
completed_time: Order by Completed time ascending (Oldest order)
-completed_time: Order by Completed time descending (Latest order)
Example:
completed_time
Header Params
Content-Type
string
required
Default:
application/json
Authorization
string
required
Default:
Omi {{Token}}
Seller-ID
number
optional
Country
string
optional
Examples:
THVNPHIDMY
Body Params application/json
Responses
Modified at 2025-02-13 09:47:04