跳到主要内容
版本:202201

创建采购单

POST 

/openapi/2022-01/procurements

使用提供的详情创建新采购单。

请求

请求体

    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