跳到主要内容
版本:202201

查询采购项列表

GET 

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

获取指定采购单中的采购项列表。

请求

Path参数

    id string必填

    Procurement' ID

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.

响应

200

数据结构
    countinteger
    默认值: 0
    示例: 1
    items object[]
  • Array [
  • idstring
    示例: 382706477153919276
    procurement_idstring
    示例: 382706443201028396
    pending_quantityinteger
    默认值: 0
    示例: 100
    received_quantityinteger
    默认值: 0
    示例: 0
    rejected_quantityinteger
    默认值: 0
    示例: 0
    transfer_quantityinteger
    默认值: 0
    示例: 100
    variant_idstring
    示例: 4f442546-3a60-43b2-baa5-5e1f07c85464
    product_idstring
    示例: cbf9e2d2-7f2c-4881-ab7c-abf8e6590592
    product_titlestring
    示例: test
    variant_titlestring
    示例:
    variant_skustring
    示例:
    created_atstring
    示例: 2024-05-22T01:38:54Z
    updated_atstring
    示例: 2024-05-22T01:38:54Z
    product_image object
    srcstring
    示例: //img.staticdj.com/c8bf5695d347092d7a010f00182581f7.jpeg
    widthinteger
    默认值: 0
    示例: 710
    heightinteger
    默认值: 0
    示例: 799
    altstring
    示例:
  • ]