跳到主要内容
版本:202201

取消采购单

PATCH 

/openapi/2022-01/procurements/:id/cancel

通过采购单 ID 取消指定采购单。

请求

Path参数

    id string必填

    Procurement's ID

响应

200

数据结构
    procurement object
    idstring
    示例: 382451985837728044
    procurement_snstring
    示例: 00000002
    supplier_idstring
    示例: 382453603865993516
    location_idstring
    示例: 190035786870033452
    notestring
    示例: teest note
    stateinteger
    默认值: 0
    示例: 4
    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-21T09:59:29Z