文档中心 > API类目 > 菜鸟末端商业

qimen.cainiao.cntec.recycle.order.create (调用回收商创建订单接口)

调用回收商创建订单

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
order_id String 必须 F00000xqqq 菜鸟履约单号
biz_type String 必须 CLOTHES 业务类型,用于区分回收品类
station_id Number 必须 100262 菜鸟驿站ID
station_lat String 必须 129.233 驿站纬度
station_lng String 必须 80.222 驿站经度
station_province String 必须 浙江省 省份
station_city String 必须 杭州市 城市
station_district String 可选 西湖区 区县级名称
station_town String 可选 蒋村街道 乡镇街道
station_address String 必须 文一西路中节能西溪首座 详细地址
station_name String 必须 蝶园菜鸟驿站 菜鸟驿站名称
user_name String 必须 王大山 驿站联系人姓名
user_phone String 必须 13088646235 驿站联系人手机
predict_weight Number 可选 1000 预估重量,单位:克
feature String 可选 {"xxx":"yyy"} 预留扩展信息
appointment_time String 必须 20190930 预约日期,至少T+1
quantity Number 可选 5 数量

响应参数

名称 类型 示例值 描述
error_message String 参数非法 错误描述,success为false时有值
success Boolean true true表示成功,false表示失败
error_code String ERROR_PARAM 错误码,success为false时有值
order_id String xxxxxx 回收商订单ID

请求示例

1
{"station_name":"蝶园菜鸟驿站","station_address":"文一西路中节能西溪首座","station_province":"浙江省","appointment_time":"20190930","quantity":5,"station_town":"蒋村街道","user_name":"王大山","biz_type":"CLOTHES","station_id":100262,"station_city":"杭州市","predict_weight":1000,"feature":"{\"xxx\":\"yyy\"}","station_lng":"80.222","station_district":"西湖区","station_lat":"129.233","user_phone":"13088646235","order_id":"F00000xqqq"}

响应示例

1
2
3
4
5
6
{
    "error_message":"参数非法",
    "success":true,
    "error_code":"ERROR_PARAM",
    "order_id":"xxxxxx"
}

验签示例

1
{"error_message":"Illegal request","success":"false","error_code":"sign-check-failure"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部