api-inventory.md 1.51 KB

低价单接口清单

接口 调用位置 参数或返回改造
order.search.containPackageGoods.byArea 低价单列表 sceneType=1、lowPriceFlag=1、审批状态筛选
order.statByApplyStatus 低价单页签统计 sceneType=1、lowPriceFlag=1
weapp.waitinputorder.page 待补录弹层 lowPriceFlag、merchantId、yqMerchantId
weapp.waitinputorder.count 创建页待补录统计 lowPriceFlag、yqMerchantId
order.supplementOrder 补录提交 lowPriceFlag、sellerMerchantId
order.createWithPay 普通提交 lowPriceFlag、sellerMerchantId
serviceMerchant.curYqList 创建页非销售类人员选择 返回当前账号可见园区店;不用于新建低价单第一步
serviceMerchant.shopWithYqList 新建低价单第一步、低价单筛选 必传 sceneType=1;返回当前账号关联 4S 店及园区店并归一化
order.detail 详情与编辑回显 保留返回的 lowPriceFlag

merchantId 始终表示所选 4S 店,yqMerchantId 与 sellerMerchantId 始终表示该 4S 店所属园区店。固定用户模拟只负责用户身份,不提供或覆盖 session,也不参与下单门店选择。

低价商品资格为前端提交前规则,不新增 ROP 接口:选品接口返回的每个实际商品需 validMinSellPrice='Y' 且存在 minSellPrice,录入基础单价必须严格小于该值;失败时在进入 order.createWithPay 或 order.supplementOrder 前终止。