简要描述:
- 门店pos收银-提单
请求域名:
- http://xx.com
请求URL:
route=plugin.store-pos.frontend.order.pullStorageOrder 请求该接口后,对应挂单ID的数据会被删除
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
id | 是 | int | 挂单ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": [
{
"goods_id": 160,
"option_id": 297,
"total": 2,
"price": "9.00",
"goods": {
"id": 160,
"title": "xu2",
"thumb": "images/1/2021/01/E8HyH8y4D8E3GHHYVUYy3Vh4ZyKDE8.jpg",
"price": "5.00",
"status": 1,
"has_option": 1,
"status_name": "上架"
},
"goods_option": {
"id": 297,
"title": "蓝",
"product_price": "9.00"
}
},
{
"goods_id": 158,
"option_id": 0,
"total": 1,
"price": "1.00",
"goods": {
"id": 158,
"title": "xu",
"thumb": "newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
"price": "1.00",
"status": 1,
"has_option": 0,
"status_name": "上架"
},
"goods_option": null
}
]
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |