Returns
Array of order details object object
Child attributes of the order details object
orderId
Integer
Unique identifier for this order
orderNumber
String
Order reference of customer platform
companyId
Integer
Company identifier associated with the order
areaId
Integer
Area identifier where the order is placed
customer
Object
Customer information containing name, address, contact details and location coordinates
restaurant
Object
Restaurant information including id, name, address, contact details and location coordinates
assignedCarrier
Object
Details of the carrier assigned to deliver the order including personal info, contact details and status
distance
Number
Distance between restaurant and customer location in miles/kilometers
activityLog
Object
Timeline of order activities including placement, pickup, delivery times and expectations
costing
Object
Order cost breakdown including total cost, delivery fee, tip, discount, tax and cash tip
paymentMethod
String
Method of payment used for the order (e.g., CASH, CARD, ONLINE)
orderItems
Array
List of items ordered, each containing name, quantity and unit price
assignedCarrierId
Integer
ID of the carrier assigned to this order (-1 if no carrier assigned)
orderStatus
Object
Current status of the order including completion state, acceptance status and order state
trackingLink
String
URL for tracking the order delivery progress (null if not available)
feedback
String
Customer feedback or comments about the order (null if no feedback provided)
schedule
Boolean
Indicates whether the order is scheduled for future delivery
parentId
Integer
Parent order identifier for linked orders (0 if no parent order)
etaTime
String
Estimated time of arrival for order delivery
deliveryInstruction
String
Special delivery instructions from customer (null if no instructions provided)