jingdong.logistics.o2o.sku.stock_owner.update
功能说明
O2O接收商品库存归属接口
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
spu_id | Number | 是 | 1000000001 | spus编码 |
sku_id | Number[] | 是 | 1000000001 | skus编码 |
name | String[] | 是 | 商品名称 | sku名称 |
stock_owner | String | 是 | 1 | 库存属性(1:库房发货 2:门店直送) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
SkuAddResponse | SkuAddResponse | 订单出库 |
SkuAddResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 处理结果代码 1:成功 其他:失败 |
process_status | String | 否 | SUCCESS | 处理结果描述 |
error_message | String | 否 | 无权限调用方法 | 错误信息 |
返回示例
{ "jingdong_logistics_o2o_sku_stock_owner_update_response": { "SkuAddResponse": { "error_message": "无权限调用方法", "process_code": "1", "process_status": "SUCCESS" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.order.search
功能说明
查询订单列表
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 否 | 1001 | 外部站点编号(在门店系统中设置的) |
order_id | String | 否 | 5678987654 | 订单号 |
order_state | String | 否 | 1 | 订单状态 |
order_time_start | String | 否 | 2013-10-01 12:11:11 | 下单时间起始 |
order_time_end | String | 否 | 2013-10-01 12:11:11 | 下单时间截止 |
order_update_time_start | String | 否 | 2013-10-01 12:11:11 | 订单更新时间起始 |
order_update_time_end | String | 否 | 2013-10-01 12:11:11 | 订单更新时间截止 |
current_page | Number | 是 | 11 | 当前页数 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
order | OrderResponse | 订单信息 |
OrderResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 取消结果代码 1:成功 其他:失败 |
process_status | String | 否 | SUCCESS | 取消结果名称 |
error_message | String | 否 | 无权限取消 | 错误信息 |
total_page | Number | 否 | 12 | 总页数 |
cur_page_num | Number | 否 | 1 | 当前页 |
order_list | OrderinfoResponse[] | 否 | 订单数据 |
OrderinfoResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
order_id | String | 否 | 订单号 | |
vender_id | String | 否 | 商家编号 | |
pay_type | String | 否 | 支付方式 | |
sorting_type | Number | 否 | 分拣方式 | |
order_stock_owner | String | 否 | 订单库存归属 | |
order_total_price | Number | 否 | 订单总金额 | |
order_payment | Number | 否 | 用户应付金额 | |
order_seller_price | Number | 否 | 订单货款金额 | |
freight_price | Number | 否 | 商品的运费 | |
seller_discount | Number | 否 | 商家优惠金额 | |
pin_buyer | String | 否 | 买家的账号 | |
delivery_type | String | 否 | 送货(日期)类型 | |
order_type | String | 否 | 订单类型 | |
invoice_state | String | 否 | 是否有发票 | |
invoice_info | String | 否 | 发表内容 | |
order_remark | String | 否 | 订单备注 | |
order_start_time | Date | 否 | 下单时间 | |
order_end_time | Date | 否 | 结单时间 | |
full_name | String | 否 | 客户名称 | |
full_address | String | 否 | 地址 | |
telephone | String | 否 | 电话 | |
mobile | String | 否 | 手机号 | |
province | Number | 否 | 省编号 | |
city | Number | 否 | 市编号 | |
county | Number | 否 | 县编号 | |
town | Number | 否 | 镇编号 | |
province_name | String | 否 | 省 | |
city_name | String | 否 | 市 | |
county_name | String | 否 | 县 | |
town_name | String | 否 | 镇 | |
item_info_list | OrderinfoProductResponse[] | 否 | 订单商品列表 | |
coupon_detail_list | OrderinfoProductDiscountResponse[] | 否 | 订单商品优惠列表 | |
order_state_list | OrderinfoStatusFlowResponse[] | 否 | 订单状态流水 | |
return_order | String | 否 | 换货订单标识 | |
vender_remark | String | 否 | 商家订单备注 | |
modified | Date | 否 | pop订单更新时间 | |
station_order_state | Date | 否 | 门店系统订单状态 | |
station_order_update_time | Date | 否 | 门店系统订单更新时间 | |
station_no | String | 否 | 门店系统站点编号 | |
station_no_isv | String | 否 | 站点编号(外部) | |
station_name | String | 否 | 站点名称 | |
station_order_type | String | 否 | 订单时效 0:默认时效 9:一小时送达 2:次日达 | |
order_cancel_time | Date | 否 | 申请取消时间 | |
order_cancel_reason | Date | 否 | 订单取消原因 | |
order_backward_remark | String | 否 | 申请返调度备注 | |
station_payment_type | String | 否 | 站点收款方式 | |
station_payment_cash | Number | 否 | 站点实收现金 | |
station_payment_pos | Number | 否 | 站点POS刷卡金额 | |
station_delivery_type | Number | 否 | 门店配送类型 | |
carrier_no | String | 否 | POP承运商编号 | |
carrier_name | String | 否 | 承运商名称 | |
deliver_no | String | 否 | 承运单号 |
OrderinfoProductResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
order_id | String | 否 | 订单编号 | |
sku_id | String | 否 | 京东内部SKU的ID | |
outer_sku_id | String | 否 | SKU外部ID | |
sku_name | String | 否 | 商品的名称+SKU规格 | |
jd_price | Number | 否 | SKU的京东价 | |
gift_point | Number | 否 | 赠送积分 | |
ware_id | String | 否 | 京东内部商品ID | |
item_total | Number | 否 | 数量 | |
stock_owner | String | 否 | 库存归属1:库房发货 2:门店直送 |
OrderinfoProductDiscountResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
coupon_price | Number | 否 | 优惠金额 | |
coupon_type | Number | 否 | 优惠类型 | |
order_id | String | 否 | 订单编号 | |
sku_id | String | 否 | 京东sku编号 |
OrderinfoStatusFlowResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
state_value | 否 | 状态值 | ||
state_time | String | 否 | 操作时间 | |
state_operator | String | 否 | 操作人 | |
state_remark | String | 否 | 备注 |
返回示例
{ "jingdong_logistics_o2o_order_search_response": { "order": { "total_page": "12", "cur_page_num": "1", "error_message": "无权限取消", "process_code": "1", "process_status": "SUCCESS", "order_list": [ { "OrderinfoResponse": { "station_payment_pos": "", "city": "", "pay_type": "", "province": "", "order_stock_owner": "", "order_total_price": "", "carrier_name": "", "station_name": "", "freight_price": "", "station_order_update_time": "", "modified": "", "order_start_time": "", "province_name": "", "deliver_no": "", "county": "", "return_order": "", "station_delivery_type": "", "station_no": "", "town": "", "county_name": "", "station_no_isv": "", "station_order_type": "", "vender_remark": "", "mobile": "", "carrier_no": "", "delivery_type": "", "city_name": "", "order_end_time": "", "town_name": "", "order_cancel_reason": "", "order_payment": "", "order_remark": "", "station_order_state": "", "order_id": "", "invoice_state": "", "station_payment_cash": "", "item_info_list": [ { "OrderinfoProductResponse": { "jd_price": "", "ware_id": "", "sku_name": "", "stock_owner": "", "gift_point": "", "outer_sku_id": "", "sku_id": "", "order_id": "", "item_total": "" } } ], "sorting_type": "", "coupon_detail_list": [ { "OrderinfoProductDiscountResponse": { "coupon_type": "", "sku_id": "", "order_id": "", "coupon_price": "" } } ], "invoice_info": "", "full_address": "", "pin_buyer": "", "order_cancel_time": "", "order_backward_remark": "", "order_seller_price": "", "seller_discount": "", "station_payment_type": "", "order_state_list": [ { "OrderinfoStatusFlowResponse": { "state_value": "", "state_remark": "", "state_operator": "", "state_time": "" } } ], "vender_id": "", "telephone": "", "full_name": "", "order_type": "" } } ] } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.order.queryAfs
功能说明
查询售后服务单
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 否 | 9876554457 | 外部站点编号(在门店系统中设置的) |
order_id | String | 否 | 5678987654 | POP订单号 |
customer_order_id | String | 否 | 5678987654 | 售后系统的售后服务单号 |
customer_order_state | String | 否 | 9876554457 | 售后服务单状态 |
customer_order_time_start | String | 否 | 2012-08-12 14:23:54 | 售后服务单下单时间起始 |
customer_order_time_end | String | 否 | 2012-08-12 14:23:54 | 售后服务单下单时间截止 |
customer_order_update_time_start | String | 否 | 2012-08-12 14:23:54 | 售后服务单更新时间起始 |
customer_order_update_time_end | String | 否 | 2012-08-12 14:23:54 | 售后服务单更新时间截止 |
current_page | Number | 是 | 1 | 当前页 |
page_num | Number | 是 | 50 | 显示条数 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Afs_Service_Response | AfsServiceResponse | 售后服务单查询 |
AfsServiceResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 取消结果代码 1:成功 其他:失败 | |
process_status | String | 否 | SUCCESS | 取消结果名称 |
error_message | String | 否 | 无权限取消 | 错误信息 |
total_page | Number | 否 | 总页数 | |
cur_page_num | Number | 否 | 当前页的服务单数 | |
customer_order_list | AfsServiceDto[] | 否 | 订单数据 |
AfsServiceDto 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
customer_order_id | String | 否 | 售后服务单号 | |
customer_station_no | String | 否 | 服务单申请站点(门店系统的站点编号) | |
customer_order_apply_time | String | 否 | 服务单申请时间 | |
customer_order_verify_time | String | 否 | 服务单审核时间 | |
customer_order_finish_time | String | 否 | 服务单处理时间 | |
customer_order_state | String | 否 | 服务单状态 | |
customer_order_type | String | 否 | 服务单类型 | |
customer_order_cert | String | 否 | 服务单申请凭证 | |
customer_order_problem | String | 否 | 服务单问题描述 | |
customer_order_return_way | String | 否 | 服务单商品返回方式 | |
customer_order_contactor | String | 否 | 服务单联系人姓名 | |
customer_order_contactor_tel | String | 否 | 服务单联系人电话 | |
customer_order_verify_remark | String | 否 | 服务单审核备注 | |
order_id | String | 否 | POP系统的订单号 | |
vender_id | String | 否 | pop系统的商家id | |
pay_type | String | 否 | 支付方式 | |
cash_refund | String | 否 | 现金退款 | |
pos_refund | String | 否 | pos退款 | |
pin_buyer | String | 否 | 买家的账号 | |
customer_order_detail_list | AfsServiceDetailDto[] | 否 | 售后服务单明细 | |
refund_list | AfsRefundDto[] | 否 | 退款金额数据 |
AfsServiceDetailDto 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
customer_order_sku_id_pop | String | 否 | 服务单商品ID(京东内部SKU的ID) | |
customer_order_sku_id_outer | String | 否 | 服务单商品ID(外部SKU的ID) | |
customer_order_sku_name | String | 否 | 服务单商品的名称+SKU规格 | |
customer_order_apply_num | Number | 否 | 服务单申请数量 | |
customer_order_verify_num | Number | 否 | 服务单审核数量 | |
customer_order_finish_remark | String | 否 | 服务单处理备注 |
AfsRefundDto 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
customer_order_id | String | 否 | 售后服务单号 | |
typeId | Number | 否 | 类型:1,其他支付 2,手机红包 3,余额 4,礼品卡 5,京东优惠券 6,客户实际支付 7,京豆 | |
itemName | String | 否 | 明细名称 | |
itemMoney | Number | 否 | 明细金额 |
返回示例
{ "jingdong_logistics_o2o_order_queryAfs_response": { "Afs_Service_Response": { "customer_order_list": [ { "customer_order_verify_time": "", "customer_order_return_way": "", "customer_order_cert": "", "refund_list": [ { "itemName": "", "itemMoney": "", "customer_order_id": "", "typeId": "" } ], "customer_order_state": "", "customer_order_type": "", "customer_order_verify_remark": "", "customer_order_detail_list": [ { "customer_order_sku_id_pop": "", "customer_order_apply_num": "", "customer_order_sku_name": "", "customer_order_sku_id_outer": "", "customer_order_verify_num": "", "customer_order_finish_remark": "" } ], "pin_buyer": "", "cash_refund": "", "pos_refund": "", "customer_order_problem": "", "order_id": "", "pay_type": "", "customer_order_contactor_tel": "", "customer_order_contactor": "", "customer_order_apply_time": "", "customer_order_finish_time": "", "customer_order_id": "", "vender_id": "", "customer_station_no": "" } ], "total_page": "", "cur_page_num": "", "error_message": "无权限取消", "process_code": "", "process_status": "SUCCESS" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.cancellstatus.update
功能说明
更新订单状态取消
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 是 | 4563 | 外部站点编号(在门店系统中设置的) |
order_id | String | 是 | 9876554457 | POP系统的订单号 |
state_operator | String | 是 | yyk | 操作人 |
order_cancel_reason | String | 是 | 1 | 订单取消原因 |
order_cancel_remark | String | 否 | 客户拒收 | 订单取消备注 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderResponseStatus | ResponseStatus | 更新订单取消 |
ResponseStatus 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 结果代码 1:成功 其他:失败 |
process_status | String | 否 | 不存在此pin | 结果说明 |
error_message | String | 否 | 不存在此pin | 错误信息 |
order_id | String | 否 | 987655786 | 订单编号 |
返回示例
{ "jingdong_logistics_o2o_cancellstatus_update_response": { "OrderResponseStatus": { "error_message": "不存在此pin", "process_code": "1", "process_status": "不存在此pin", "order_id": "987655786" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.order.carriage
功能说明
更新门店系统订单为已出库
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
order_id | String | 是 | 9876554457 | POP系统的订单号 |
carrier_no | String | 是 | 5678987654 | POP系统的承运商编号 |
deliver_no | String | 是 | 5678987654 | 承运单号 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderExport | OrderExportResponse | 订单出库 |
OrderExportResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 取消结果代码 1:成功 其他:失败 |
process_status | String | 否 | SUCCESS | 取消结果名称 |
error_message | String | 否 | 无权限取消 | 错误信息 |
order_id | String | 否 | 订单编号 | |
vender_id | String | 否 | 商家编号 | |
order_update_time | String | 否 | 2013-01-01 10:55:55 | 门店系统的订单更新时间 |
返回示例
{ "jingdong_logistics_o2o_order_carriage_response": { "OrderExport": { "error_message": "无权限取消", "process_code": "1", "process_status": "SUCCESS", "order_update_time": "2013-01-01 10:55:55", "vender_id": "", "order_id": "" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.receivestatus.update
功能说明
更新订单收单
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 是 | 4563 | 外部站点编号(在门店系统中设置的) |
order_id | String | 是 | 9876554457 | POP系统的订单号 |
state_operator | String | 是 | 5678987654 | 操作人 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderResponseStatus | ResponseStatus | 更新订单收单 |
ResponseStatus 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 结果代码 1:成功 其他:失败 |
process_status | String | 否 | 不存在此pin | 结果说明 |
error_message | String | 否 | 不存在此pin | 错误信息 |
order_id | String | 否 | 987655786 | 订单编号 |
返回示例
{ "jingdong_logistics_o2o_receivestatus_update_response": { "OrderResponseStatus": { "error_message": "不存在此pin", "process_code": "1", "process_status": "不存在此pin", "order_id": "987655786" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.anti_dispatch.update
功能说明
更新返调度
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 是 | 4563 | 外部站点编号(在门店系统中设置的) |
order_id | String | 是 | 9876554457 | POP系统的订单号 |
state_operator | String | 是 | 5678987654 | 操作人 |
anti_dispatcher_remark | String | 否 | 站点送错 | 原因备注 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderResponseStatus | ResponseStatus | 更新反调度 |
ResponseStatus 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 结果代码 1:成功 其他:失败 |
process_status | String | 否 | 不存在此pin | 结果说明 |
error_message | String | 否 | 不存在此pin | 错误信息 |
order_id | String | 否 | 987655786 | 订单编号 |
返回示例
{ "jingdong_logistics_o2o_dispatchstatus_update_response": { "OrderResponseStatus": { "error_message": "不存在此pin", "process_code": "1", "process_status": "不存在此pin", "order_id": "987655786" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.dispatchstatus.update
功能说明
订单返调度处理接口
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 是 | 外部站点编号(在门店系统中设置的) | |
order_id | String | 是 | 订单号 | |
state_operator | String | 是 | 操作人 | |
real_shop | String | 是 | 目标门店编号 | |
anti_dispatcher_remark | String | 否 | 原因备注 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderServiceResponse | OrderServiceResponse | 订单返调度 |
OrderServiceResponse 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 处理结果代码 1:成功 其他:失败 |
process_status | String | 否 | SUCCESS | 结果描述 |
error_message | String | 否 | 无权限调用方法 | 错误信息 |
order_id | String | 否 | 订单号 |
返回示例
{ "jingdong_logistics_o2o_anti_dispatch_update_response": { "OrderServiceResponse": { "error_message": "无权限调用方法", "process_code": "1", "process_status": "SUCCESS", "order_id": "" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.deliverystatus.update
功能说明
更新订单配送
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 是 | 4563 | 外部站点编号(在门店系统中设置的) |
order_id | String | 是 | 9876554457 | POP系统的订单号 |
state_operator | String | 是 | 5678987654 | 操作人 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderResponseStatus | ResponseStatus | 更新订单配送 |
ResponseStatus 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 结果代码 1:成功 其他:失败 |
process_status | String | 否 | 不存在此pin | 结果说明 |
error_message | String | 否 | 不存在此pin | 错误信息 |
order_id | String | 否 | 987655786 | 订单编号 |
返回示例
{ "jingdong_logistics_o2o_deliverystatus_update_response": { "OrderResponseStatus": { "error_message": "不存在此pin", "process_code": "1", "process_status": "不存在此pin", "order_id": "987655786" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |
jingdong.logistics.o2o.endstatus.update
功能说明
更新订单状态妥投
需要
名称 | 类型 | 是否必须 | 描述 |
method | String | 是 | API接口名称 |
access_token | String | 是 | 采用OAuth授权方式为必填参数 |
app_key | String | 是 | 应用的app_key |
sign | String | 是 | 签名 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。京东API服务端允许客户端请求时间误差为6分钟 |
format | String | 否 | 暂时只支持json |
v | String | 否 | API协议版本,可选值:2.0 |
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
station_no | String | 是 | 4563 | 外部站点编号(在门店系统中设置的) |
order_id | String | 是 | 9876554457 | POP系统的订单号 |
state_operator | String | 是 | yyk | 操作人 |
station_payment_cash | String | 是 | 12.00 | 站点实收现金 |
station_payment_pos | String | 是 | 0.00 | 站点POS刷卡金额 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderResponseStatus | ResponseStatus | 更新订单妥投 |
ResponseStatus 属性
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
process_code | Number | 否 | 1 | 结果代码 1:成功 其他:失败 |
process_status | String | 否 | 不存在此pin | 结果说明 |
error_message | String | 否 | 不存在此pin | 错误信息 |
order_id | String | 否 | 987655786 | 订单编号 |
返回示例
{ "jingdong_logistics_o2o_endstatus_update_response": { "OrderResponseStatus": { "error_message": "不存在此pin", "process_code": "1", "process_status": "不存在此pin", "order_id": "987655786" } } } |
public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret); |