# 網購平台API參數設定作業

### 【Shopee(蝦皮)】頁面

<figure><img src="/files/QclPOHtFuAJZSjIZ2qxz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MndYWk0qXQ2yx7auKCO1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/OXVw6qEFDSwhzgXj6Gb0" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4Je8OHn0Hegi6PafLUpx" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/XiOLJarzqRlEWbaP4vm4" alt=""><figcaption></figcaption></figure>

### 【蝦皮API\_操作步驟】

1、點選\[修改]輸入欲串接蝦皮API的「公司代號」、「API URL」是否正確。

2、點選\[儲存]。

3、點選［取得授權］呼叫API取得授權網址，開啟蝦皮官網進行授權驗證。

4、接著會出現［取得蝦皮授權］視窗，請輸入「partner\_id」、「partner\_key」點選［確定］鈕。

5、出現會蝦皮授權登入帳號、密碼輸入後，請點選［登入］。

6、點選［確認授權］鈕。

7、出現確認授權期限訊息，預設期限為一年，請點選［確認授權］鈕。

8、回到CERP此作業畫面，請點選［更新授權狀態］鈕，並依取得授權資訊寫回下方［Shop\_ID\_info(蝦皮賣場資訊)］。

9、可點選［測試］鈕，確認是否可成功呼叫蝦皮API已授權的賣場。

10、確認成功呼叫即可點選［確定］。

11、點選［修改］鈕

12、補上「轉入CERP庫別」代號。

13、點選［儲存］鈕，即可完成此作業設定。

* **API URL：**&#x9810;設蝦皮正式API入口（<https://partner.shopeemobile.com），可依需求修改。>
* **取得授權：**&#x700F;覽狀態下才顯示此功能鈕；點選依「API URL」開啟［取得蝦皮授權］視窗，輸入「partner\_id」、「partner\_key」點選［確定］鈕，取得蝦皮API串接授權。
* **Shop\_id(賣場ID)：**&#x82E5;已知賣場ID可自行輸入，其餘欄位由授權後回填；或由執行［取得授權］成功後，若賣場ID不存在，則自動新增一筆明細；已存在，則直接更新授權。
* **授權到期日：**&#x6388;權期限預設一年；固定填入系統日＋1年—1天顯示。
* **庫別：**&#x5FC5;填，儲存會檢核不可空白。
* **轉入訂單：**&#x52FE;選，表示“啟用”呼叫蝦皮API串接功能。

### 【Cyberbiz】頁面

* **API URL：**&#x8F38;入Cyberbiz的API URL，固定為“<https://app-store-api.cyberbiz.io”。>
* **API Token：**&#x8ACB;至Cyberbiz管理後台［APP MARKET＼我的擴充服務］設定完成後，即可複製「API Token」資料，再於此欄位貼上［儲存］，點選［API呼叫測試］即可。

<figure><img src="/files/Rahc5qcURgIQdYFnP6z4" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ZyEx9CqaJ2ejPje8yPXh" alt=""><figcaption></figcaption></figure>

### 【Shopline】頁面

<figure><img src="/files/EhdKV3URZpqe9MP9UynO" alt=""><figcaption></figcaption></figure>

**安裝文中擴充功能進行授權：**&#x8ACB;利用步驟❸網址輸入Shopline帳密登入後台設定，安裝【文中ERP資料串接】至Shopline擴充功能商店後，即可於［取得Shopline授權］視窗，按［確認］。。

**輸入企業自行取得Token進行授權：**&#x82E5;已與Shopline簽約，由Shopline協助您取得 API的Token，取得後請將該Token貼上至系統中，以完成授權。

<figure><img src="/files/cvr7no6JAK8T1g777sop" alt=""><figcaption></figcaption></figure>

依上述步驟取得Shopline授權後，即回填［Shopline店家資訊］可依實際需求調整「轉入CERP庫別」、「轉入CERP客戶代號」，進行店家的「API呼叫測試」查看是否正常。

<figure><img src="/files/XhTFDaD81U87uBwFwd79" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cerp.gitbook.io/winton-clouderp/wang-gou-guan-li/ji-ben-she-ding/wang-gou-ping-tai-api-can-shu-she-ding-zuo-ye.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
