Request Parameters:


User can see product detail


URL: ../Api/Client/ProductDetail


Header:

Content-Type:application/json


Required Parameters : PorductId


[Note: Additionally added ProductType parameter in response for this method and other related product methods.]

  • If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000" ,then in response you will get your Guest CustomerGUId
  • For Edit product from Cart, pass cart item id in UpdateCartItemId parameter. This will load selected attributes in product detail page.
  • If product has a control type Image Squares then product in attribute value list PictureUrl represent Image square picture and FullSizePictureUrl represent default selected picture for the attribute value.
  • UpdateCartItemId This Id either of shopping cart or wish list item id. Pass this id to get product details with preselected attribute of shopping cart and wish list.


Case-1. Exception parameters :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

      "CustomerGUID":"F1F13527-BA8E-4C5A-ACA2-9EC3D78B3FF4",

       "StoreId":"",

       "LanguageId":"",

       "CurrencyId":"",

       "ProductId":"",

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

       "ProductId":"500",

       "UpdateCartItemId":0

}
Response :
{

    "Status": 0,

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

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

      "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

       "StoreId":"1",

       "LanguageId":"1",

       "CurrencyId":"1",

       "ProductId":"1",

       "UpdateCartItemId":0

}
Response :
{

    "Status": 1,

    "Message": "Success",

    "Data": {

        "Id": 2,

        "ProductType": "SimpleProduct",

        "DefaultPictureZoomEnabled": false,

        "DefaultPictureModel": {

            "ImageUrl": "https://localhost:44369/images/thumbs/0000022_digital-storm-vanquish-3-custom-performance-pc_550.jpeg",

            "ThumbImageUrl": null,

            "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000022_digital-storm-vanquish-3-custom-performance-pc.jpeg",

            "Title": "Picture of Digital Storm VANQUISH 3 Custom Performance PC",

            "AlternateText": "Picture of Digital Storm VANQUISH 3 Custom Performance PC",

            "CustomProperties": {}

        },

        "PictureModels": [

            {

                "ImageUrl": "https://localhost:44369/images/thumbs/0000022_digital-storm-vanquish-3-custom-performance-pc_550.jpeg",

                "ThumbImageUrl": "https://localhost:44369/images/thumbs/0000022_digital-storm-vanquish-3-custom-performance-pc_100.jpeg",

                "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000022_digital-storm-vanquish-3-custom-performance-pc.jpeg",

                "Title": "Picture of Digital Storm VANQUISH 3 Custom Performance PC",

                "AlternateText": "Picture of Digital Storm VANQUISH 3 Custom Performance PC",

                "CustomProperties": {}

            }

        ],

        "Name": "Digital Storm VANQUISH 3 Custom Performance PC",

        "ShortDescription": "Digital Storm Vanquish 3 Desktop PC",

        "FullDescription": "<p>Blow the doors off today‚Äôs most demanding games with maximum detail, speed, and power for an immersive gaming experience without breaking the bank.</p><p>Stay ahead of the competition, VANQUISH 3 is fully equipped to easily handle future upgrades, keeping your system on the cutting edge for years to come.</p><p>Each system is put through an extensive stress test, ensuring you experience zero bottlenecks and get the maximum performance from your hardware.</p>",

        "ProductTemplateViewPath": null,

        "MetaKeywords": null,

        "MetaDescription": "Digital Storm Vanquish 3 Desktop PC",

        "MetaTitle": null,

        "SeName": "digital-storm-vanquish-3-custom-performance-pc",

        "ShowSku": true,

        "Sku": "DS_VA3_PC",

        "ShowManufacturerPartNumber": false,

        "ManufacturerPartNumber": null,

        "ShowGtin": false,

        "Gtin": null,

        "ShowVendor": false,

        "VendorModel": null,

        "HasSampleDownload": false,

        "GiftCard": {

            "IsGiftCard": false,

            "RecipientName": null,

            "RecipientEmail": null,

            "SenderName": null,

            "SenderEmail": null,

            "Message": null,

            "GiftCardType": 0,

            "CustomProperties": {}

        },

        "IsShipEnabled": true,

        "IsFreeShipping": false,

        "FreeShippingNotificationEnabled": true,

        "DeliveryDate": null,

        "IsRental": false,

        "RentalStartDate": null,

        "RentalEndDate": null,

        "StockAvailability": "In stock",

        "DisplayBackInStockSubscription": false,

        "BackInStockSubscribeResponseModel": {

            "PopupTitle": "Notify me when available",

            "AlreadySubscribed": false,

            "SubscriptionAllowed": false,

            "BackInStockMessage": "Receive an email when this arrives in stock",

            "BackInStockDescription": "Subscriptions are not allowed for this product"

        },

        "EmailAFriendEnabled": true,

        "CompareProductsEnabled": true,

        "PageShareCode": "<!-- AddThis Button BEGIN --><div class=\"addthis_toolbox addthis_default_style \"><a class=\"addthis_button_preferred_1\"></a><a class=\"addthis_button_preferred_2\"></a><a class=\"addthis_button_preferred_3\"></a><a class=\"addthis_button_preferred_4\"></a><a class=\"addthis_button_compact\"></a><a class=\"addthis_counter addthis_bubble_style\"></a></div><script src=\"https://s7.addthis.com/js/250/addthis_widget.js#pubid=nopsolutions\"></script><!-- AddThis Button END -->",

        "ProductPrice": {

            "CurrencyCode": "USD",

            "OldPrice": null,

            "Price": "$1,259.00",

            "PriceWithDiscount": null,

            "PriceValue": 1259,

            "PriceWithDiscountValue": 1259,

            "CustomerEntersPrice": false,

            "CallForPrice": false,

            "ProductId": 2,

            "HidePrices": false,

            "IsRental": false,

            "RentalPrice": null,

            "DisplayTaxShippingInfo": false,

            "CustomProperties": {}

        },

        "AddToCart": {

            "ProductId": 2,

            "EnteredQuantity": 1,

            "CustomerEntersPrice": false,

            "CustomerEnteredPrice": 0,

            "CustomerEnteredPriceRange": null,

            "DisableBuyButton": false,

            "DisableWishlistButton": false,

            "AllowedQuantities": [],

            "IsRental": false,

            "AvailableForPreOrder": false,

            "PreOrderAvailabilityStartDateTimeUtc": null,

            "UpdatedShoppingCartItemId": 0,

            "MinimumQuantityNotification": null,

            "CustomProperties": {}

        },

        "Breadcrumb": {

            "Enabled": true,

            "ProductId": 2,

            "ProductName": "Digital Storm VANQUISH 3 Custom Performance PC",

            "ProductSeName": "digital-storm-vanquish-3-custom-performance-pc",

            "CategoryBreadcrumb": [

                {

                    "Name": "Desktops",

                    "SeName": "desktops",

                    "NumberOfProducts": null,

                    "IncludeInTopMenu": true,

                    "SubCategories": [],

                    "HaveSubCategories": false,

                    "Route": null,

                    "Id": 2,

                    "CustomProperties": {}

                }

            ],

            "CustomProperties": {}

        },

        "ProductTags": [

            {

                "Name": "computer",

                "SeName": "computer",

                "ProductCount": 14,

                "Id": 2,

                "CustomProperties": {}

            },

            {

                "Name": "cool",

                "SeName": "cool",

                "ProductCount": 17,

                "Id": 3,

                "CustomProperties": {}

            }

        ],

        "ProductAttributes": [],

        "ProductSpecifications": {

            "Groups": [

                {

                    "Name": null,

                    "Attributes": [],

                    "Id": 0,

                    "CustomProperties": {}

                }

            ],

            "CustomProperties": {}

        },

        "ProductManufacturers": [],

        "ProductReviewOverview": {

            "ProductId": 2,

            "RatingSum": 0,

            "TotalReviews": 0,

            "AllowCustomerReviews": true,

            "CanAddNewReview": false,

            "CustomProperties": {}

        },

        "TierPrices": null,

        "AssociatedProducts": null,

        "DisplayDiscontinuedMessage": false,

        "CurrentStoreName": "Your store name",

        "CustomerGuid": "3dd4e964-5a98-4482-97c9-3f4f89dfd7c4",

        "Message": null

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}