取得1688商品運費
API 概要
- 根據省份取得運費模板
- 根據總數量與總重量取得總運費
API URL
請求參數
Query
| 欄位 | 類型 | 說明 | 必填 |
|---|---|---|---|
| item_id | int | Product ID | 是 |
| province | str | Chinese province name, e.g., "广东","广东省","gd","Guangdong" | 是 |
| total_quantity | int | Total quantity of the product to be shipped 預設值:1 | 否 |
| total_weight | float | Total weight of the product to be shipped (in kg). You can calculate it by the weight information in the product detail API, If there is no weight information, just ignore this parameter. | 否 |
安全驗證
提示
請前往 控制台-API Keys 建立您的 apikey。
請將您的 apikey 加入請求標頭中,並參考下方的請求範例。
請求範例
- cURL
- Python
- JavaScript
- Java
- Go
- PHP
回應範例
- 200
- 417
- 422
- 439
- 499
- 500
- 503
Loading...