請求會員訂單明細(Request)
Request body
| 欄位名稱 | 對應欄位 | 資料型態 | 備註 |
|---|---|---|---|
| 功能 | action | order | 請求功能名稱 |
| 會員帳號 | Fsession_member | String | |
| 訂單單號 | orderid | String | |
| 今牌 | Fmember_token | String | 從會員登入中取得今牌, 令牌保留24小時, 24小時後自動失效 |
{
"data": {
"action": "order",
"Fsession_member": "test",
"Fmember_token": "KJvwGiGZeUwxYgZYmIXZowcTlGOhjyca",
"orderid": "202511101130555559"
}
}
請求會員訂單明細(Request)成功
Response body
| 欄位名稱 | 對應欄位 | 資料型態 | 備註 |
|---|---|---|---|
| 訂單單號 | orderid | Number | |
| 訂單日期 | orderdate | String | |
| 訂單小計 | Subtotal | Number | |
| 折扣碼 | DiscountCode | String | |
| 折扣金額 | Discountamount | Number | |
| 折扣方案 | showsale | String | |
| 運送地址 | sendadder | String | |
| 訂單狀態 | deliveryRange | String | |
| 運費 | freight | Number | |
| 訂單金額 | Total | Number | |
| 收件人 | Recipient_name | String | |
| 收件人Email | String | ||
| 收件人Email | sendph | String | |
| 發票統一編號 | company_ubn | String | |
| 發票公司名稱 | company_name | String | |
| 運送方式 | Delivery_method | String | |
| 超商 | shopcate | String | 全家店到店 7-ELEVEN超商交貨便 萊爾富店到店 |
| 超商代碼 | shopid | String | |
| 超商名稱 | shopname | String | |
| 超商地址 | shopaddr | String | |
| 訂單備註 | order_notes | String | |
| 付款方式 | Payment_methods | String | |
| 付款說明 | Paymentmess | String | |
| 信用卡付款 | creditcard | String | 1使用信用卡付款, 0不使用信用卡付款 |
| 訂定商品資料 | 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": "202511101130555559", "Orderdate": "2025/11/10 11:30:55", "Subtotal": "4360", "DiscountCode": "", "Discountamount": "", "showsale": "", "sendadder": "717 台南市仁德區test343444", "deliveryRange": "2025/11/13 ~ 2025/11/15", "sale": "-NT$", "freight": "0", "Total": "4360", "Recipient_name": "test24", "email": "test@test.com.tw", "Recipient_phone": "091212", "company_ubn": "", "company_name": "", "Delivery_method": "自取", "shopcate": "", "shopid": "", "shopname": "", "shopaddr": "", "Order_notes": "", "Payment_methods": "ATM或金融機構臨櫃轉帳", "paymentmess": "提醒您,要在72小時內「2025/11/13 11:30」完成匯款並電話通知客服,逾期系統將會取消您的訂單。 銀行名稱 : 中國信託 銀行代號 : 822 銀行匯款帳號 : 12345678 銀行匯款戶名 : test", "creditcard": "", "listmycart": [ { "imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20240429112527261.jpg", "Product_Name": "Adidas 男裝 短袖上衣 純棉 黑【運動世界】CW0709", "gid": "44623", "Product_no": "A1", "Product_count": "1", "mycart_id": "21503", "Product_Selection": "尺寸:2XL", "Product_Price": "680" }, { "imageUrl": "https://test2.phpshop.com.tw/shop_images/test2.phpshop.com.tw/20250719112433470.webp", "Product_Name": "GIGABYTE 技嘉 GS25F2", "gid": "44906", "Product_no": "ALC09033", "Product_count": "1", "mycart_id": "21502", "Product_Selection": "", "Product_Price": "3680" } ] }