このAPIではget_report_request_list、get_reportを注文しているだけですが、多くの商品は依然として注文ではありません。Amazon MWS APIを使用してAmazonの売り手IDからすべての商品を取り出す方法
mws = MWS.new(:aws_access_key_id => access_key,
:secret_access_key => secret_key,
:seller_id => merchant_id,
:marketplace_id => marketplace_id,
:MWS_auth_token => mws_auth_token)
mws = Mws.connect(
merchant: merchant_id,
access: access_key,
secret: secret_key]
)
response = mws.reports.get_report(:report_id => generated_report_id)
そして、このAPIのlist_matching_productsで
mws = Mws.connect(
merchant: merchant_id,
access: access_key,
secret: secret_key,
MWS_auth_token: mws_auth_token,
)
response = mws.products.list_matching_products(marketplace_id: marketplace_id,query: "1")
私はこれだけで10の製品の応答を取得します。
しかし、私は、リストされている製品の合計が1つまたは順序付けられていないものが必要です。
https://docs.developer.amazonservices.com/en_US/reports/Reports_GetReportRequestList.html http://docs.developer.amazonservices.com/en_IT/products/Products_ListMatchingProducts.html
誰がどのAPIを知っている場合、私はすべて記載されている製品を取得するために使用することができます。
こんにちはVishwasすべてのアクティブなリスティングを取得するには、Amazon Orders APIを使用する必要があります.http://docs.developer.amazonservices.com/en_UK/reports/Reports_ReportType.html#ReportTypeCategories__ListingsReports –
@ Keyurこれで私はすでに注文されている商品を手に入れました。注文APIは注文リストにある商品を提供します。 –