开放平台

扒书 ERP Open API

货位列表

按仓库、商品或货位查现有货位记录,盘点和找书时用。

请求方式GET/POST
接口路径/api/warehouseStockPosition/list
Content-Type-
鉴权X-Nideshop-Token

请求参数

参数类型必填位置
req分页对象否URL 参数

curl 调用

curl -s 'https://www.8shu8.com/api/warehouseStockPosition/list?req=xxx' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'

响应示例

data 为分页对象,业务数据在 records。

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": {
    "records": [
      {
        "serialVersionUID": 1,
        "id": 1,
        "addTime": "string",
        "updateTime": "string",
        "warehouseId": 1,
        "positionNo": "string"
      }
    ],
    "total": 0,
    "size": 10,
    "current": 1,
    "pages": 0
  }
}