PMS


提交物品信息

提交物品信息

提交订单内的物品信息。

请求

POST /boss/order/addGoods

请求体

参数 类型 是否必须 描述
orderId string 订单ID
consignee string 收货人姓名
consigneePhone string 收货人电话
consigneeAddress string 收货人地址
belong string 物品归属信息
goods array 物品信息列表
goods.orderId string 订单ID
goods.storeId string 所在仓库ID
goods.storeName string 所在仓库名称
goods.serialNo string 序列号
goods.feeTypeCodeName string 费用类型名称
goods.resourceSubTypeId string 资源小类ID
goods.resourceKindName string 小类名称
goods.resourceSkuName string 型号名称
goods.pricePlanName string 价格计划名称
goods.priceId string 价格ID
goods.brandCode string 品牌
goods.resourceKindId string 资源小类ID
goods.feeTypeCode string 费用类型
goods.guidePrice number 指导价
goods.resourceSkuId string 型号ID
goods.offerId string 物品ID
goods.resourceGroupId string 资源组ID
goods.resourceInstanceId string 资源实例ID
goods.pricePlanType string 价格计划类型
goods.resourceSubTypeName string 资源小类名称
goods.salePriceY string 售价
goods.pricePlanId string 价格计划ID
goods.number integer 物品数量
goods.price number 单价
goods.totalPrice number 总价
goods.useModelId string 用途ID
goods.useModelName string 用途名称

示例

{
  "orderId": "123456",
  "consignee": "张三",
  "consigneePhone": "13812345678",
  "consigneeAddress": "北京市朝阳区",
  "goods": [
    {
      "orderId": "123456",
      "storeId": "001",
      "storeName": "北京仓库",
      "serialNo": "A123456",
      "feeTypeCodeName": "运费",
      "resourceSubTypeId": "001",
      "resourceKindName": "电脑",
      "resourceSkuName": "ThinkPad X1 Carbon",
      "pricePlanName": "标准价格",
      "priceId": "001",
      "brandCode": "Lenovo",
      "resourceKindId": "001",
      "feeTypeCode": "001",
      "guidePrice": 8999.00,
      "resourceSkuId": "001",
      "offerId": "001",
      "resourceGroupId": "001",
      "resourceInstanceId": "001",
      "pricePlanType": "标准",
      "resourceSubTypeName": "运输",
      "salePriceY": "7999.00",
      "pricePlanId": "001",
      "number": 1,
      "price": 7999.00,
      "totalPrice": 7999.00,
      "useModelId": "001",
      "useModelName": "办公"
    }
  ]
}

响应

成功

参数 类型 描述
code integer 返回码,20000表示成功
data object 返回数据,通常为空

失败

参数 类型 描述
code integer 返回码,非20000表示失败
data object 返回数据,通常为空

示例

{
  "code": 20000,
  "data": {}
}

页面列表

ITEM_HTML