Get Product By VendorId
Request Parameters:
Retrieve the list of product by category.
URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/GetProductByVendorId
Parameter:
{
"apiSecretKey":"k117x118z122r116t100e100r118j122",
"storeId": "2",
"languageId": "1",
"currencyId": "1",
"customerId": "1",
"categoryId":"1",
"vendorId":"1",
"CatalogPagingResponse":
{
"PageSize": "8",
"PageNumber": "1",
"OrderBy": "0"
}
}
[Note: If you are a guest customer pass CustomerId=0,then in response you will get your Guest CustomerId]
Response:
{
"GetProductByVendorIdResult": {
"Id": 0,
"Message": null,
"AlreadyFilteredItems": null,
"BlogEnabled": false,
"Categories": null,
"Description": null,
"FeaturedProducts": [],
"ForumEnabled": false,
"MetaDescription": null,
"MetaKeywords": null,
"MetaTitle": null,
"Name": null,
"NotFilteredItems": null,
"PagingFilteringContext": null,
"PictureModel": null,
"PriceRangeFilters": null,
"Products": [
{
"Id": 43,
"Message": null,
"DefaultPictureModel": {
"CustomProperties": [],
"AlternateText": "Picture of $25 Virtual Gift Card",
"FullSizeImageUrl": "http://localhost:15558/content/images/thumbs/0000074_25-virtual-gift-card.jpeg",
"ImageUrl": "http://localhost:15558/content/images/thumbs/0000074_25-virtual-gift-card_415.jpeg",
"Title": "Show details for $25 Virtual Gift Card"
},
"FullDescription": "<p>Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.</p>",
"Name": "$25 Virtual Gift Card",
"ProductPrice": {
"CustomProperties": [],
"AvailableForPreOrder": false,
"DisableBuyButton": false,
"DisableWishlistButton": false,
"DisplayTaxShippingInfo": false,
"ForceRedirectionAfterAddingToCart": false,
"IsRental": false,
"OldPrice": null,
"PreOrderAvailabilityStartDateTimeUtc": null,
"Price": "$25.00"
},
"ReviewOverviewModel": {
"CustomProperties": [],
"AllowCustomerReviews": true,
"ProductId": 43,
"RatingSum": 5,
"TotalReviews": 1
},
"SeName": "25-virtual-gift-card",
"ShortDescription": "$25 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products."
},
{
"Id": 45,
"Message": null,
"DefaultPictureModel": {
"CustomProperties": [],
"AlternateText": "Picture of $100 Physical Gift Card",
"FullSizeImageUrl": "http://localhost:15558/content/images/thumbs/0000076_100-physical-gift-card.jpeg",
"ImageUrl": "http://localhost:15558/content/images/thumbs/0000076_100-physical-gift-card_415.jpeg",
"Title": "Show details for $100 Physical Gift Card"
},
"FullDescription": "<p>Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.</p>",
"Name": "$100 Physical Gift Card",
"ProductPrice": {
"CustomProperties": [],
"AvailableForPreOrder": false,
"DisableBuyButton": false,
"DisableWishlistButton": false,
"DisplayTaxShippingInfo": false,
"ForceRedirectionAfterAddingToCart": false,
"IsRental": false,
"OldPrice": null,
"PreOrderAvailabilityStartDateTimeUtc": null,
"Price": "$100.00"
},
"ReviewOverviewModel": {
"CustomProperties": [],
"AllowCustomerReviews": true,
"ProductId": 45,
"RatingSum": 4,
"TotalReviews": 1
},
"SeName": "100-physical-gift-card",
"ShortDescription": "$100 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products."
}
],
"RecentlyAddedProductsEnabled": false,
"SeName": null,
"SpecificationFilter": null,
"Topics": null
}
}