参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_familyhas_api_ApiForGetStockNumByStore |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
district_code | String | 是 | 区域编号 | 4654546546 | |
product_num | int | 否 | 商品数量 | 4654546546 | |
product_code | String | 是 | 商品编号 | 4654546546 | |
sku_code | String | 是 | color_id=0&style_id=0 | SKU属性 | |
member_code | String | 否 | 会员编号 | 4654546546 | |
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
sell_price | String | 库存价格 | |
promotionList | Promotion[] | 促销信息 | |
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
stock_num | int | 库存数量 | |
resultMessage | String | 返回消息 | 返回的消息描述 |
back_price | String | 返现金额 | 返现金额为库存价格的 5% |
info | String | 库存信息 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
remark | String | 促销描述 | |
name | String | 促销名称 |