Request Parameters:


User can see  "customers who bought this item also bought".


URL: ../Api/Client/ProductAlsoPurchased


Header:

Content-Type:application/json


Required Parameters : PorductId, StoreId


Case-1. Exception parameters :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "ProductId":"",

    "StoreId": "",

    "CurrencyId":"1",

    "LanguageId":"1",

    "ProductThumbPictureSize":null

     

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Incorrect parameters :        
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "ProductId":"1",

    "StoreId": "1",

    "CurrencyId":"1",

    "LanguageId":"1",

    "ProductThumbPictureSize":null

     

}
Response :
{

    "Status": 0,

    "Message": "No product found with id : 1",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "ProductId":"18",

    "StoreId": "0",

    "CurrencyId":"1",

    "LanguageId":"1",

    "ProductThumbPictureSize":null

     

}
Response :

{

    "Status": 1,

    "Message": "Success.",

    "Data": [

        {

            "Id": 23,

            "ProductType": "SimpleProduct",

            "Name": "Portable Sound Speakers",

            "ShortDescription": "Universall portable sound speakers",

            "FullDescription": "<p>Your phone cut the cord, now it's time for you to set your music free and buy a Bluetooth speaker. Thankfully, there's one suited for everyone out there.</p><p>Some Bluetooth speakers excel at packing in as much functionality as the unit can handle while keeping the price down. Other speakers shuck excess functionality in favor of premium build materials instead. Whatever path you choose to go down, you'll be greeted with many options to suit your personal tastes.</p>",

            "SeName": "portable-sound-speakers",

            "ProductPrice": {

                "OldPrice": null,

                "Price": "$37.00",

                "DisableBuyButton": false,

                "DisableWishlistButton": false,

                "AvailableForPreOrder": false,

                "PreOrderAvailabilityStartDateTimeUtc": null,

                "IsRental": false,

                "ForceRedirectionAfterAddingToCart": false,

                "DisplayTaxShippingInfo": false,

                "CustomProperties": {}

            },

            "DefaultPictureModel": {

                "ImageUrl": "http://localhost:15536/images/thumbs/0000048_portable-sound-speakers_415.jpeg",

                "ThumbImageUrl": "http://localhost:15536/images/thumbs/0000048_portable-sound-speakers_100.jpeg",

                "FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000048_portable-sound-speakers.jpeg",

                "Title": "Show details for Portable Sound Speakers",

                "AlternateText": "Picture of Portable Sound Speakers",

                "CustomProperties": {}

            },

            "ReviewOverviewModel": {

                "ProductId": 23,

                "RatingSum": 0,

                "TotalReviews": 0,

                "AllowCustomerReviews": true,

                "CustomProperties": {}

            },

            "CustomerGuid": "88ea2fb7-6535-4541-b7c8-b16ae874cc74",

            "Message": null

        }

    ],

    "ValidationMessage": [],

    "ErrorMessage": null

}