请求方式 POST 请求路径 api/Promotions/AddOrderThrough
工厂直通车下单
URI 参数说明
None.
Json字符串 参数说明:Body Data
ShopThroughOrderModel
字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
Id |
Id |
integer |
None. |
OrderId |
直通车订单编号 |
string |
None. |
OrderStatus |
订单状态 -2 已取消 -1拒绝 0-待确认、1-确认通过、待付款 2-已付款、待交付 3-已交付 4-已完成 |
integer |
None. |
PayStatus |
付款状态 0-待付款 1-已付款 |
integer |
None. |
ThroughNo |
直通车活动(商品)编号 |
string |
None. |
CustomerId |
用户编号 |
integer |
None. |
SalePrice |
销售单价 每顿或每箱 |
decimal number |
None. |
FreightPrice |
运费单价 每顿或每箱 |
decimal number |
None. |
TotalCount |
订单总数量 |
integer |
None. |
GoodsTotalMoney |
商品总金额 SalePrice*TotalCount |
decimal number |
None. |
FreightTotalMoney |
运费总金额 FreightPrice*TotalCount |
decimal number |
None. |
PayableMoney |
订单总金额、应付总金额 GoodsTotalMoney+FreightTotalMoney |
decimal number |
None. |
PaidMoney |
已支付金额(=应付总金额 PayableMoney) |
decimal number |
None. |
PayTime |
付款时间 |
date |
None. |
SerialNumber |
交易流水号 |
string |
None. |
Payee |
收款人 |
string |
None. |
ReceivePerson |
收货人 |
string |
None. |
ReceivePhone |
收货人电话 |
string |
None. |
ReceiveProvince |
收货地址省 |
string |
None. |
ReceiveCity |
收货地址市 |
string |
None. |
ReceiveDistrict |
收货地址区 |
string |
None. |
ReceiveAddressDetail |
收货地址详细地址 |
string |
None. |
CompanyId |
分栈公司ID |
integer |
None. |
AddTime |
AddTime |
date |
None. |
AddUser |
AddUser |
string |
None. |
UpdateTime |
UpdateTime |
date |
None. |
UpdateUser |
UpdateUser |
string |
None. |
Deleted |
0-正常 1-已删除 |
integer |
None. |
SupGoodsSkuId | string |
None. |
|
Remark | string |
None. |
|
Model |
型号 |
string |
None. |
Specification |
规格 |
string |
None. |
SkuName | string |
None. |
|
ActTotalCount |
活动总数量/重量 |
integer |
None. |
MiniCount |
最小购买量 |
integer |
None. |
SaleTotalCount |
已订购数量、已销售数量 用户下单时累加,后台审核不通过减去累加数量 |
integer |
None. |
IsAssign |
是否指定 0没指定 1指定用户了 |
integer |
None. |
ThroughName |
活动名称 |
string |
None. |
PreArriveDate |
预计到货日期 |
date |
None. |
SaleUnit |
销售单位 |
string |
None. |
Weight |
商品在erp重量 |
decimal number |
None. |
ImagesSrc |
商品图片 |
string |
None. |
IsStandard | integer |
None. |
|
BuyRange |
每一份购买标量 |
integer |
None. |
请求格式:application/json, text/json
application/json
{ "Id": 1, "OrderId": "sample string 2", "OrderStatus": 3, "PayStatus": 4, "ThroughNo": "sample string 5", "CustomerId": 6, "SalePrice": 7.0, "FreightPrice": 8.0, "TotalCount": 9, "GoodsTotalMoney": 10.0, "FreightTotalMoney": 11.0, "PayableMoney": 12.0, "PaidMoney": 13.0, "PayTime": "2025-07-03 18:15:47", "SerialNumber": "sample string 15", "Payee": "sample string 16", "ReceivePerson": "sample string 17", "ReceivePhone": "sample string 18", "ReceiveProvince": "sample string 19", "ReceiveCity": "sample string 20", "ReceiveDistrict": "sample string 21", "ReceiveAddressDetail": "sample string 22", "CompanyId": 23, "AddTime": "2025-07-03 18:15:47", "AddUser": "sample string 25", "UpdateTime": "2025-07-03 18:15:47", "UpdateUser": "sample string 27", "Deleted": 28, "SupGoodsSkuId": "sample string 29", "Remark": "sample string 30", "Model": "sample string 31", "Specification": "sample string 32", "SkuName": "sample string 33", "ActTotalCount": 34, "MiniCount": 35, "SaleTotalCount": 36, "IsAssign": 37, "ThroughName": "sample string 38", "PreArriveDate": "2025-07-03 18:15:47", "SaleUnit": "sample string 40", "Weight": 41.0, "ImagesSrc": "sample string 42", "IsStandard": 43, "BuyRange": 44 }
得到响应信息说明
工厂直通车下单
ResponseResult字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
ResponseMsg |
返回结果内容描述 |
string |
None. |
ResponseCode |
状态码 0(成功) >0(业务错误) <0(系统错误) -1: 系统错误 100: 字符为空报错 101: 字符类型错误 102: 图片上传失败200: 操作失败300: 缓存验证超时错误 301: 缓存验证码错误 302: token 错误系统不存在,非法操作 303: token 验证超时500: 参数错误 501: 数据为空 502: 存在重复数据 503: 业务验证失败 |
integer |
None. |
Data |
返回的结果集 |
Object |
None. |
响应格式
application/json, text/json
{ "ResponseMsg": "sample string 1", "ResponseCode": 2, "Data": {} }