跳到主要内容
版本:202607

更新采购单

PUT 

/openapi/2026-07/procurements/:procurement_id

通过采购单 ID 更新现有采购单的详细信息。

请求

Path参数

    procurement_id string必填

    采购单 ID

请求体必填

    procurement object

    采购单

    supplier_idstring

    本次采购的供应商 ID

    notestring

    关于采购的可选备注或说明

响应

OK

数据结构
    codestring

    错误码

    messagestring

    错误信息

    data object
    procurement object

    采购单

    idstring

    采购 ID

    procurement_snstring

    采购单编号

    supplier_idstring

    供应商 ID

    location_idstring

    位置 ID

    notestring

    备注

    stateint32

    采购单状态

    pending_quantityint32

    待处理数量

    received_quantityint32

    已收货数量

    rejected_quantityint32

    被拒绝数量

    transfer_quantityint32

    调拨数量

    created_bystring

    创建人

    created_atstring

    创建时间,ISO-8601 格式

    updated_atstring

    最后更新时间,ISO-8601 格式