万象配送


添加

[TOC]

简要描述
  • 用户注册接口
请求URL
  • http://localhost:3030/warehouse
请求方式
  • POST
参数
参数名 必选 类型 说明
inventorynumber string 库存单号
warehouseaddress string 库房地址
goodsname string 商品名称
goodsnumber INTEGER 商品数量
unit string 单位
commodityclassification string 商品分类
currentinventory INTEGER 当前库存
inventoryprice INTEGER 库存价格
inventoryamount INTEGER 库存金额
storagelocation string 存放位置
state string 状态
lossamount INTEGER 盘损金额
excessamount INTEGER 盘溢金额
creationtime DATE 创建时间
classificationname string 外键-商品分类
commodityname string 外键-商品
返回示例
  {
    "id": 2,
    "inventorynumber": "sa123456",
    "warehouseaddress": "广州",
    "goodsname": "扇贝",
    "goodsnumber": "200",
    "unit": "只",
    "commodityclassification": "生腌",
    "currentinventory": "300",
    "inventoryprice": "5",
    "inventoryamount": "3000",
    "storagelocation": "a-1",
    "state": "新鲜",
    "lossamount": "0",
    "excessamount": "0",
    "creationtime": "2023-05-22T16:00:00.000Z",
    "classificationname": "1",
    "commodityname": "1",
    "updatedAt": "2023-05-24T02:43:36.206Z",
    "createdAt": "2023-05-24T02:43:36.206Z"
}
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML