Request Parameters:


Retrieve the information of customer.


URL: ../Api/Client/Info


Header:

Content-Type:application/json


Required Parameters :  CustomerGUID


Case-1. Validating parameters :
Parameter:

{    

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "CustomerGUID":""

}


Response :
{

    "Status": 2,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Incorrect parameters :
Parameter:
{    

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

}


Response :
{

    "Status": 0,

    "Message": "No customer found with id f1f13527-ba8e-4c5a-aca2-9ec3d78b3ff4",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success response :

Parameter:
{    

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

}


Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "Gender": null,

        "FirstName": "John",

        "LastName": "Smith",

        "DateOfBirth": null,

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

        "CompanyName": null,

        "Phone": null,

        "AvatarPictureUrl": "http://localhost:15536/images/default-image.png"

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}