跳到主要内容
版本:202607

查询库存水平列表

GET 

/openapi/2026-07/locations/:location_id/inventory_levels

返回指定地点的所有库存水平信息。

请求

Path参数

    location_id uint64必填

    位置 ID

Query参数

    cursor string

    分页游标

    page_size int32

    每页记录数

响应

OK

数据结构
    codestring

    错误码

    messagestring

    错误信息

    data object
    inventory_levels object[]

    库存水平列表

  • Array [
  • inventory_item_idstring

    库存项 ID

    location_idstring

    地点 ID

    stockint64

    库存数量

    updated_atstring

    最后更新时间,ISO-8601 格式

  • ]
  • cursorstring

    分页游标

    has_moreboolean

    是否有更多记录