使用Amazon Product Advertising API获取产品类别

时间:2018-06-02 13:23:33

标签: amazon-product-api

使用Amazon Product Advertising API,我可以使用ISBNASINUPC检索产品列表。我有所有信息,如标题图片畅销书排名等。现在我想检索产品类别。在回复中,我得到以下产品属性

<ItemAttributes>
            <Binding>Office Product</Binding>
            <Brand>3M</Brand>
            <CatalogNumberList>
                <CatalogNumberListElement>MMMTP5851100</CatalogNumberListElement>
            </CatalogNumberList>
            <Color>NA</Color>
            <EAN>0778853213952</EAN>
            <EANList>
                <EANListElement>0778853213952</EANListElement>
                <EANListElement>0823019692079</EANListElement>
                <EANListElement>0800011321299</EANListElement>
                <EANListElement>0804993541201</EANListElement>
                <EANListElement>0801593278209</EANListElement>
                <EANListElement>0051141366623</EANListElement>
                <EANListElement>0809302061470</EANListElement>
                <EANListElement>0638084746578</EANListElement>
                <EANListElement>0739197517144</EANListElement>
            </EANList>
            <Feature>Tough, moisture resistant polyester film.</Feature>
            <Feature>Preserve and protect keepsake photos and documents.</Feature>
            <Feature>Keep frequently used documents neat and legible.</Feature>
            <ItemDimensions>
                <Height Units="hundredths-inches">438</Height>
                <Length Units="hundredths-inches">263</Length>
                <Weight Units="Hundredths Pounds">41</Weight>
                <Width Units="hundredths-inches">125</Width>
            </ItemDimensions>
            <Label>3M Office Products</Label>
            <ListPrice>
                <Amount>1012</Amount>
                <CurrencyCode>USD</CurrencyCode>
                <FormattedPrice>$10.12</FormattedPrice>
            </ListPrice>
            <Manufacturer>3M Office Products</Manufacturer>
            <Model>TP5851100</Model>
            <MPN>TP5851-100</MPN>
            <NumberOfItems>1</NumberOfItems>
            <PackageDimensions>
                <Height Units="hundredths-inches">120</Height>
                <Length Units="hundredths-inches">520</Length>
                <Weight Units="Hundredths Pounds">10</Weight>
                <Width Units="hundredths-inches">270</Width>
            </PackageDimensions>
            <PackageQuantity>1</PackageQuantity>
            <PartNumber>TP5851-100</PartNumber>
            <ProductGroup>Office Product</ProductGroup>
            <ProductTypeName>OFFICE_PRODUCTS</ProductTypeName>
            <PublicationDate>2014-03-14</PublicationDate>
            <Publisher>3M Office Products</Publisher>
            <Size>100-Pouches</Size>
            <Studio>3M Office Products</Studio>
            <Title>Scotch Thermal Laminating Pouches, 2.32 x 3.70-Inches, Business Card Size, 100-Pack (TP5851-100)</Title>
            <UPC>638084746578</UPC>
            <UPCList>
                <UPCListElement>638084746578</UPCListElement>
                <UPCListElement>739197517144</UPCListElement>
                <UPCListElement>801593278209</UPCListElement>
                <UPCListElement>051141366623</UPCListElement>
                <UPCListElement>778853213952</UPCListElement>
                <UPCListElement>800011321299</UPCListElement>
                <UPCListElement>809302061470</UPCListElement>
                <UPCListElement>804993541201</UPCListElement>
                <UPCListElement>823019692079</UPCListElement>
            </UPCList>
        </ItemAttributes>

我想要产品的确切类别,因为我想根据https://sellercentral.amazon.com/gp/help/external/200336920?language=en_US&ref=efph_200336920_cont_19211

上的信息计算Amazon Referral FeeVariable Closing Fee

为此,我需要确切的类别。根据每个类别,卖方必须向亚马逊支付一定比例的亚马逊推荐费用。那么有什么方法可以检索确切的类别吗?

编辑:我已尝试使用浏览节点作为响应。它给了我类别节点。还有一个isRootCategory响应值,告诉该类别是否为root。 例如,对于布料项,它给我Clothing, Shoes and Jewellary的根类别。但是为了计算参考费用,该产品必须具有“服装和产品”的根类别。配件。因此17%的参考费用可以根据商品价格计算。

0 个答案:

没有答案