1

现在,我从 API 获得的 XML 响应仅包含与其 ASIN 对应的服装尺寸。对于 ASINB0069NZPHA来说,Size就是Small. 但是,如果您要访问其详细信息页面 url,您会看到有 2 种尺寸,小号和中号。

是否可以获得与特定 ASIN 相关的所有尺寸?

XML 响应

SimpleXMLElement Object
(
    [ASIN] => B0069NZPHA
    [ParentASIN] => B0069O8WN8
    [DetailPageURL] => http://www.amazon.com/2b-Haley-Beaded-Top-TANGERINE/dp/B0069NZPHA%3FSubscriptionId%3DAKIAJG3VKWBENQUGEYZA%26tag%3Dyoozu-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0069NZPHA

    ...

    [ItemAttributes] => SimpleXMLElement Object
    (
        [Binding] => Apparel
        [Brand] => 2b by bebe
        [CatalogNumberList] => SimpleXMLElement Object
            (
                [CatalogNumberListElement] => 192612
            )

        [Color] => Tangerine
        [Department] => womens
        [Feature] => Array
            (
                [0] => SKU 192612
                [1] => Style 60HZK201N240
            )

        [Label] => bebe
        [Manufacturer] => bebe
        [PackageDimensions] => SimpleXMLElement Object
            (
                [Height] => 230
                [Length] => 1120
                [Weight] => 35
                [Width] => 670
            )

        [ProductGroup] => Apparel
        [ProductTypeName] => SHIRT
        [Publisher] => bebe
        [Size] => Small
        [Studio] => bebe
        [Title] => 2b Haley Beaded Top - TANGERINE (S)
    )
4

2 回答 2

1

I would check ItemLookup and especially the ResponseGroup = Variations / VariationsSummary. (Or try any other ResponseGroup, maybe some group will show all the sizes)

于 2012-07-13T17:12:31.483 回答
1

我使用带有 ParentASIN 的 Variations 响应组 (ItemLookup) 来获取所有尺寸和颜色

于 2012-07-18T07:56:28.970 回答