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
Get Order Details
AI-generatedSummary
Fetches order details from the payments API using a merchant ID, customer phone number, and order code. Returns the API response in a success envelope for each input item.
Inputs
- Merchant ID (required) — Store UUID. Defaults from
$json.merchantId. - Customer Phone (required) — Customer phone in international format. Defaults from
$json.customerPhoneor$json.phone. - Message — Can supply the order code when the Order Code field is empty; defaults from
$json.messageor$json.text. - Order Code (required) — Order identifier sent as
orderCode. Defaults from$json.orderCode,$json.code, or$json.message.
Output shape
A success envelope for each input item, with success, operation, data, and message fields.
Makes a GET request to the payments API’s
/v1/internal/orders/detailsendpoint with merchant ID, customer phone, and order code query parameters. The returned operation field islookup_order_statusand the message describes a status lookup, despite the UI operation being Get Order Details. API errors are thrown as node errors.