請求會員訂單資料(Request)
Request body
| 欄位名稱 | 對應欄位 | 資料型態 | 備註 |
|---|---|---|---|
| 功能 | action | listorder | 請求功能名稱 |
| 會員帳號 | Fsession_member | String | |
| 今牌 | Fmember_token | String | 從會員登入中取得今牌, 令牌保留24小時, 24小時後自動失效 |
{
"data": {
"action": "listorder",
"Fsession_member": "test",
"Fmember_token": "KJvwGiGZeUwxYgZYmIXZowcTlGOhjyca"
}
}
請求會員訂單資料(Request)成功
Response body
| 欄位名稱 | 對應欄位 | 資料型態 | 備註 |
|---|---|---|---|
| 訂單單號 | orderid | String | |
| 訂單金額 | Order_amount | String | |
| 預計配達日期 | deliveryRange | String | |
| 付款狀態 | Payment_status | String | |
| 商品數 | Product_count | String | |
| 訂單日期 | Orderdate | String | |
| 付款方式 | Payment_methods | Number | |
| 訂單狀態 | Order_status | String | |
| 運送方式 | Delivery_method | String | |
| 訂單數量 | OdrQty | Number | |
| 訂單總金額 | OrderTotal | Number | |
| 商店資料 | listmycart | Array |
訂定商品資料
| 欄位名稱 | 對應欄位 | 資料型態 | 備註 |
|---|---|---|---|
| 商品圖片 | imageUrl | string | |
| 商品名稱 | Product_Name | String | |
| 商品貨號 | Product_no | Number | |
| 商品ID | gid | Number | |
| 訂購數量 | Product_count | String | |
| 購物ID | mycart_id | String | |
| 商品規格 | Product_Selection | String | |
| 商品售價 | Product_Price | Number |
範例
[
{
"orderid": "2026012311372239758",
"order_amount": "1060",
"currency": "NT$",
"currencyunit": "元",
"deliveryRange": "2026/01/26 ~ 2026/01/28",
"Payment_status": "",
"Product_count": "2",
"orderdate": "2026/01/23 11:45:57",
"Payment_methods": "ATM或金融機構臨櫃轉帳",
"order_status": "訂單處理中",
"Delivery_method": "郵局",
"listmycart": [
{
"imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20240412160847845.jpg",
"Product_name": "NIKE 男 棉質 短袖 上衣 AR5005100 AR5005010 AR5005101",
"Product_no": "N1",
"Product_count": "2",
"mycart_id": "21681",
"Product_Selection": "",
"Product_Price": "550"
}
]
},
{
"orderid": "2026012311163169802",
"order_amount": "1060",
"currency": "NT$",
"currencyunit": "元",
"deliveryRange": "2026/01/26 ~ 2026/01/28",
"Payment_status": "",
"Product_count": "2",
"orderdate": "2026/01/23 11:38:06",
"Payment_methods": "ATM或金融機構臨櫃轉帳",
"order_status": "訂單處理中",
"Delivery_method": "郵局",
"listmycart": [
{
"imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20240412160847845.jpg",
"Product_name": "NIKE 男 棉質 短袖 上衣 AR5005100 AR5005010 AR5005101",
"Product_no": "N1",
"Product_count": "2",
"mycart_id": "21681",
"Product_Selection": "",
"Product_Price": "550"
},
{
"imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20240412160847845.jpg",
"Product_name": "NIKE 男 棉質 短袖 上衣 AR5005100 AR5005010 AR5005101",
"Product_no": "N1",
"Product_count": "2",
"mycart_id": "21680",
"Product_Selection": "",
"Product_Price": "550"
}
]
},
{
"orderid": "2025123010173533788",
"order_amount": "27189",
"currency": "NT$",
"currencyunit": "元",
"deliveryRange": "2026/01/26 ~ 2026/01/28",
"Payment_status": "",
"Product_count": "26",
"orderdate": "2026/01/23 11:17:15",
"Payment_methods": "ATM或金融機構臨櫃轉帳",
"order_status": "訂單處理中",
"Delivery_method": "郵局",
"listmycart": [
{
"imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20240412160847845.jpg",
"Product_name": "NIKE 男 棉質 短袖 上衣 AR5005100 AR5005010 AR5005101",
"Product_no": "N1",
"gid": "217",
"Product_count": "2",
"mycart_id": "21681",
"Product_Selection": "",
"Product_Price": "550"
},
{
"imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20240412160847845.jpg",
"Product_name": "NIKE 男 棉質 短袖 上衣 AR5005100 AR5005010 AR5005101",
"Product_no": "N1",
"gid": "221",
"Product_count": "2",
"mycart_id": "21680",
"Product_Selection": "",
"Product_Price": "550"
},
{
"imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20250719112433470.webp",
"Product_name": "GIGABYTE 技嘉 GS25F2",
"Product_no": "ALC09033",
"gid": "215",
"Product_count": "2",
"mycart_id": "21679",
"Product_Selection": "",
"Product_Price": "3680"
}
/* 中間商品結構皆已正確,可繼續依此格式顯示 */
]
}
]