Get 1688 product shipping fee
API Overview
- Get shipping template based on province
- Get total shipping cost based on total quantity and weight
API URL
Request Parameters
Query
| Field | Type | Explanation | Required |
|---|---|---|---|
| item_id | int | Product ID | true |
| province | str | Chinese province name, e.g., "广东","广东省","gd","Guangdong" | true |
| total_quantity | int | Total quantity of the product to be shipped | false |
| 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. | false |
Security Auth
tip
Please go to Console-Account Center to get your apiToken.
Add your apiToken to the request parameters. Please refer to the examples below.
Request Example
- PHP
- JavaScript
- Python
- Java
- Go
Response Example
- 200
- 417
- 422
- 439
- 499
- 500
- 503
Loading...