Sales - Take Aways With Pending Orders
GET
Get Take Aways With Pending Orders
Retrieve all active take aways with their current pending sale information for a given date. Each take away includes the pending sale details and its sale items (with product name, quantity, and addons). Take aways with no pending sale will have pending_sale as null.
GET
/sales/take-aways-with-pending-orders
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| date | string | Optional | Filter by date (format: Y-m-d). Defaults to today. |
Response
200 OKStatus Code
HTTP status code (200)
Message
Take aways with pending sale orders retrieved successfully
Data
List of all active take aways with their pending sale and sale items