跳到主要内容
版本:202201

更新采购单

PUT 

/openapi/2022-01/procurements/:id

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

请求

Path参数

    id string必填

    Procurement's ID

请求体

    procurement object
    supplier_idstring

    Supplier's ID

    notestring

响应

200

数据结构
    procurement object
    idstring
    示例: 382451985837728044
    procurement_snstring
    示例: 00000002
    supplier_idstring
    示例: 382411381263052204
    location_idstring
    示例: 190035786870033452
    notestring
    示例: testaaa
    stateinteger
    默认值: 0
    示例: 1
    pending_quantityinteger
    默认值: 0
    示例: 0
    received_quantityinteger
    默认值: 0
    示例: 0
    rejected_quantityinteger
    默认值: 0
    示例: 0
    transfer_quantityinteger
    默认值: 0
    示例: 0
    created_bystring
    示例:
    created_atstring
    示例: 2024-05-21T08:47:39Z
    updated_atstring
    示例: 2024-05-21T08:50:36Z