dpbtbcz6650 2017-07-11 06:04
浏览 153

亚马逊mws Scratch pad - GetMyPriceForSKU返回请求ID,我何时才能获得价格?

Amazon mws api - Just i am trying to get the prices of a product using mws api scratch pad. I passed one parameter SellerSKUList.SellerSKU.1. It didn't return the prices and produced below response.


<?xml version="1.0"?>
<GetMyPriceForSKUResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
<GetMyPriceForSKUResult SellerSKU="AUYyRIG50.011" status="Success">
  <Product xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01" xmlns:ns2="http://mws.amazonservices.com/schema/Products/2011-10-01/default.xsd">
    <Identifiers>
      <MarketplaceASIN>
        <MarketplaceId>GIVEN</MarketplaceId>
        <ASIN>return_value</ASIN>
      </MarketplaceASIN>
      <SKUIdentifier>
        <MarketplaceId>GIVEN</MarketplaceId>
        <SellerId>GIVEN</SellerId>
        <SellerSKU>AUYyRIG50.011</SellerSKU>
      </SKUIdentifier>
    </Identifiers>
    <Offers/>
  </Product>
</GetMyPriceForSKUResult>
<ResponseMetadata>
  <RequestId>0e16e0de-c9e1-4456-864b-e49f2e574575</RequestId>
</ResponseMetadata>
</GetMyPriceForSKUResponse>

  • 写回答

1条回答 默认 最新

  • dppi5167 2017-08-16 08:10
    关注

    Amazon Product's API won't return any pricing data if the product is inactive or out of stock or is merged by different ASIN, else it should return something like below.

    <?xml version="1.0"?>
    <GetMyPriceForASINResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
      <GetMyPriceForASINResult ASIN="B009K1T3TY" status="Success">
        <Product>
          <Identifiers>
            <MarketplaceASIN>
              <MarketplaceId>A1F83G8C2ARO7P</MarketplaceId>
              <ASIN>B009K1T3TY</ASIN>
            </MarketplaceASIN>
          </Identifiers>
          <Offers>
            <Offer>
              <BuyingPrice>
                <LandedPrice>
                  <CurrencyCode>GBP</CurrencyCode>
                  <Amount>3.49</Amount>
                </LandedPrice>
                <ListingPrice>
                  <CurrencyCode>GBP</CurrencyCode>
                  <Amount>3.49</Amount>
                </ListingPrice>
                <Shipping>
                  <CurrencyCode>GBP</CurrencyCode>
                  <Amount>0.00</Amount>
                </Shipping>
              </BuyingPrice>
              <RegularPrice>
                <CurrencyCode>GBP</CurrencyCode>
                <Amount>3.49</Amount>
              </RegularPrice>
              <FulfillmentChannel>AMAZON</FulfillmentChannel>
              <ItemCondition>New</ItemCondition>
              <ItemSubCondition>New</ItemSubCondition>
              <SellerId>XXXXXXXXXX</SellerId>
              <SellerSKU>snl-mldx-pura-7700-20prs-x1a</SellerSKU>
            </Offer>
            <Offer>
              <BuyingPrice>
                <LandedPrice>
                  <CurrencyCode>GBP</CurrencyCode>
                  <Amount>3.49</Amount>
                </LandedPrice>
                <ListingPrice>
                  <CurrencyCode>GBP</CurrencyCode>
                  <Amount>3.49</Amount>
                </ListingPrice>
                <Shipping>
                  <CurrencyCode>GBP</CurrencyCode>
                  <Amount>0.00</Amount>
                </Shipping>
              </BuyingPrice>
              <RegularPrice>
                <CurrencyCode>GBP</CurrencyCode>
                <Amount>3.49</Amount>
              </RegularPrice>
              <FulfillmentChannel>MERCHANT</FulfillmentChannel>
              <ItemCondition>New</ItemCondition>
              <ItemSubCondition>New</ItemSubCondition>
              <SellerId>XXXXXXXXX</SellerId>
              <SellerSKU>mldx-pura-7700-20prs-x1a</SellerSKU>
            </Offer>
          </Offers>
        </Product>
      </GetMyPriceForASINResult>
      <ResponseMetadata>
        <RequestId>fb490da2-903b-42ec-afe5-4042e6047519</RequestId>
      </ResponseMetadata>
    </GetMyPriceForASINResponse>
    
    评论

报告相同问题?

悬赏问题

  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?