页面树结构
Skip to end of metadata
Go to start of metadata
接口地址{url}/api/open/v7/pos/smartMenu/sellOutPush
请求方式post
请求体

{
    "appId":"928f580e-XXXX-XXXX",
    "timestamp":1600844076168,
    "shopId":"HSL001",
    "brandId":"A001",
    "menu":[
        {
            "foodKey":"F001",
            "foodName":"珍珠奶茶",
            "localValue":"100",
            "unit":"大杯",
            "unitKey":"U001"
        }
    ]
}

参数名是否必须类型说明
appIdString

盒司令发放的app唯一标识

timestamp

Timestamp

当前请求毫秒时间戳

shopIdString门店ID
brandIdString品牌ID
menuArrayList菜品信息
  • menu.foodKey
String菜品KEY
  • menu.foodName
String菜品名称
  • menu.localValue
String

该规格商品当前剩余销售量(0代表售罄)

  • menu.unit
String商品规格,如大杯、中杯
  • menu.unitKey
String商品规格Key
返回结果

{
 "code": 200,
 "message": "ok"
}

  • 无标签