Request Parameters:


Get manufacturer and their product list using manufacturerId.


URL: ../Api/Client/GetProductByManufacturerId


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": "",

       "CurrencyId": "",

          "ManufacturerId":"",

       "CatalogPagingResponse":

       {

               "PageSize": "3",

               "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",

          "ManufacturerId":"65",

       "CatalogPagingResponse":

       {

               "PageSize": "3",

               "PageNumber": "1",

               "OrderBy": "0"

          }

}

Response :
{

    "Status": 0,

    "Message": "Manufacturer not found.",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{

    "ApiSecretKey": "w105l97a105a105z107m104r107h119",

    "CustomerGUID": "cdceec37-25e7-454c-b187-bad17338f20a",

    "StoreId": "1",

    "CurrencyId": "1",

    "LanguageId": "1",

    "ManufacturerId": "1",

    "CatalogPagingResponse": {

        "PageSize": "2",

        "PageNumber": "2",

        "OrderBy": "0"

    }

}

Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "Id": 1,

        "Name": "Apple",

        "Description": null,

        "MetaKeywords": null,

        "MetaDescription": null,

        "MetaTitle": null,

        "SeName": "apple",

        "PictureModel": null,

        "PriceRangeFilters": [],

        "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": 56,

                "ProductType": "SimpleProduct",

                "Name": "Apple iMac (21.5\" Retina 4K display: 3.4GHz quad-core Intel Core i5, 8GB RAM, 1TB Fusion Drive) - Silver (Latest Model)",

                "ShortDescription": "21.5-inch (diagonal) 4096-by-2304 Retina 4K display\r\nStunning 5-mm-thin design\r\nSeventh-generation 3.4GHz dual-core Intel Core i5 processor\r\nRadeon Pro 555 or 560 graphics processor with up to 4GB video memory\r\nTwo Thunderbolt 3 (USB-C) ports\r\n802.11ac Wi-Fi\r\nMagic Mouse 2 and Magic Keyboard",

                "FullDescription": "<ul class=\"a-unordered-list a-vertical a-spacing-none\">\r\n<li><span class=\"a-list-item\">Renewed products look and work like new. These pre-owned products have been inspected and tested by Amazon-qualified suppliers, which typically perform a full diagnostic test, replacement of any defective parts, and a thorough cleaning process. Packaging and accessories may be generic. All products on Amazon Renewed come with a minimum 90-day supplier-backed warranty.</span></li>\r\n<li><span class=\"a-list-item\">Intel Iris Pro Graphics;2.7 GHz Quad-Core Intel Core i5 Processor (Turbo Boost up to 3.2 GHz) with 6MB L3 cache</span></li>\r\n<li><span class=\"a-list-item\">21.5-inch (Diagonal) LED-backlit Display with IPS Technology; 1920-by-1080 Resolution</span></li>\r\n<li><span class=\"a-list-item\">1TB Hard Drive, 8 GB (Two 4 GB) of 1600MHz DDR3 Memory</span></li>\r\n</ul>",

                "SeName": "apple-imac-215-27ghz-core-i5-me086lla-all-in-one-desktop",

                "ProductPrice": {

                    "OldPrice": "$660.00",

                    "Price": "$652.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/0000085_apple-imac-215-retina-4k-display-34ghz-quad-core-intel-core-i5-8gb-ram-1tb-fusion-drive-silver-lates_415.jpeg",

                    "ThumbImageUrl": "http://localhost:15536/images/thumbs/0000085_apple-imac-215-retina-4k-display-34ghz-quad-core-intel-core-i5-8gb-ram-1tb-fusion-drive-silver-lates_100.jpeg",

                    "FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000085_apple-imac-215-retina-4k-display-34ghz-quad-core-intel-core-i5-8gb-ram-1tb-fusion-drive-silver-lates.jpeg",

                    "Title": "Show details for Apple iMac (21.5\" Retina 4K display: 3.4GHz quad-core Intel Core i5, 8GB RAM, 1TB Fusion Drive) - Silver (Latest Model)",

                    "AlternateText": "Picture of Apple iMac (21.5\" Retina 4K display: 3.4GHz quad-core Intel Core i5, 8GB RAM, 1TB Fusion Drive) - Silver (Latest Model)",

                    "Form": null,

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 56,

                    "RatingSum": 0,

                    "TotalReviews": 0,

                    "AllowCustomerReviews": true,

                    "Form": null,

                    "CustomProperties": {}

                },

                "CustomerGuid": "cdceec37-25e7-454c-b187-bad17338f20a",

                "Message": null

            },

            {

                "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

            }

        ]

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}