请求方式 POST 请求路径 api/Promotions/CreateOrder_GroupBuy
创建拼团订单并返回订单号 团购下单
URI 参数说明
None.
Json字符串 参数说明:Body Data
FrontNeedForCreateGroupBuy
字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
GroupBuyOrderId |
拼团编号 即已创建的团的编号 如果为""或null 则为新开团 |
string |
None. |
AddressId |
使用的地址id |
integer |
None. |
CheckedCouponNo |
商品优惠券编号 |
string |
None. |
CheckedPostCouponNo |
记录选择的运费券编号 |
string |
None. |
proId |
拼团主表id 添加时间2019-05-17 |
integer |
None. |
PostWay |
配送方式 0-新货栈配送 1-到店自取 |
integer |
None. |
BuyCount |
购买数量 |
integer |
None. |
LeaveWord |
买家留言 |
string |
None. |
UseHzb |
使用货站币金额 |
decimal number |
None. |
PayWay |
付款方式 0微信支付 1银联支付 2货到付款 |
integer |
None. |
HelpOrderServiceId |
代下单客服Id |
integer |
None. |
SourceId |
下单来源 0-公众号 1-小程序 2-安卓app |
integer |
None. |
请求格式:application/json, text/json
application/json
Sample:
{ "GroupBuyOrderId": "sample string 1", "AddressId": 2, "CheckedCouponNo": "sample string 3", "CheckedPostCouponNo": "sample string 4", "proId": 5, "PostWay": 6, "BuyCount": 7, "LeaveWord": "sample string 8", "UseHzb": 9.0, "PayWay": 10, "HelpOrderServiceId": 11, "SourceId": 12 }
得到响应信息说明
创建拼团订单并返回订单号 团购下单
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
Sample:
{ "ResponseMsg": "sample string 1", "ResponseCode": 2, "Data": {} }