send_order_message
Send a message to a buyer about their specific order, such as shipping updates or service replies.
Instructions
[WRITE] 發送與特定訂單相關的對話訊息。
【用途】 針對指定訂單發送訊息給買家,適用於出貨通知、客服回覆、訂單異常說明等場景。
【呼叫的 Shopline API】
POST /v1/conversations/order-messages
【回傳結構】 dict 含 success: bool, resource_id: str, message: str, conversation: dict。
【副作用】
在買家的對話收件匣中新增一則訊息,買家可即時收到通知
訊息送出後無法撤回或修改
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_data | Yes | 訊息資料,例如 {"order_id": "ORD123", "message": "您的訂單已出貨,請注意查收!", "sender_type": "merchant"} |