v1

latestOpenAPI 3.0.32026-08-06150495.9 KB
Orders API

Get Order Details

This endpoint retrieves the details of a specific order based on the provided query parameters.

Request

  • Method: GET

  • URL: {{base-url}}/orders/order-details

  • Query Parameters:

    • clientId (string, required): The unique identifier of the client.

    • deliveryUUID (string, required): The unique identifier of the delivery.

    • channel (string, required): The channel through which the order was placed.

Response

The response is a JSON object with the following schema:

{
  "status": boolean,
  "statusCode": integer,
  "message": string,
  "result": {
    "orderId": string,
    "ListingId": string,
    "CustomerId": string,
    "channel": string,
    "customerIsPass": integer,
    "commisionPercentage": integer,
    "deliveryUUID": string,
    "orderUUID": string,
    "isPickupOrder": integer,
    "orderConfirmationTime": string,
    "orderAcceptedPosTime": string,
    "orderBeginTripTime": string,
    "orderCreationTime": string,
    "orderCompletionTime": string,
    "orderMerchantCommisson": integer,
    "orderRequestTime": string,
    "orderTax": integer,
    "orderTotalAfterDiscount": integer,
    "orderSubTotal": integer,
    "orderMerchantTax": integer,
    "orderFulfillmentMode": string,
    "orderMarketingFee": integer,
    "orderStatus": string,
    "orderNetPayout": integer,
    "taxPercentage": integer,
    "orderErrorCharges": integer,
    "orderErrors": string,
    "errorChargeExcludingTax": integer,
    "errorChargeTax": integer,
    "adjustmentExcludingTax": integer,
    "adjustmentTax": integer,
    "adsFee": integer,
    "alcoholFeeTax": integer,
    "alcoholFlatFee": integer,
    "offerTitle": string,
    "riderFirstName": string,
    "riderLastName": string,
    "preOrderMerchantTip": integer,
    "orderMerchantTip": integer,
    "giftCardCredit": integer,
    "loyaltyPoints": integer,
    "orderFailureReason": string,
    "orderMissingItems": string,
    "orderMerchantDelivery": string,
    "orderNetSubTotal": integer,
    "orderRefunds": integer,
    "orderStorePayment": integer,
    "orderTotalFees": integer,
    "promoSpendOnFood": integer,
    "createdAt": string,
    "updatedAt": string,
    "channelBy": string,
    "orderStatusDetails": string,
    "customerName": string,
    "customerFullName": string,
    "restaurantName": string,
    "restaurantAddress": string,
    "restaurantId": string,
    "restaurantCountryCode": string,
    "quotedDeliveryTime": string,
    "paymentMethod": string,
    "doordashDriveId": string,
    "driveDasherPreTip": string,
    "deliveryFee": string,
    "deliveryVariance": string,
    "itemCount": string,
    "bagFeeTotal": string,
    "gst": string,
    "gstOnAbBagFee": string,
    "gstOnAbVariableServiceFee": string,
    "hst": string,
    "hstOnVariableServiceFeeTotal": string,
    "timezone": string,
    "variableServiceFeeTotal": string,
    "paymentTransactionFee": string,
    "taxRemittedToState": string,
    "otherPayments": string,
    "preferredPartnerProgram": string
  },
  "error": string
}

get/orders/order-details

Query parameters

clientIdstring
Example:604517c0-fae8-41b7-8c20-0fe4778e415c

(required) – The common ID between Voosh and the partner, used to identify the client.

deliveryUUIDstring
Example:75126a41-c9a3-4344-a955-db3d80a0fb67

(required) – The unique ID for the order, used to fetch details related to a specific order.

channelstring
Example:DOORDASH

(required) – Specifies the platform where the restaurant order is placed (e.g., DoorDash, Uber Eats, Grubhub).

Headers

access-tokenstring
Example:{{access-token}}

(required) – The unique token ID provided to the partner for authentication and secure data access.

Response

200

{"stackTrail":"paths:/orders/order-details:get:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown","example":null,"nullable":true}
messagestring
statusboolean
statusCodenumber

Example response

{
  "message": "Order details fetched successfully",
  "result": {
    "CustomerId": "1246527420",
    "ListingId": "P13901",
    "adsFee": -4.56,
    "channel": "DOORDASH",
    "channelBy": "doordash",
    "commisionPercentage": 17,
    "createdAt": "2025-03-26 00:00:00",
    "customerName": "Payton W",
    "deliveryUUID": "75126a41-c9a3-4344-a955-db3d80a0fb67",
    "orderBeginTripTime": "2025-03-24 08:10:43",
    "orderCompletionTime": "2025-03-24 08:35:16",
    "orderConfirmationTime": "2024-03-24 08:00:11",
    "orderCreationTime": "2025-03-24 08:39:47",
    "orderErrors": "[]",
    "orderId": "2c10ada8",
    "orderMerchantCommisson": 5.32,
    "orderNetPayout": 21.4,
    "orderNetSubTotal": 31.28,
    "orderStatus": "DELIVERED_ORDER",
    "orderStatusDetails": "{\"value\":\"DELIVERED_ORDER\",\"display\":\"Delivered\",\"descriptionDisplay\":\"The order was delivered at 8:35 AM on March 24, 2025.\"}",
    "orderStorePayment": -4.56,
    "orderSubTotal": 31.28,
    "orderTax": 1.87,
    "restaurantAddress": "401 S Broad St, Lansdale, PA 19446, USA",
    "restaurantId": "637944",
    "restaurantName": "Manhattan Bagel (Broad St.)",
    "riderFirstName": "Manpreet",
    "taxPercentage": 6,
    "updatedAt": "2025-03-26 00:00:00"
  },
  "status": true,
  "statusCode": 200
}