Get Product By ManufacturerId
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": 3,
"HasNextPage": false,
"HasPreviousPage": true,
"LastItem": 2,
"PageIndex": 1,
"PageNumber": 2,
"PageSize": 2,
"TotalItems": 2,
"TotalPages": 1
},
"FeaturedProducts": [],
"Products": []
},
"ValidationMessage": [],
"ErrorMessage": null
}