Amazon SP API拉取分类,五点,描述和关键字
2023-07-14 17:57 天心PHP 阅读(210) 评论(0) 编辑 收藏 举报1.用asin拉取五点,品牌,和 分类,每次最多20个 (但拉取listing的时候 法国和日本站点没有返回asin)
$result = $requestReport->applicationreport($account->merchant_id,strtolower($account->site),'/catalog/2022-04-01/items?identifiers=B0BNVT65X4,B0BTBWXLCD,B0BTBYS33P&identifiersType=ASIN&pageSize=20&&includedData=attributes,summaries&marketplaceIds='.$account->market_place_id,"","",'GET');
五点
[bullet_point] => Array ( [0] => Array ( [language_tag] => en_CA [value] => Direct aftermarket parts, perfect fit for your motorcycle. [marketplace_id] => A2EUQ1WTGCTBG2 ) [1] => Array ( [language_tag] => en_CA [value] => 100% Brand New and High Quality Carburetor Intake Joint Boot. [marketplace_id] => A2EUQ1WTGCTBG2 ) [2] => Array ( [language_tag] => en_CA [value] => Easy to install, direct replace the old or broken one. [marketplace_id] => A2EUQ1WTGCTBG2 ) [3] => Array ( [language_tag] => en_CA [value] => Durable rubber material, good sealing performance and oil resistant. [marketplace_id] => A2EUQ1WTGCTBG2 ) [4] => Array ( [language_tag] => en_CA [value] => Fit for YAMAHA WARRIOR 350 YFM350X 1987-2004. [marketplace_id] => A2EUQ1WTGCTBG2 ) )
品牌
[brand] => Array ( [0] => Array ( [language_tag] => en_CA [value] => TKSE [marketplace_id] => A2EUQ1WTGCTBG2 ) )
分类在summaries里面
[browseClassification] => Array ( [displayName] => Carburetors [classificationId] => 9153778011 )
2.法国和日本的asin可以和关键字一起拉取 (用seller_sku,一次拉一个)
$result = $requestReport->applicationreport($account->merchant_id,strtolower($account->site),'/listings/2021-08-01/items/'.$account->merchant_id.'/'.$seller_sku.'?issueLocale=en_US&includedData=issues,attributes,summaries,offers,fulfillmentAvailability&marketplaceIds='.$account->market_place_id,"","",'GET');
asin在summaries里面
[summaries] => Array ( [0] => Array ( [marketplaceId] => A2EUQ1WTGCTBG2 [asin] => B082SZKRXG [productType] => FAUCET [conditionType] => new_new [status] => Array ( [0] => BUYABLE [1] => DISCOVERABLE ) [itemName] => KSTE KSTE ABS Washing Machine Faucet Sink Basin Water Tap with Single Spout & Handle #4 [createdDate] => 2020-06-02T10:12:21.748Z [lastUpdatedDate] => 2020-12-25T05:48:18.076Z [mainImage] => Array ( [link] => https://m.media-amazon.com/images/I/41UNgoYG8LL.jpg [height] => 500 [width] => 500 ) ) )
关键字在 attributes 里面(很多关键字也是不返回的)
[generic_keyword] => Array ( [0] => Array ( [language_tag] => en_CA [value] => Water Faucet, Water Tap, Faucet, Washing Machine Faucet, Sink Water Tap, Basin Water Tap [marketplace_id] => A2EUQ1WTGCTBG2 ) )