Request Parameters:


Retrieve the order summary


URL: ../Api/Client/OrderSummary


Header:

Content-Type:application/json


Required Parameters :  


[Note: For Guest_customers as we get the CustomerGUID after add the product into the cart from that CustomerGUID get the CustomerGUID and pass that CustomerGUID in to the parameter. ]


Case-1. Exception Respons  :
Parameter:
{

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

      "StoreId": "1",

       "CurrencyId":"",

       "LanguageId":"1"

}

Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}



Case-2. Success Respons  :
Parameter:
{

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

      "StoreId": "1",

"CurrencyId":"1",

       "LanguageId":"1"

}

Response :

{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "OnePageCheckoutEnabled": true,

        "ShowSku": true,

        "ShowProductImages": true,

        "IsEditable": true,

        "Items": [

            {

                "Id": 12,

                "Sku": "M8_HTC_5L",

                "Picture": {

                    "ImageUrl": "http://localhost:15536/images/thumbs/0000041_htc-one-m8-android-l-50-lollipop_80.jpeg",

                    "ThumbImageUrl": null,

                    "FullSizeImageUrl": null,

                    "Title": "Show details for HTC One M8 Android L 5.0 Lollipop",

                    "AlternateText": "Picture of HTC One M8 Android L 5.0 Lollipop",

                    "CustomProperties": {}

                },

                "ProductId": 18,

                "ProductName": "HTC One M8 Android L 5.0 Lollipop",

                "ProductSeName": "htc-one-m8-android-l-50-lollipop",

                "UnitPrice": "$245.00",

                "SubTotal": "$245.00",

                "Discount": null,

                "Quantity": 1,

                "AllowedQuantities": [],

                "AttributeInfo": "",

                "RecurringInfo": null,

                "AllowItemEditing": false,

                "Warnings": []

            }

        ],

        "CheckoutAttributeInfo": "",

        "CheckoutAttributes": [

            {

                "Id": 1,

                "Name": "Gift wrapping",

                "DefaultValue": null,

                "TextPrompt": null,

                "IsRequired": true,

                "SelectedDay": null,

                "SelectedMonth": null,

                "SelectedYear": null,

                "AllowedFileExtensions": null,

                "AttributeControlType": 1,

                "Values": [

                    {

                        "Id": 1,

                        "Name": "No",

                        "ColorSquaresRgb": null,

                        "PriceAdjustment": null,

                        "IsPreSelected": true

                    },

                    {

                        "Id": 2,

                        "Name": "Yes",

                        "ColorSquaresRgb": null,

                        "PriceAdjustment": "+$10.00",

                        "IsPreSelected": false

                    }

                ]

            }

        ],

        "Warnings": [],

        "MinOrderSubtotalWarning": null,

        "TermsOfServiceOnShoppingCartPage": true,

        "TermsOfServiceOnOrderConfirmPage": false,

        "DiscountBox": {

            "Display": true,

            "Message": null,

            "CurrentCode": null

        },

        "GiftCardBox": {

            "Display": true,

            "Message": null

        },

        "OrderReviewData": {

            "Display": true,

            "BillingAddress": {

                "FirstName": "John",

                "LastName": "Smith",

                "Email": "admin@yourStore.com",

                "CompanyEnabled": true,

                "CompanyRequired": false,

                "Company": "Nop Solutions Ltd",

                "CountryEnabled": true,

                "CountryId": 1,

                "CountryName": "United States",

                "StateProvinceEnabled": true,

                "StateProvinceId": 16,

                "StateProvinceName": "New York",

                "CountyEnabled": false,

                "CountyRequired": false,

                "County": null,

                "CityEnabled": true,

                "CityRequired": true,

                "City": "New York",

                "StreetAddressEnabled": true,

                "StreetAddressRequired": true,

                "Address1": "21 West 52nd Street",

                "StreetAddress2Enabled": true,

                "StreetAddress2Required": false,

                "Address2": "",

                "ZipPostalCodeEnabled": true,

                "ZipPostalCodeRequired": true,

                "ZipPostalCode": "10021",

                "PhoneEnabled": true,

                "PhoneRequired": true,

                "PhoneNumber": "12345678",

                "FaxEnabled": true,

                "FaxRequired": false,

                "FaxNumber": "",

                "AvailableCountries": [],

                "AvailableStates": [],

                "FormattedCustomAddressAttributes": "",

                "CustomAddressAttributes": [],

                "Id": 1,

                "CustomProperties": {}

            },

            "IsShippable": true,

            "ShippingAddress": {

                "FirstName": "John",

                "LastName": "Smith",

                "Email": "admin@yourStore.com",

                "CompanyEnabled": true,

                "CompanyRequired": false,

                "Company": "Nop Solutions Ltd",

                "CountryEnabled": true,

                "CountryId": 1,

                "CountryName": "United States",

                "StateProvinceEnabled": true,

                "StateProvinceId": 16,

                "StateProvinceName": "New York",

                "CountyEnabled": false,

                "CountyRequired": false,

                "County": null,

                "CityEnabled": true,

                "CityRequired": true,

                "City": "New York",

                "StreetAddressEnabled": true,

                "StreetAddressRequired": true,

                "Address1": "21 West 52nd Street",

                "StreetAddress2Enabled": true,

                "StreetAddress2Required": false,

                "Address2": "",

                "ZipPostalCodeEnabled": true,

                "ZipPostalCodeRequired": true,

                "ZipPostalCode": "10021",

                "PhoneEnabled": true,

                "PhoneRequired": true,

                "PhoneNumber": "12345678",

                "FaxEnabled": true,

                "FaxRequired": false,

                "FaxNumber": "",

                "AvailableCountries": [],

                "AvailableStates": [],

                "FormattedCustomAddressAttributes": "",

                "CustomAddressAttributes": [],

                "Id": 1,

                "CustomProperties": {}

            },

            "SelectedPickUpInStore": false,

            "ShippingMethod": null,

            "PaymentMethod": ""

        },

        "SubTotal": "$245.00",

        "SubTotalDiscount": null,

        "AllowRemovingSubTotalDiscount": false,

        "Shipping": "$0.00",

        "RequiresShipping": true,

        "SelectedShippingMethod": null,

        "PaymentMethodAdditionalFee": null,

        "Tax": "$0.00",

        "TaxRates": [

            {

                "Rate": "0",

                "Value": "$0.00"

            }

        ],

        "DisplayTax": true,

        "DisplayTaxRates": false,

        "GiftCards": [],

        "OrderTotalDiscount": null,

        "AllowRemovingOrderTotalDiscount": false,

        "RedeemedRewardPoints": 0,

        "RedeemedRewardPointsAmount": null,

        "OrderTotal": "$245.00",

        "CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",

        "Message": null

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}