售后API / 查看換貨單詳情
售后API / 查看換貨單詳情
發布日期:2025-05-21
瀏覽次數:88
1.1 說明
路徑 | //www.your_website_domain.com/FeiEditor🍬/api_v1/shop/services-re🌜placement/{id} |
方法 | GET |
說明 | 根據條件查詢換貨單 |
1.2 參數
名稱 | 必須 | 類型 | 描述 |
id | Yes | int | 換貨單id |
1.3 返回結果
正確結果 |
返回格式:JSON |
{
"replacements": { "ID": 104069, "code": "013", "request_type": "replacement", "order_id": "104068", "tracking_code": "", "tracking_provider": "", "return_tracking_code": "", "return_tracking_provider": "", "request_tracking_code": "", "price": "33.00", "creator": "1", "create_date": "2025-05-20 10:25:26", "create_date_gmt": "2025-05-20 02:25:26", "status": "replacement_new", //狀態: replacement_processing, replacement_reviewing, replacement_completed, replacement_rejected, replacement_new "modified": "2025-05-20 10:25:51", "modified_gmt": "2025-05-20 02:25:51", "replacement_reject": "3333333", "replacement_sku":{ "sku":"SKU002", "qty":"1" } "field_1790425781": "無理由換貨", "products": [ { "id": "12", "request_id": "104069", "product_id": "96089", "order_item_index": "929", "quantity": "1", "price": "33.00", "product_name": "test-blue-5" } ] } } |
錯誤返回 |
{
"errors":[{ "code":"api_order_status_error", "message":"Order status is cancelled" }] } |