BestSeller Product
Request Parameters:
This method is used to retrieve the best seller product.
URL: ../Api/Client/BestSellers
Header:
Content-Type:application/json
Required Parameters :
[Note: Additionally added ProductType parameter in response for this method.
If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000" ,then in response you will get your Guest CustomerGUId]
Case-1. Exception parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId":"",
"LanguageId":"",
"CurrencyId":"",
"ProductThumbPictureSize":""
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Incorrect parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId":"5",
"LanguageId":"2",
"CurrencyId":"3",
"ProductThumbPictureSize":"100"
}
Response :
{
"Status": 0,
"Message": "ShowBestsellersOnHomepage setting is disable or NumberOfBestsellersOnHomepage is 0",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-3. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId":"1",
"LanguageId":"1",
"CurrencyId":"1",
"ProductThumbPictureSize":"100"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": [
{
"Id": 18,
"ProductType": "SimpleProduct",
"Name": "HTC One M8 Android L 5.0 Lollipop",
"ShortDescription": "HTC - One (M8) 4G LTE Cell Phone with 32GB Memory - Gunmetal (Sprint)",
"FullDescription": "<p><b>HTC One (M8) Cell Phone for Sprint:</b> With its brushed-metal design and wrap-around unibody frame, the HTC One (M8) is designed to fit beautifully in your hand. It's fun to use with amped up sound and a large Full HD touch screen, and intuitive gesture controls make it seem like your phone almost knows what you need before you do. <br /><br />Sprint Easy Pay option available in store.</p>",
"SeName": "htc-one-m8-android-l-50-lollipop",
"ProductPrice": {
"OldPrice": null,
"Price": "$245.00",
"DisableBuyButton": false,
"DisableWishlistButton": false,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"Form": null,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000041_htc-one-m8-android-l-50-lollipop_100.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000041_htc-one-m8-android-l-50-lollipop_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000041_htc-one-m8-android-l-50-lollipop.jpeg",
"Title": "Show details for HTC One M8 Android L 5.0 Lollipop",
"AlternateText": "Picture of HTC One M8 Android L 5.0 Lollipop",
"Form": null,
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 18,
"RatingSum": 0,
"TotalReviews": 0,
"AllowCustomerReviews": true,
"Form": null,
"CustomProperties": {}
},
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": null
},
{
"Id": 30,
"ProductType": "SimpleProduct",
"Name": "Levi's 511 Jeans",
"ShortDescription": "Levi's Faded Black 511 Jeans ",
"FullDescription": "<p>Between a skinny and straight fit, our 511™ slim fit jeans are cut close without being too restricting. Slim throughout the thigh and leg opening for a long and lean look.</p><ul><li>Slouch1y at top; sits below the waist</li><li>Slim through the leg, close at the thigh and straight to the ankle</li><li>Stretch for added comfort</li><li>Classic five-pocket styling</li><li>99% Cotton, 1% Spandex, 11.2 oz. - Imported</li></ul>",
"SeName": "levis-511-jeans",
"ProductPrice": {
"OldPrice": null,
"Price": "From $35.00",
"DisableBuyButton": false,
"DisableWishlistButton": false,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"Form": null,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000060_levis-511-jeans_100.jpg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000060_levis-511-jeans_100.jpg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000060_levis-511-jeans.jpg",
"Title": "Show details for Levi's 511 Jeans",
"AlternateText": "Picture of Levi's 511 Jeans",
"Form": null,
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 30,
"RatingSum": 0,
"TotalReviews": 0,
"AllowCustomerReviews": true,
"Form": null,
"CustomProperties": {}
},
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": null
},
{
"Id": 34,
"ProductType": "SimpleProduct",
"Name": "Night Visions",
"ShortDescription": "Night Visions is the debut studio album by American rock band Imagine Dragons.",
"FullDescription": "<p>Original Release Date: September 4, 2012</p><p>Release Date: September 4, 2012</p><p>Genre - Alternative rock, indie rock, electronic rock</p><p>Label - Interscope/KIDinaKORNER</p><p>Copyright: (C) 2011 Interscope Records</p>",
"SeName": "night-visions",
"ProductPrice": {
"OldPrice": null,
"Price": "$2.80",
"DisableBuyButton": false,
"DisableWishlistButton": false,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"Form": null,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000065_night-visions_100.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000065_night-visions_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000065_night-visions.jpeg",
"Title": "Show details for Night Visions",
"AlternateText": "Picture of Night Visions",
"Form": null,
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 34,
"RatingSum": 0,
"TotalReviews": 0,
"AllowCustomerReviews": true,
"Form": null,
"CustomProperties": {}
},
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": null
},
{
"Id": 35,
"ProductType": "SimpleProduct",
"Name": "If You Wait (donation)",
"ShortDescription": "If You Wait is the debut studio album by English indie pop band London Grammar",
"FullDescription": "<p>Original Release Date: September 6, 2013</p><p>Genre - Electronica, dream pop downtempo, pop</p><p>Label - Metal & Dust/Ministry of Sound</p><p>Producer - Tim Bran, Roy Kerr London, Grammar</p><p>Length - 43:22</p>",
"SeName": "if-you-wait-donation",
"ProductPrice": {
"OldPrice": null,
"Price": null,
"DisableBuyButton": false,
"DisableWishlistButton": false,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"Form": null,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000066_if-you-wait-donation_100.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000066_if-you-wait-donation_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000066_if-you-wait-donation.jpeg",
"Title": "Show details for If You Wait (donation)",
"AlternateText": "Picture of If You Wait (donation)",
"Form": null,
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 35,
"RatingSum": 5,
"TotalReviews": 1,
"AllowCustomerReviews": true,
"Form": null,
"CustomProperties": {}
},
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": null
}
],
"ValidationMessage": [],
"ErrorMessage": null
}