简要描述:

  • 立即购买

请求域名:

请求URL:

POST:route=plugin.store-cashier.frontend.pos.merge-pay.store-aggregate

参数:

参数名 是否必须 类型 说明 备注
pmt_name string 支付类型 微信支付:WeixinNXYS 支付宝支付:AlipayNXYS
buy_id int 购买者id 没有可不传
store_id int 门店ID
member_coupon_ids string 优惠券id(逗号分隔) 没有传空
dispatch_type_id int 配送类型 2自提 默认传2
amount int 总金额
goods(json字符串) 是否必须 类型 说明 备注
goods_id int 商品id
option_id int 规格id 没有可不传
total int 购买数量 (如果是称重商品则传克数)
amount number 称重总价(兼容称重商品)
orders(json字符串)(没有可不传) 是否必须 类型 说明
pre_id int 预下单id
deduction_ids [deduction.code] 抵扣码 point积分 love爱心值
note string 订单备注

返回示例:

正确时返回:

{
    "result":1,
    "msg":"成功",
    "data":{
    }
}

错误时返回:

  • 缺少访问参数 - 商品ID
{
    "result": 0,
    "msg": "缺少访问参数",
    "data": [ ]
}


### 返回参数说明:

|参数名|类型|说明|备注|
|:-----  |:-----|-----|
|url  |string|二维码链接||

备注: