Actions18
- Assign Conversation
- Check Coupon
- Close Conversation
- Get Conversation Context
- Get Delivery Info
- Get Order Details
- Get Payment Methods
- Get Product Details
- Get Promotions
- Get Store Info
- List Customer Orders
- Lookup Order Status
- Pause AI Attendance
- Register Inbound Message
- Register Outbound Message
- Resume AI Attendance
- Search Categories
- Search Products
List Customer Orders
AI-generatedSummary
Requests the customer’s orders for a merchant from the payments API. Provide the merchant ID and the customer’s phone number in international format; the node returns the API response in a success envelope.
Inputs
- Merchant ID (required) — Store UUID sent as the merchantId query parameter. Defaults to the incoming item’s merchantId.
- Customer Phone (required) — Customer phone number in international format, sent as the customerPhone query parameter. Defaults to the incoming item’s customerPhone or phone.
Output shape
A success envelope for each input item, returned on the first output: { success: true, operation: "list_customer_orders", data, message }.
The request is a GET to the payments service’s /v1/internal/orders endpoint. The operation message says it is unavailable in the current backend, but the implementation still makes the request and wraps its response as a success. The second output is only used for unsuccessful get_merchant_by_whatsapp_instance results.