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": 10,
"ProductType": "SimpleProduct",
"Name": "Adobe Photoshop CS4",
"ShortDescription": "Easily find and view all your photos",
"FullDescription": "<p>Adobe Photoshop CS4 software combines power and simplicity so you can make ordinary photos extraordinary; tell engaging stories in beautiful, personalized creations for print and web; and easily find and view all your photos. New Photoshop.com membership* works with Photoshop CS4 so you can protect your photos with automatic online backup and 2 GB of storage; view your photos anywhere you are; and share your photos in fun, interactive ways with invitation-only Online Albums.</p>",
"SeName": "adobe-photoshop-cs4",
"ProductPrice": {
"OldPrice": null,
"Price": "$75.00",
"DisableBuyButton": true,
"DisableWishlistButton": true,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000032_adobe-photoshop-cs4_100.jpeg",
"ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000032_adobe-photoshop-cs4_100.jpeg",
"FullSizeImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000032_adobe-photoshop-cs4.jpeg",
"Title": "Show details for Adobe Photoshop CS4",
"AlternateText": "Picture of Adobe Photoshop CS4",
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 10,
"RatingSum": 4,
"TotalReviews": 1,
"AllowCustomerReviews": true,
"CustomProperties": {}
},
"CustomerGuid": "6c6b37a8-e3f1-48e4-b0c6-45c3d5001dca",
"Message": null
},
{
"Id": 4,
"ProductType": "SimpleProduct",
"Name": "Apple MacBook Pro 13-inch",
"ShortDescription": "A groundbreaking Retina display. A new force-sensing trackpad. All-flash architecture. Powerful dual-core and quad-core Intel processors. Together, these features take the notebook to a new level of performance. And they will do the same for you in everything you create.",
"FullDescription": "<p>With fifth-generation Intel Core processors, the latest graphics, and faster flash storage, the incredibly advanced MacBook Pro with Retina display moves even further ahead in performance and battery life.* *Compared with the previous generation.</p><p>Retina display with 2560-by-1600 resolution</p><p>Fifth-generation dual-core Intel Core i5 processor</p><p>Intel Iris Graphics</p><p>Up to 9 hours of battery life1</p><p>Faster flash storage2</p><p>802.11ac Wi-Fi</p><p>Two Thunderbolt 2 ports for connecting high-performance devices and transferring data at lightning speed</p><p>Two USB 3 ports (compatible with USB 2 devices) and HDMI</p><p>FaceTime HD camera</p><p>Pages, Numbers, Keynote, iPhoto, iMovie, GarageBand included</p><p>OS X, the world's most advanced desktop operating system</p>",
"SeName": "apple-macbook-pro-13-inch",
"ProductPrice": {
"OldPrice": null,
"Price": "$1,800.00",
"DisableBuyButton": false,
"DisableWishlistButton": false,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000024_apple-macbook-pro-13-inch_100.jpeg",
"ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000024_apple-macbook-pro-13-inch_100.jpeg",
"FullSizeImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000024_apple-macbook-pro-13-inch.jpeg",
"Title": "Show details for Apple MacBook Pro 13-inch",
"AlternateText": "Picture of Apple MacBook Pro 13-inch",
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 4,
"RatingSum": 15,
"TotalReviews": 4,
"AllowCustomerReviews": true,
"CustomProperties": {}
},
"CustomerGuid": "6c6b37a8-e3f1-48e4-b0c6-45c3d5001dca",
"Message": null
},
{
"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,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000041_htc-one-m8-android-l-50-lollipop_100.jpeg",
"ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000041_htc-one-m8-android-l-50-lollipop_100.jpeg",
"FullSizeImageUrl": "http://mobileapi420.rebuildsucceeded.com/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",
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 18,
"RatingSum": 12,
"TotalReviews": 3,
"AllowCustomerReviews": true,
"CustomProperties": {}
},
"CustomerGuid": "6c6b37a8-e3f1-48e4-b0c6-45c3d5001dca",
"Message": null
},
{
"Id": 1,
"ProductType": "SimpleProduct",
"Name": "Build your own computer",
"ShortDescription": "Build it",
"FullDescription": "<p>Fight back against cluttered workspaces with the stylish IBM zBC12 All-in-One desktop PC, featuring powerful computing resources and a stunning 20.1-inch widescreen display with stunning XBRITE-HiColor LCD technology. The black IBM zBC12 has a built-in microphone and MOTION EYE camera with face-tracking technology that allows for easy communication with friends and family. And it has a built-in DVD burner and Sony's Movie Store software so you can create a digital entertainment library for personal viewing at your convenience. Easy to setup and even easier to use, this JS-series All-in-One includes an elegantly designed keyboard and a USB mouse.</p>",
"SeName": "build-your-own-computer",
"ProductPrice": {
"OldPrice": null,
"Price": "$1,200.00",
"DisableBuyButton": false,
"DisableWishlistButton": false,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000020_build-your-own-computer_100.jpeg",
"ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000020_build-your-own-computer_100.jpeg",
"FullSizeImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000020_build-your-own-computer.jpeg",
"Title": "Show details for Build your own computer",
"AlternateText": "Picture of Build your own computer",
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 1,
"RatingSum": 45,
"TotalReviews": 13,
"AllowCustomerReviews": true,
"CustomProperties": {}
},
"CustomerGuid": "6c6b37a8-e3f1-48e4-b0c6-45c3d5001dca",
"Message": null
}
],
"ValidationMessage": [],
"ErrorMessage": null
}