From adf13410ba71bc7e54feac691adb349866670e32 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Tue, 10 Mar 2026 11:57:34 +0800 Subject: [PATCH] =?UTF-8?q?[DOCS]=20=E6=9B=B4=E6=96=B0=20API=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E8=A3=9C=E5=85=85=20api-test-01=20=E6=B8=AC?= =?UTF-8?q?=E8=A9=A6=E5=80=89=E8=AA=AA=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/markdown/manual/api-integration.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/markdown/manual/api-integration.md b/resources/markdown/manual/api-integration.md index 51d06ab..5788147 100644 --- a/resources/markdown/manual/api-integration.md +++ b/resources/markdown/manual/api-integration.md @@ -85,7 +85,7 @@ Star ERP 系統提供外部整合 API (Integration API) 供電商前台、POS | 參數名稱 | 類型 | 必填 | 說明 | | :--- | :--- | :---: | :--- | -| `warehouse_code` | String | **是** | 要查詢的倉庫代碼 (例如:`STORE-001`) | +| `warehouse_code` | String | **是** | 要查詢的倉庫代碼 (例如:`STORE-001`,測試可使用預設建立之 `api-test-01`) | ### Response @@ -94,7 +94,7 @@ Star ERP 系統提供外部整合 API (Integration API) 供電商前台、POS ```json { "status": "success", - "warehouse_code": "STORE-001", + "warehouse_code": "api-test-01", "data": [ { "external_pos_id": "POS-ITEM-001", @@ -136,7 +136,7 @@ Star ERP 系統提供外部整合 API (Integration API) 供電商前台、POS | 欄位名稱 | 型態 | 必填 | 說明 | | :--- | :--- | :---: | :--- | | `external_order_id` | String | **是** | 第三方系統中的唯一訂單編號,不可重複 (Unique) | -| `warehouse_code` | String | **是** | 指定扣除庫存的倉庫代碼 (例如:`STORE-001`)。若找不到對應倉庫將直接拒絕請求 | +| `warehouse_code` | String | **是** | 指定扣除庫存的倉庫代碼 (例如:`api-test-01` 測試倉)。若找不到對應倉庫將直接拒絕請求 | | `payment_method` | String | 否 | 付款方式,僅接受:`cash`, `credit_card`, `line_pay`, `ecpay`, `transfer`, `other`。預設為 `cash` | | `sold_at` | String(Date) | 否 | 交易發生時間,預設為當下時間 (格式: YYYY-MM-DD HH:mm:ss) | | `items` | Array | **是** | 訂單明細陣列,至少需包含一筆商品 | @@ -153,7 +153,7 @@ Star ERP 系統提供外部整合 API (Integration API) 供電商前台、POS ```json { "external_order_id": "ORD-20231026-0001", - "warehouse_code": "STORE-001", + "warehouse_code": "api-test-01", "payment_method": "credit_card", "sold_at": "2023-10-26 14:30:00", "items": [