Request Parameters:


Get all return requests of customer.


URL: ../Api/Client/CustomerReturnRequests 


Header:

Content-Type:application/json


Required Parameters :  CustomerGUID,StoreId


Case-1. Exception Response :
Parameter:

{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

    "StoreId": ""

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Success Response :

Parameter:

{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

    "StoreId": "1"

}
Response :
{

    "Status": 1,

    "Message": "Success",

    "Data": {

        "Items": [

            {

                "CustomNumber": "3",

                "ReturnRequestStatus": "Pending",

                "ProductId": 25,

                "ProductName": "adidas Consortium Campus 80s Running Shoes",

                "ProductSeName": "adidas-consortium-campus-80s-running-shoes",

                "Quantity": 2,

                "ReturnReason": "There Was A Problem With The Product",

                "ReturnAction": "Replacement",

                "Comments": "gdfgdfgdfg",

                "UploadedFileGuid": "00000000-0000-0000-0000-000000000000",

                "CreatedOn": "2018-12-06T16:47:31.2428835+05:30",

                "Id": 3,

                "CustomProperties": {}

            },

            {

                "CustomNumber": "2",

                "ReturnRequestStatus": "Pending",

                "ProductId": 18,

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

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

                "Quantity": 1,

                "ReturnReason": "There Was A Problem With The Product",

                "ReturnAction": "Replacement",

                "Comments": "gdfgdfgdfg",

                "UploadedFileGuid": "00000000-0000-0000-0000-000000000000",

                "CreatedOn": "2018-12-06T16:46:36.8074941+05:30",

                "Id": 2,

                "CustomProperties": {}

            },

            {

                "CustomNumber": "1",

                "ReturnRequestStatus": "Pending",

                "ProductId": 18,

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

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

                "Quantity": 1,

                "ReturnReason": "There Was A Problem With The Product",

                "ReturnAction": "Replacement",

                "Comments": "Test Return request",

                "UploadedFileGuid": "00000000-0000-0000-0000-000000000000",

                "CreatedOn": "2018-12-06T16:09:58.0262566+05:30",

                "Id": 1,

                "CustomProperties": {}

            }

        ],

        "CustomProperties": {}

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}