简要描述:

提货卡-创建订单

请求域名:

  • https://dev4.yunzmall.com/

请求URL:

POST/plugin.picking-card.frontend.create.index

修改基础设置时传递的参数:

参数名 是否必须 类型 说明
dispatch_type_id int 配送方式
address string 收货地址{"username":"张三 ","mobile":"13112121212","zipcode":"","province":"广东省","city":"广州市","district":"白云区","street":"景泰街道","address":"2323232323"}
goods string 商品信息 [{"goods_id":597,"total":1,"option_id":0}]
price string 保证金额
is_filter int 是否兑换滤芯
password string 密码

返回示例:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "order_ids": "231012",
        "order_sn": "SN20201110150023Wm"
    }
}

错误时返回:

{
    "result": 0,
    "msg": "此卡已经被使用过",
    "data": []
}

备注:

  • 更多返回错误代码请看首页的错误代码描述