Mapping amazon product category to the correct category XSD

后端 未结 3 634
不思量自难忘°
不思量自难忘° 2020-12-31 22:58

Within the _POST_PRODUCT_DATA_ feed the \"ProductData\" node contains data that is specific to the category that the item is within. How exactly though should the category t

相关标签:
3条回答
  • 2020-12-31 23:39

    Check out the GetMatchingProduct API in the Products API section. I haven't tested this thoroughly, but I believe that the ProductGroup and ProductTypeName fields correspond to the XSD categories.

    0 讨论(0)
  • 2020-12-31 23:50

    If I understand your question, you are asking if there is any way to tell what kind of <ProductData> you should put into your _POST_PRODUCT_DATA_ feed for a specific product.

    E.g. for ASIN B008HRVM5U, should it be

    <ProductData>
       <Home>
          <ProductType>
             <Kitchen>...</Kitchen>
          </ProductType>
       </Home>
    </ProductData>
    

    or rather

    <ProductData>
       <Baby>
          <ProductType>
              <BabyProducts>...</BabyProducts>
          </ProductType>
       </Baby>
    </ProductData>
    

    To the best of my knowledge, there is no way to actually find out - neither through MWS nor Seller Central. At the same time, the correct matching of XML structures matters a lot... I've spent a total of three weeks trying to figure out why certain products were behaving funnily (you couldn't actually buy them). In the end, I had to contact Amazon support to find out I was using the 'wrong' XML structure for the specific category I was trying to list in.

    0 讨论(0)
  • 2020-12-31 23:57

    Warning This is a fragile workaround at best - you have been warned!

    There is no direct mapping from the ProductCategoryId to the XSD. However, there is roughly a one-to-one mapping between BTG (Browse Tree Guide)* and the Product XSD files* (minus the BMVD¹ categories).

    The BTG's Node ID column corresponds to the ProductCategoryId. Once you find out which BTG the Self category belongs to you could safely assume that the corresponding XSD file is the correct one.

    For example, the Self > ProductCategoryId of 166099011 is found in the Toys and Games BTG which corresponds to the Toys and Games XSD

    ¹Books, Music, Videos, and DVDs
    *Must be signed into your Seller Central account to access

    0 讨论(0)
提交回复
热议问题