Bbili-open-mcpMCP
★

运费模板列表查询

POST#94api SHOP_LOGISTICS_INFO
https://member.bilibili.com/arcopen/fn/market/common/logistics_freight_template_list

开放能力 / 交易电商 / 电商 / 接口 / 履约模块接口

调用该接口可查询运费模板列表

body 参数

名称类型必填说明
page_sizeint是翻页每页数量,默认10
page_noint是翻页页数,从1开始
namestring是模版名称

响应字段

名称类型必填说明
countint否模板总数
listlist否运费模版列表 结构体如下
page_sizeint否页大小
page_noint否页码
idint否运费模板id,可用于商品发布接口使用
template_namestring否运费模板名称
product_provincestring否发货省份id
product_citystring否发货城市id
calculate_typeint否计价方式-1.按重量计价 2.按数量计价
transfer_typeint否快递方式-1.快递 目前仅支持1
rule_typeint否模板类型-0:阶梯计价 1:固定运费 2:卖家包邮 3:货到付款

调用方式

javascript
// 让 AI 直接调(需要开放平台凭据)
bili_api_call { "ref": "94", "query": {…}, "body": {…} }

// 只看将要发出的请求(不需要凭据)
bili_api_call { "ref": "94", "dryRun": true }

// 生成完整调用代码
bili_codegen { "ref": "94", "lang": "python" }

官方请求示例

bash
curl --location --request POST 'https://uat-member.bilibili.com/arcopen/fn/market/common/logistics_freight_template_list' \
--header 'Accept: application/json' \
--header 'Access-Token: a24e56a0fc0093668bca0f3a15410ea2' \
--header 'Content-Type: application/json' \
--header 'x-bili-timestamp: 1712473117' \
--header 'x-bili-signature-method: HMAC-SHA256' \
--header 'x-bili-signature-version: 2.0' \
--header 'Authorization: afdf0ddc6dd8f5af9c7f25cf3115a03142e67df99e15f909a17c11e4c82ad4f9' \
--header 'x-bili-signature-nonce: 1712473117993237000' \
--header 'x-bili-accesskeyid: 8ca079bc20ce433d' \
--header 'x-bili-content-md5: 795a2d7e13f989cee460801379fe543c' \
--header 'Connection: keep-alive' \
--data-raw '{
  "page_no": 1,
  "page_size":10
}'

原始文档:094_运费模板列表查询.md(4018 字节)。用 bili_docs_get { "ref": "94" } 读全文,或用 bili_api_spec { "ref": "94" } 取结构化规格。