售后API / 查看退貨單詳情
售后API / 查看退貨單詳情
發布日期:2025-05-21
瀏覽次數:28
1.1 說明
路徑 | //www.your_website_domain.com/FeiEditor/api▨_v1/shop/services-returning/{i✱d} |
方法 | GET |
說明 | 根據id查查看退貨單 |
1.2 參數
名稱 | 必須 | 類型 | 描述 |
ID | Yes | int | 退貨單ID |
1.3 返回結果
正確結果 |
返回格式:JSON |
{
"returning": { "ID": 54047, "code": "030", "request_type": "returning", "order_id": "54045", "tracking_code": "", "tracking_provider": "", "return_tracking_code": "", "return_tracking_provider": "", "request_tracking_code": "y", "price":"35.00", "creator": "1", "create_date": "2021-01-06 15:03:23", "create_date_gmt": "2021-01-06 07:03:23", "status": "returning_processing", //狀態: returning_processing, returning_reviewing, returning_completed, returning_rejected, returning_new "modified": "2021-04-17 17:01:01", "modified_gmt": "2021-04-17 09:01:01", "returning_reject": "", //拒絕理由備注 "products": [ { "id": "30", "product_id": "26518", "quantity": "1", "product_name": "商品DEMO", "price":"35.00", } ], "notes": [ { "comment_ID": "604", "comment_post_ID": "54047", "comment_date": "2025-05-20 13:52:30", "comment_date_gmt": "2025-05-20 05:52:30", "comment_content": "這是一個備注", "user_id": "1", } ] } } |
錯誤返回 |
{
"errors":[{ "code":"api_order_status_error", "message":"Order status is cancelled" }] } |