文档
测试

创建订单

POST
/api/logistics/v1/admin/order/add

接口描述

******************** 批量创建,按照格式要求

请求参数

参数名
类型
描述
必填
type
int
物流类型。0:内部 1:外部
必填
merchant_id
string
供应商id
必填
order_price
string
运费
必填
payment
int
支付方式。1:现金 2:月结
必填
remark
string
备注
必填

响应参数

参数名
类型
描述
必填
error_code
int
成功:0
必填
error_message
失败:其他错误吗
必填

说明 / 示例

备注:创建订单请求参数json格式如下: [ { "type" : 1, "merchant_id" :1, "order_price" :123, // 订单金额 "payment" :1,// 支付方式 。1:微信二维码支付 2:月结 3:现金 4:外部银行卡转账 5:其他 "remark" :"dzfgdfgdfgd----------" // 备注 }, { "type" : 1, "merchant_id" :1, "order_price" :345, "payment" :2, "remark" :"刚好是短--------发太过严肃的发热体" }, { "type" : 1, "merchant_id" :1, "order_price" :345, "payment" :1, "remark" :" -----" } ]