简要描述:

  • 创建订单

请求域名:

请求URL:

环境 请求方法 请求地址
测试环境 POST https://dev1.yunzmall.com/addons/yun_shop/api.php?i=2&uuid=0&type=5&route=plugin.yun-sign.api.order.create
生产环境 POST --

参数:

参数名 是否必须 类型 说明
access_token string 通过access_token接口获取的token
goods_id int 商品id
total int 商品数量
mobile string 电话
name string 姓名或昵称
order_id string 订单id或订单其他唯一标识
order_channel int 渠道id

返回示例:

正确时返回:

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

错误时返回:

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

返回参数说明:

参数名 类型 说明
result int 1-成功,0-异常
msg string 错误提示

备注: