企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 订单物流接口 订单物流接口 ##### 1、删除订单 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Order&met=hideOrder&typ=json *string:order_id#订单号 *string:user=seller#买家删除订单 <<< success <<< error ``` ``` ##### 2、彻底删除订单 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Order&met=hideOrder&typ=json *string:order_id#订单号 *string:user=seller# *string:op=del# <<< success <<< error ``` ``` ##### 3、还原订单 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Order&met=restoreOrder&typ=json *string:order_id#订单号 *string:user=seller# <<< success <<< error ``` ``` ##### 4、货到付款确认收款 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Order&met=confirmCollection&typ=json *string:order_id#订单号 <<< success <<< error ``` ``` ##### 5、取消订单 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Order&met=orderCancel&typ=json *string:order_id#订单号 *string:state_info#订单取消原因 <<< success <<< error ``` ``` ##### 6、验证兑换码 ``` <pre class="calibre14">``` get:/index.php?ctl=Seller_Trade_Order&met=virtualExchange&typ=json *int:vr_code#兑换码 <<< success <<< error ``` ``` ##### 7、顺丰获取电子面单 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Order&met=sendShipInfo&typ=json *string:receive_name#收货人姓名 *string:receive_mobile#收货人电话 *string:receive_address#收货人地址 *string:buyer_address_span#购买人地址 *string:seller_address_span#商家地址 name#说明文字 <<< success <<< error ``` ``` ##### 8、发货 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Order&met=send&typ=json *string:order_id#订单号 name#说明文字 <<< success <<< error ``` ``` ##### 9、更改默认地址 ``` <pre class="calibre14">``` get:/index.php?ctl=Seller_Trade_Deliver&met=setDefaultAddress *string:shipping_address_id#地址id <<< success <<< error ``` ``` ##### 10、新增地址 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Deliver&met=addAddress&op=save&typ=json *string:shipping_address_contact#联系人 *string:shipping_address_phone#联系方式 *string:shipping_address_address#详细地址 *int:province_id#省份id *int:city_id#城市id *int:area_id#联系方式 *string:address_area#地址信息 *string:shipping_address_company#公司 name#说明文字 <<< success <<< error ``` ``` ##### 11、编辑地址 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Deliver&met=addAddress&op=save&typ=json *int:id# *string:shipping_address_contact#联系人 *string:shipping_address_phone#联系方式 *string:shipping_address_address#详细地址 *int:province_id#省份id *int:city_id#城市id *int:area_id#联系方式 *string:address_area#地址信息 *string:shipping_address_company#公司 <<< success <<< error ``` ``` ##### 12、默认物流公司 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Deliver&met=express&typ=json&op=save *row:id#物流公司id <<< success <<< error ``` ``` ##### 13、免运费额度 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Deliver&met=freightAmount&op=save&typ=json *int:free_shipping#免运费额度 <<< success <<< error ``` ``` ##### 14、发货单打印设置 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Deliver&met=printSetting&op=save&typ=json *string:shop_print_desc#打印设置 *string:shop_stamp#店铺印章 <<< success <<< error ``` ``` ##### 15、设置默认运单模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Waybill&met=operateByManage&typ=json&action=set_default *int:user_express_id# *int:waybill_tpl_id# <<< success <<< error ``` ``` ##### 16、我的订单解绑 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Waybill&met=operateByManage&typ=json&action=unbind_tpl *int:user_express_id# *int:waybill_tpl_id# <<< success <<< error ``` ``` ##### 17、模板设置 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Waybill&met=waybillSetting&typ=json *row:data# *string:store_waybill_top# *string:store_waybill_left# <<< success <<< error ``` ``` ##### 18、自建模板添加 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Waybill&typ=json&met=addTpl *string:waybill_name#模板名 *string:waybill_width#模板宽度 *string:waybill_height#模板高度 *string:waybill_top#上偏移量 *string:waybill_left#左偏移量 *string:waybill_image#模板图片 <<< success <<< error ``` ``` ##### 19、自建模板编辑 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Waybill&typ=json&met=editTpl *int:waybill_tpl_id#模板id *int:waybill_express#物流公司id *string:waybill_name#模板名 *string:waybill_width#模板宽度 *string:waybill_height#模板高度 *string:waybill_top#上偏移量 *string:waybill_left#左偏移量 *string:waybill_image#模板图片 <<< success <<< error ``` ``` ##### 20、删除自建模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Waybill&met=removeTpl&typ=json *int:waybill_tpl_id#模板id <<< success <<< error ``` ``` ##### 21、设计模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Trade_Waybill&met=designTpl&typ=json *row:waybill_data#模板数据 <<< success <<< error ``` ``` ##### 22、评价回复 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Goods_Evaluation&met=addEvaluationExplain&typ=json *int:evaluation_goods_id#回复商品id *string:con#解释内容 *int:con#状态 <<< success <<< error ``` ``` ##### 23、添加运费模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Transport&met=transportSubmit&typ=json *string:template_name#模板名称 *int:template_status#模板状态 *row:transport# *row:areas#运送地区 <<< success <<< error ``` ``` ##### 24、编辑运费模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Transport&met=transportSubmit&typ=json *int:template_id#模板id *string:template_name#模板名称 *int:template_status#模板状态 *row:transport# *row:areas#运送地区 <<< success <<< error ``` ``` ##### 25、删除运费模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Transport&met=delTemplate&typ=json *string:id#运费模板id <<< success <<< error ``` ``` ##### 26、添加区域模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Transport&met=areaSubmit&typ=json *row:city#区域 *area_name#模板名称 <<< success <<< error ``` ``` ##### 27、编辑区域模板 ``` <pre class="calibre14">``` post:/index.php?ctl=Seller_Transport&met=areaSubmit&typ=json *int:area_id#模板id *row:city#区域 *area_name#模板名称 <<< success <<< error ``` ``` ##### 28、删除区域模板 ``` <pre class="calibre15">``` post:/index.php?ctl=Seller_Transport&met=delArea&typ=json *int:id#模板id <<< success <<< error ``` ```