Request Parameters:


For confirm the order


URL: ../Api/Client/ConfirmOrder


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

      "CurrencyId":"1",

        "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": {

        "TermsOfServiceOnOrderConfirmPage": false,

        "MinOrderTotalWarning": null,

        "Message": "Your order has been successfully processed!",

        "Id": 0,

        "Warnings": [],

        "CheckoutCompleteResponses": {

            "OrderId": 10,

            "OnePageCheckoutEnabled": true

        },

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

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}