Sales - Tokens With Pending Orders
GET
Get Tokens With Pending Orders
Retrieve all active tokens with their current pending sale information for a given date. Each token includes the pending sale details and its sale items (with product name, quantity, and addons). Tokens with no pending sale will have pending_sale as null.
GET
/sales/tokens-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
Tokens with pending sale orders retrieved successfully
Data
List of all active tokens with their pending sale and sale items