跳到主要内容
版本:202201

查询采购单列表

GET 

/openapi/2022-01/procurements

分页返回采购单列表。

请求

Query参数

    page int32

    Page number for pagination. Must be greater than 0. Default: 1.

    limit int32

    Number of records per page. Must be greater than 0 and less than 100. Default: 10.

    ids string[]

    ID 列表。

    state int32

    采购单状态筛选,可选值:1(待到货)、2(部分收货)、3(收货完成)、4(已取消)。

    created_at_min string

    最早创建时间。

    created_at_max string

    最晚创建时间。

    updated_at_min string

    最早更新时间。

    updated_at_max string

    最晚更新时间。

响应

200

数据结构
    procurements object[]
  • Array [
  • 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
  • ]
  • countinteger
    默认值: 0
    示例: 2