userInfo
重要: 必要なパラメーターのみコールしてください。弊社は、多くのアプリケーションやクライアントを同時にサポートするAPIのセットを使用しています。これらのAPIは随時更新または改善される場合があります。
http://recs.richrelevance.com/rrserver/api/rrPlatform/userInfo
URLが正しく機能するためにはAPIキートパラメータが必要です。URLリスエストの例については以下を参照してください。
説明: ユーザーの購入および閲覧履歴に関する情報を返します。
パラメーター
注記: パラメーターはすべて大文字小文字を区別します。
名称 | 必須 / オプション | 説明 |
---|---|---|
apiClientKey |
必須 | |
apiKey |
必須 | |
attribute |
オプション | |
categoryData |
オプション | |
count |
オプション | |
includeSimilarUsers |
オプション | |
recentlyPurchased |
オプション | |
recentlyViewed |
オプション | |
recentSearches |
オプション | |
sessionId |
オプション | |
similarUsersCount |
オプション | |
similarUsersStrategy |
オプション | |
useCookie |
オプション | |
userAttribute |
オプション | |
userId |
オプション |
リクエスト例
http://integration.richrelevance.com/rrserver/api/rrPlatform/userInfo?&apiClientKey=e9c9e05289be70e6&apiKey=showcaseparent&userId=1
レスポンス例
{ "purchasedProducts": [], "viewedProducts": [{ "regionPriceDescription": "", "rating": 4.254000186920166, "numReviews": 0, "priceRangeCents": [79900, 79900], "categoryIds": ["Electronics", "Electronics.TV & Video", "Electronics.TV & Video.TVs"], "imageURL": "http://labs.richrelevance.com/storre/media/catalog/product/v/i/vizio-e601i-a3-60quot-1080p-120hz-class-razor-led-1.94quot-ultra-slim-smart-hdtv-quotvizio-direct-refurbishedquot-9fe3cd76f6142358157dfc008d38aff2.jpg", "name": "VIZIO E601i-A3 60\" 1080p 120Hz Class Razor LED (1.94\" ultra-slim) Smart HDTV, \"VIZIO Direct Refurbished\"", "genre": "Electronics", "isRecommendable": true, "priceCents": 79900, "id": "24516217", "categories": [{ "hasChildren": false, "name": "Electronics", "id": "Electronics" }, { "hasChildren": false, "name": "TV & Video", "id": "Electronics.TV & Video" }, { "hasChildren": false, "name": "TVs", "id": "Electronics.TV & Video.TVs" }], "brand": "Vizio" }], "similarUsers": [], "viewedCategories": [{ "hasChildren": false, "name": "Electronics", "id": "Electronics" }, { "hasChildren": false, "name": "TVs", "id": "Electronics.TV & Video.TVs" }, { "hasChildren": false, "name": "TV & Video", "id": "Electronics.TV & Video" }], "purchasedCategories": [] }