接口文档 / 商品接口

获取盘点单详情

GET/api/v2/open-agency/products/check-order-detail/{orderId}在线调试

响应参数

名称说明类型
Body 参数
data可选

数据

object
id可选

盘点单ID

integer
orderNo可选

盘点单号

示例:PD20220526000001

string
status可选

盘点单状态 0:未知初始状态 10:新建待审批 20:审批被拒绝 30:完成(审批通过) 40:撤回

示例:0

integer
organId可选

门店ID

示例:ffffffff0000000019b354880922800a

string
organName可选

门店

示例:高新大源店

string
count可选

数量

示例:12

number
kindCount可选

品种数量

示例:5

integer
totalCostPriceChange可选

盈亏金额(进价)

number
totalPriceChange可选

盈亏金额(售价)

number
operator可选

操作人(入库人)

string
operatorId可选

操作人ID

示例:123456

string
effectiveDate可选

生效时间

示例:2022-04-07 15:12:53

格式:date-time

string
lastModified可选

最后修改时间

示例:2022-05-13 12:22:56

格式:date-time

string

响应示例

json
{
  "data": {
    "checkOrderItemList": [
      {
        "id": 0,
        "productId": "string",
        "productShortId": "string",
        "productName": "string",
        "specification": "string",
        "expiryDate": "string",
        "productionDate": "yyyy-mm-dd",
        "pieceNum": 5,
        "pieceUnit": "片",
        "packageUnit": "盒",
        "stockId": "string",
        "packageCostPrice": 0,
        "beforePieceCount": 0,
        "beforePackageCount": 0,
        "afterPieceCount": 0,
        "afterPackageCount": 0,
        "changePieceCount": 0,
        "changePackageCount": 0,
        "amount": 0,
        "lastModified": "2022-05-13 12:22:56",
        "checkBatches": [
          {
            "stockId": 12312,
            "stockInOutDetailId": 12312,
            "batchId": 12312,
            "supplier": {
              "id": "string",
              "name": "string"
            },
            "batchNo": 555555,
            "productionDate": "2023-01-11",
            "expiryDate": "2023-01-11",
            "packageCount": 1,
            "pieceCount": 1,
            "packageCostPrice": 1,
            "pieceNum": 10,
            "costPrice": 1,
            "packagePrice": 1
          }
        ]
      }
    ],
    "comment": {
      "time": "2026-01-01T00:00:00Z",
      "content": "string",
      "employeeId": "string",
      "employeeName": "string"
    },
    "id": 0,
    "orderNo": "PD20220526000001",
    "status": 0,
    "organId": "ffffffff0000000019b354880922800a",
    "organName": "高新大源店",
    "count": 12,
    "kindCount": 5,
    "totalCostPriceChange": 0,
    "totalPriceChange": 0,
    "operator": "string",
    "operatorId": 123456,
    "effectiveDate": "2022-04-07 15:12:53",
    "lastModified": "2022-05-13 12:22:56"
  },
  "error": null
}

业务失败包装示意

json
{
  "data": null,
  "error": {
    "code": 11003,
    "message": "不支持的授权类型{grantType}"
  }
}

查看 HTTP 状态与业务码排查

ABC 开放平台 · 诊所管家

如有疑问,请扫码加入企业微信群咨询。

企业微信群二维码
没有匹配结果

诊所管家