My orders (LINE VIP)
my_ordersOrder history of a LINE VIP customer connected through their personal token URL (gyk_…). No arguments needed — the customer is the owner of this connection. Lists each order (and each invoice not tied to an order) with its date, status (paid / unpaid / overdue / cancelled / awaiting picking / awaiting invoice), the invoice total and due date when an invoice exists, and the items with requested kg → actual kg from the invoice. Invoices and receipts are not linked in the text: the user opens them from the buttons in the catalog widget (Orders tab). Chat-registered customers cannot list orders here; the Receipt button in their widget calls this tool with document=receipt and ref= to get a 15-minute receipt link for a paid order. Not for guests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Used only by the widget buttons (an order or invoice id from this tool's result). | |
| document | No | Used only by the widget buttons. Do not set it when the user asks for their orders. |