跳到主要内容
版本:202201

查询子款式详情

GET 

/openapi/2022-01/variants/:variant_id

通过子款式 ID 获取指定子款式的详细信息。

请求

Path参数

    variant_id string必填

    待查询的子款式 ID。

响应

200

数据结构
    variant object
    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:18Z
    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