邮费成本列表
分页查每张面单的邮费成本,用来算每单的物流支出。
| 请求方式 | GET/POST |
|---|---|
| 接口路径 | /api/postCost/list |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
shopId | Integer | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/postCost/list?shopId=1' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
data 为数组,每项结构见下方字段说明。
{
"code": 200,
"message": "操作成功",
"success": true,
"data": [
{
"id": 1,
"shopId": 1,
"postId": "string",
"name": "string",
"onSale": 1,
"content": "string",
"partnerId": "string",
"partnerKey": "string",
"partnerSecret": "string",
"partnerName": "string",
"net": "string",
"code": "string",
"checkMan": "string",
"company": "string",
"postCnName": "string",
"postDicId": 1,
"minPrice": 0.0,
"addTime": "string"
}
]
}