v1
latestOpenAPI 3.0.32026-08-06150495.9 KBGet Order Financials
This endpoint retrieves orders with financial details
Request
-
Method: GET
-
URL: {{base-url}}/orders/financial
-
Query Parameters:
-
limit (integer, optional): The maximum number of financial orders to retrieve.
-
offset (integer, optional): The offset for pagination.
-
clientId (string, required): The unique identifier of the client.
-
-
{ "startDate": "YYYY-MM-DD", "endDate": "YYYY-MM-DD", "listingIds": ["string"], "channel": ["string"] }
-
startDate (string): The start date for filtering financial orders.
-
endDate (string): The end date for filtering financial orders.
-
listingIds (array of strings): The listing IDs to filter financial orders by.
-
channel (array of strings): The channels to filter financial orders by.
-
Response
The response is a JSON object with the following schema:
{
"status": boolean,
"statusCode": integer,
"message": string,
"result": {
"showDummyData": boolean,
"ordersData": [
{
"listingId": string,
"deliveryUUID": string,
"orderId": string,
"storeId": string,
"orderDate": string,
"channel": string,
"orderStatus": {
"value": string,
"isPositive": boolean
},
"subTotal": {
"offPremise": integer
},
"deductions": {
"total": integer,
"commission": integer,
"promoValue": integer,
"deliveryFee": integer,
"tips": integer,
"marketingFees": integer,
"paymentTransactionFee": integer,
"ezReward": integer,
"preferredPartnerProgram": integer,
"deliveryCommission": integer,
"otherPayments": integer,
"marketingAdjustments": integer,
"commissionTax": integer,
"taxWithHeld": integer,
"merchantFee": integer
},
"tax": integer,
"difference": {
"errorCharges": {
"total": integer,
"itemValue": integer,
"itemTax": integer
},
"adjustments": {
"total": integer,
"itemValue": integer,
"itemTax": integer
},
"refundByVoosh": {
"total": integer,
"itemValue": integer,
"itemTax": integer
},
"total": {
"total": integer,
"itemValue": integer,
"itemTax": integer
}
},
"netPayout": {
"total": integer
},
"estimatedPayout": integer,
"transactions": [
{
"transactionId": string,
"transactionDate": string,
"payoutId": string,
"transactionType": string,
"description": string,
"netPayout": integer
}
],
"payoutDiff": string
}
]
},
"error": string
}
Query parameters
(optional) – Specifies the number of clients to fetch. If not provided, the default value is 5.
(optional) – Specifies the starting point for fetching the records. Used for pagination. The default value is 0.
(required) – The common ID between Voosh and the partner, used to identify the client.
Headers
(required) – The unique token ID provided to the partner for authentication and secure data access.
Request body
Example request
{
"channel": [
"DOORDASH",
"DOORDASH_DRIVE"
],
"endDate": "2024-08-14",
"listingIds": [
"P8521",
"P8531"
],
"startDate": "2024-08-13"
}Response
200
Example response
{
"message": "Financial reconciliation drill-down generated successfully",
"result": {
"ordersData": [
{
"channel": "UBEREATS",
"deductions": {
"commission": -3.02,
"commissionTax": 0,
"deliveryCommission": 0,
"deliveryFee": 0,
"ezReward": 0,
"marketingAdjustments": 0,
"marketingFees": 0,
"merchantFee": 0,
"otherPayments": 0,
"paymentTransactionFee": 0,
"preferredPartnerProgram": 0,
"promoValue": 0,
"taxWithHeld": 0,
"tips": 0,
"total": -3.02
},
"deliveryUUID": "960b3853-41ba-4a11-ac83-936118f3bd22",
"difference": {
"adjustments": {
"itemTax": 0,
"itemValue": 0,
"total": 0
},
"errorCharges": {
"itemTax": 0,
"itemValue": 0,
"total": 0
},
"refundByVoosh": {
"itemTax": 0,
"itemValue": 0,
"total": 0
},
"total": {
"itemTax": 0,
"itemValue": 0,
"total": 0
}
},
"estimatedPayout": 13.73,
"listingId": "P8521",
"netPayout": {
"total": 13.73
},
"orderDate": "2024-02-03T00:00:00.000Z",
"orderId": "002FD",
"orderStatus": {
"isPositive": true,
"value": "Completed"
},
"payoutDiff": null,
"storeId": "256424",
"subTotal": {
"offPremise": 16.75
},
"tax": 0,
"transactions": [
{
"description": null,
"netPayout": 13.73,
"payoutId": "5WO025282H8X8B3",
"transactionDate": "2024-02-03T00:00:00.000Z",
"transactionId": "872b4a77-f96b-4631-8bbd-f67f960002fd",
"transactionType": "Completed"
}
]
},
{
"channel": "DOORDASH",
"deductions": {
"commission": -4.46,
"commissionTax": 0,
"deliveryCommission": 0,
"deliveryFee": 0,
"ezReward": 0,
"marketingAdjustments": 0,
"marketingFees": 0,
"merchantFee": 0,
"otherPayments": 0,
"paymentTransactionFee": 0,
"preferredPartnerProgram": 0,
"promoValue": 0,
"taxWithHeld": 0,
"tips": 0,
"total": -4.46
},
"deliveryUUID": "960b3853-41ba-4a11-ac83-936118f3bd22",
"difference": {
"adjustments": {
"itemTax": 0,
"itemValue": 0,
"total": 0
},
"errorCharges": {
"itemTax": 0,
"itemValue": 0,
"total": 0
},
"refundByVoosh": {
"itemTax": 0,
"itemValue": 0,
"total": 0
},
"total": {
"itemTax": 0,
"itemValue": 0,
"total": 0
}
},
"estimatedPayout": 20.34,
"listingId": "P8531",
"netPayout": {
"total": 20.34
},
"orderDate": "2024-02-03T00:00:00.000Z",
"orderId": "0527C",
"orderStatus": {
"isPositive": true,
"value": "Completed"
},
"payoutDiff": null,
"storeId": "234234",
"subTotal": {
"offPremise": 24.8
},
"tax": 0,
"transactions": [
{
"description": null,
"netPayout": 20.34,
"payoutId": "5WO025282H8X8B3",
"transactionDate": "2024-02-03T00:00:00.000Z",
"transactionId": "a668f086-15bc-436a-b75c-2c041950527c",
"transactionType": "Completed"
}
]
}
],
"showDummyData": true
},
"status": true,
"statusCode": 200
}