Get Product By VendorId
Request Parameters:
Retrieve the list of product by category.
URL: ../Api/Client/GetProductByVendorId
Header:
Content-Type:application/json
Required Parameters :
[Note: 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": "1",
"LanguageId": "1",
"CurrencyId": "",
"CategoryId":"",
"VendorId":"1",
"CatalogPagingResponse":
{
"PageSize": "8",
"PageNumber": "1",
"OrderBy": "0"
}
}
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": "1",
"LanguageId": "1",
"CurrencyId": "1",
"CategoryId":"60",
"VendorId":"1",
"CatalogPagingResponse":
{
"PageSize": "8",
"PageNumber": "1",
"OrderBy": "0"
}
}
Response :
{
"Status": 0,
"Message": "Category is empty or deleted",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-3. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId": "1",
"CurrencyId": "1",
"CategoryId":"3",
"VendorId":"1",
"CatalogPagingResponse":
{
"PageSize": "8",
"PageNumber": "1",
"OrderBy": "0"
}
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Categories": null,
"Topics": null,
"BlogEnabled": false,
"RecentlyAddedProductsEnabled": false,
"ForumEnabled": false,
"Name": null,
"Description": null,
"MetaKeywords": null,
"MetaDescription": null,
"MetaTitle": null,
"SeName": null,
"PictureModel": null,
"PagingFilteringContext": {
"AllowProductSorting": true,
"AvailableSortOptions": [
{
"Disabled": false,
"Group": null,
"Selected": true,
"Text": "Position",
"Value": "0"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Name: A to Z",
"Value": "5"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Name: Z to A",
"Value": "6"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Price: Low to High",
"Value": "10"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Price: High to Low",
"Value": "11"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Created on",
"Value": "15"
}
],
"AllowProductViewModeChanging": false,
"AvailableViewModes": null,
"AllowCustomersToSelectPageSize": false,
"PageSizeOptions": null,
"OrderBy": 0,
"ViewMode": null,
"FirstItem": 1,
"HasNextPage": false,
"HasPreviousPage": false,
"LastItem": 1,
"PageIndex": 0,
"PageNumber": 1,
"PageSize": 2,
"TotalItems": 1,
"TotalPages": 1
},
"FeaturedProducts": null,
"Products": [
{
"Id": 64,
"ProductType": "SimpleProduct",
"Name": "Apple MacBook Air (13\", 1.8GHz dual-core Intel Core i5, 8GB RAM, 128GB SSD) - Silver",
"ShortDescription": "1.8 GHz Dual-core Intel Core i5 processor",
"FullDescription": "<p> Intel HD Graphics 6000<br />Fast SSD storage<br />8GB memory<br />Two USB 3 ports.Frequency: 50Hz to 60Hz<br />Thunderbolt 2 port<br />SDXC port</p>",
"SeName": "apple-macbook-air-13-18ghz-dual-core-intel-core-i5-8gb-ram-128gb-ssd-silver",
"ProductPrice": {
"OldPrice": "$902.00",
"Price": "$899.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/0000093_apple-macbook-air-13-18ghz-dual-core-intel-core-i5-8gb-ram-128gb-ssd-silver_415.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000093_apple-macbook-air-13-18ghz-dual-core-intel-core-i5-8gb-ram-128gb-ssd-silver_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000093_apple-macbook-air-13-18ghz-dual-core-intel-core-i5-8gb-ram-128gb-ssd-silver.jpeg",
"Title": "Show details for Apple MacBook Air (13\", 1.8GHz dual-core Intel Core i5, 8GB RAM, 128GB SSD) - Silver",
"AlternateText": "Picture of Apple MacBook Air (13\", 1.8GHz dual-core Intel Core i5, 8GB RAM, 128GB SSD) - Silver",
"Form": null,
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 64,
"RatingSum": 0,
"TotalReviews": 0,
"AllowCustomerReviews": true,
"Form": null,
"CustomProperties": {}
},
"CustomerGuid": "cdceec37-25e7-454c-b187-bad17338f20a",
"Message": null
},
{
"Id": 65,
"ProductType": "SimpleProduct",
"Name": "Acer Aspire 1 A114-32-C1YA, 14\" Full HD, Intel Celeron N4000, 4GB DDR4, 64GB eMMC, Office 365 Personal, Windows 10 Home in S Mode",
"ShortDescription": "Intel Celeron N4000 Dual-Core Processor (Up to 2.6GHz)\r\n14\" Full HD (1920 x 1080) Widescreen LED-backlit Display\r\n4GB DDR4 SDRAM Onboard Memory & 64GB eMMC\r\nMicrosoft Office 365 Personal 1-Year Subscription & Windows 10 Home in S mode\r\nUp to 6.5 Hours Battery Life",
"FullDescription": "<p>Acer Aspire 1 A114-32-C1YA comes with these high level specs: Intel Celeron N4000 Dual-Core Processor 1.1GHz with Intel Burst Technology up to 2.6GHz (4MB L2 cache), Windows 10 Home in S mode, Microsoft Office 365 Personal 1-Year Subscription, 14\" Full HD (1920 x 1080) widescreen LED-backlit display, Intel UHD Graphics 600, 4GB DDR4 SDRAM Onboard Memory, 64GB eMMC, Secure Digital (SD) card reader, High-Definition Audio Support, Two Built-in Stereo Speakers, 802.11ac WiFi (Dual-Band 2.4GHz and 5GHz), Bluetooth 4.1, 10/100/1000 Gigabit Ethernet LAN (RJ-45 port), Webcam (640 x 480), 1 - USB 3.0 port, 2 - USB 2.0 ports, 1 - HDMI out with HDCP support, 1 - Ethernet (RJ-45) Port, 2-cell Li-Ion Battery (4810 mAh), Up to 6.5-hours Battery Life, 3.64 lbs. | 1.65 kg (system unit only) (NX.GVZAA.003). Do not expose the computer to direct sunlight.Do not place it near sources of heat, such as a radiator</p>",
"SeName": "acer-aspire-1-a114-32-c1ya-14-full-hd-intel-celeron-n4000-4gb-ddr4-64gb-emmc-office-365-personal-windows-10-home-in-s-mode",
"ProductPrice": {
"OldPrice": "$303.00",
"Price": "$249.90",
"DisableBuyButton": false,
"DisableWishlistButton": false,
"AvailableForPreOrder": false,
"PreOrderAvailabilityStartDateTimeUtc": null,
"IsRental": false,
"ForceRedirectionAfterAddingToCart": false,
"DisplayTaxShippingInfo": false,
"Form": null,
"CustomProperties": {}
},
"DefaultPictureModel": {
"ImageUrl": "http://localhost:15536/images/thumbs/0000094_acer-aspire-1-a114-32-c1ya-14-full-hd-intel-celeron-n4000-4gb-ddr4-64gb-emmc-office-365-personal-win_415.jpeg",
"ThumbImageUrl": "http://localhost:15536/images/thumbs/0000094_acer-aspire-1-a114-32-c1ya-14-full-hd-intel-celeron-n4000-4gb-ddr4-64gb-emmc-office-365-personal-win_100.jpeg",
"FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000094_acer-aspire-1-a114-32-c1ya-14-full-hd-intel-celeron-n4000-4gb-ddr4-64gb-emmc-office-365-personal-win.jpeg",
"Title": "Show details for Acer Aspire 1 A114-32-C1YA, 14\" Full HD, Intel Celeron N4000, 4GB DDR4, 64GB eMMC, Office 365 Personal, Windows 10 Home in S Mode",
"AlternateText": "Picture of Acer Aspire 1 A114-32-C1YA, 14\" Full HD, Intel Celeron N4000, 4GB DDR4, 64GB eMMC, Office 365 Personal, Windows 10 Home in S Mode",
"Form": null,
"CustomProperties": {}
},
"ReviewOverviewModel": {
"ProductId": 65,
"RatingSum": 0,
"TotalReviews": 0,
"AllowCustomerReviews": true,
"Form": null,
"CustomProperties": {}
},
"CustomerGuid": "cdceec37-25e7-454c-b187-bad17338f20a",
"Message": null
}
],
"SpecificationFilter": null,
"PriceRangeFilters": null,
"AlreadyFilteredItems": null,
"NotFilteredItems": null,
"CustomerGuid": "cdceec37-25e7-454c-b187-bad17338f20a",
"Message": null
},
"ValidationMessage": [],
"ErrorMessage": null
}