跳到主要内容
版本:202201

查询商品列表

GET 

/openapi/2022-01/products

分页获取商品列表。

请求

Query参数

    ids string

    商品 ID 列表。

    title string

    商品名称。

    collection_id string

    专辑 UUID,例如:9e79ca1f-9ff2-409b-976f-98be343d38a3

    created_at_min string

    筛选创建时间不早于该时间点的商品,例如:2018-10-01T16:15:47-04:00

    created_at_max string

    筛选创建时间不晚于该时间点的商品,例如:2018-10-01T16:15:47-04:00

    updated_at_min string

    筛选最后更新时间不早于该时间点的商品,例如:2018-10-01T16:15:47-04:00

    updated_at_max string

    筛选最后更新时间不晚于该时间点的商品,例如:2018-10-01T16:15:47-04:00

    published_at_min string

    筛选上架时间不早于该时间点的商品,例如:2018-10-01T16:15:47-04:00

    published_at_max string

    筛选上架时间不晚于该时间点的商品,例如:2018-10-01T16:15:47-04:00

    published_status string

    按上架状态筛选,可选值:published(已上架)、unpublished(未上架)、any(全部)。

    spus string

    商品 SPU 列表,多个值之间使用英文逗号分隔,例如:spu1,spu2

    pre_cursor string

    上一页游标,参考基于游标的分页

    cursor string

    分页游标,参考基于游标的分页

    per_page int32

    每页记录数,最大 250。

    fields string

    指定响应中需要返回的字段列表。

    vendors string

    按商品供应商筛选(精确匹配)。

    vendors_match string

    按商品供应商进行模糊匹配筛选。

    handles string

    按商品 handle 列表筛选。

响应

200

数据结构
    cursorstring
    示例: MjAyNC0wNC0xN1QwMjoxNToxOFojYTFhODhiZTAtYTFkNC00N2U0LWEyZjItYmE2ZTEzMWNmNDQ3
    pre_cursorstring
    示例: MjAyNC0wNC0xN1QwMjoxNToxOFojYTFhODhiZTAtYTFkNC00N2U0LWEyZjItYmE2ZTEzMWNmNDQ3
    products object[]
  • Array [
  • briefstring
    示例: shirt
    created_atstring
    示例: 2024-04-17T02:15:18Z
    descriptionstring
    示例: <p>Desc</p>
    display_fake_salesboolean
    默认值: true
    示例: true
    fake_salesinteger
    默认值: 0
    示例: 10
    handlestring
    示例: shirt
    has_only_default_variantboolean
    默认值: true
    示例: false
    idstring
    示例: a1a88be0-a1d4-47e4-a2f2-ba6e131cf447
    image object
    srcstring
    示例: //cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg
    widthinteger
    默认值: 0
    示例: 174
    heightinteger
    默认值: 0
    示例: 180
    pathstring
    示例: ccf0794c594bad32a320eea0d6bfe40c.jpeg
    altstring
    示例:
    category object
    idinteger
    默认值: 0
    示例: 368313940138040900
    namestring
    示例: 3
    google_idinteger
    默认值: 0
    示例: 0
    levelinteger
    默认值: 0
    示例: 3
    pathstring
    示例: 368313940138008142,368313940138024526,368313940138040910
    images object[]
  • Array [
  • idstring
    示例: 8ef098c5-5a08-44b4-b5fb-89214bb507dc
    product_idstring
    示例: a1a88be0-a1d4-47e4-a2f2-ba6e131cf447
    positioninteger
    默认值: 0
    示例: 1
    srcstring
    示例: //cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg
    widthinteger
    默认值: 0
    示例: 174
    heightinteger
    默认值: 0
    示例: 180
    altstring
    示例:
    created_atstring
    示例: 2024-04-17T02:15:18Z
    updated_atstring
    示例: 2024-04-17T02:15:35Z
  • ]
  • inventory_policystring
    示例: continue
    inventory_quantityinteger
    默认值: 0
    示例: 72
    inventory_trackingboolean
    默认值: true
    示例: true
    mixed_wholesaleboolean
    默认值: true
    示例: false
    need_variant_imageboolean
    默认值: true
    示例: true
    notestring
    示例:
    options object[]
  • Array [
  • idstring
    示例: a4fc1abf-86fb-4e45-b774-9ff3b3f8ef90
    product_idstring
    示例: a1a88be0-a1d4-47e4-a2f2-ba6e131cf447
    positioninteger
    默认值: 0
    示例: 1
    namestring
    示例: size
    valuesstring[]
  • ]
  • publishedboolean
    默认值: true
    示例: false
    published_atstring
    示例: 1970-01-01T00:00:00Z
    requires_shippingboolean
    默认值: true
    示例: true
    seo_descriptionstring
    示例: Desc
    seo_keywordsstring
    示例:
    seo_titlestring
    示例: shirt
    spustring
    示例: T-M
    tagsstring
    示例: s1-s2
    taxableboolean
    默认值: true
    示例: true
    titlestring
    示例: shirt
    updated_atstring
    示例: 2024-04-17T02:15:35Z
    variants object[]
  • Array [
  • idstring
    示例: 88e68830-4ef5-4125-bf7d-aef8047176b2
    product_idstring
    示例: a1a88be0-a1d4-47e4-a2f2-ba6e131cf447
    image_idstring
    示例: 8ef098c5-5a08-44b4-b5fb-89214bb507dc
    created_atstring
    示例: 2024-04-17T02:15:18Z
    updated_atstring
    示例: 2024-04-17T02:15:35Z
    titlestring
    示例: S-blue-T
    option1string
    示例: S
    option2string
    示例: blue
    option3string
    示例: T
    image object
    srcstring
    示例: //cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg
    widthinteger
    默认值: 0
    示例: 174
    heightinteger
    默认值: 0
    示例: 180
    pathstring
    示例: ccf0794c594bad32a320eea0d6bfe40c.jpeg
    altstring
    示例:
    positioninteger
    默认值: 0
    示例: 1
    compare_at_pricestring
    示例: 12.10
    pricestring
    示例: 10.10
    skustring
    示例: T-M-S-blue-T-A001004
    barcodestring
    示例: 6929000212340
    notestring
    示例: node
    inventory_quantityinteger
    默认值: 0
    示例: 10
    weightstring
    示例: 1.10
    weight_unitstring
    示例: kg
    cost_pricestring
    示例: 1.10
    wholesale_price object[]
  • Array [
  • pricestring
    示例: 10.10
    min_quantityinteger
    默认值: 0
    示例: 1
  • ]
  • extend object
    lengthinteger
    默认值: 0
    示例: 10
    widthinteger
    默认值: 0
    示例: 10
    heightinteger
    默认值: 0
    示例: 10
    dimension_unitstring
    示例: in
    origin_country_codestring
    示例: AG
    hs_codestring
    示例: 62114390
  • ]
  • vendorstring
    示例: shoplazza
    vendor_urlstring
    示例: https://shoplazza.com
  • ]