4.5 抢团购码.md
1.58 KB
/* Title: 2.11 取消订单 Sort: 13 */
URL: http://console.open.cnlive.com/open/api/pom/orderForTeamPromCode
请求方式: POST
返回格式: JSON
请求参数说明:
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| sp_id | true | String | 服务提供商ID |
| sid | true | Integer | 用户ID |
| prdId | true | String | 商品ID |
| promCode | true | String | 团购码 |
| ts | true | String | 时间戳 |
| plat | true | String | 平台类型 |
| sign | true | String | 签名 |
返回格式说明:
成功:
{
"errorCode":"0",
"errorMessage":"订单创建成功"
}
失败:
{
"errorCode":"1103",
"errorMessage":"商品失效"
}
{
"errorCode":"1104",
"errorMessage":"库存不足"
}
{
"errorCode":"1102",
"errorMessage":"推广码不足"
}
{
"errorCode":"xxxxx",
"errorMessage":"缺少参数|参数非法|plat参数非法|未登陆"
}