v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Conversations

Get Conversations

Get Conversations<br>獲取對話列表

get/conversations

Query parameters

platform'shop_messages' | 'order_messages' | 'return_order_messages' required

Conversation from shop or order<br>網店訊息或是訂單訊息<br>return_order_messages 尚未開放

customer_idstring

Customer ID<br>客戶ID

pageinteger

Page Number<br>頁數

per_pageinteger

Numbers of Conversation per Page<br>每頁顯示 n 筆資料

Response

OK

OR

Example response

{
  "pagination": {
    "current_page": 1,
    "per_page": 24,
    "total_count": 1,
    "total_pages": 1
  },
  "items": [
    {
      "id": "622090c66775a37b9fa60799",
      "customer_id": "622090c67895b5731f2c53c5",
      "last_message": {
        "id": "600ac08191f6530044eaad8a",
        "sender_id": "622090c67895b5731f2c53c5"
      }
    }
  ]
}