List Customer Transaction History

Service URL: GET /customers/transactions

Request Parameters:

Response Body: ICustomerTransactionSearchResponse

  • customerTransactionList – ICustomerTransactionList – this contains a list of ‘CustomerTransactionListElement’

Remarks:

List of the transaction associated with the customer 

Example Request:

GET http://localhost:8080/WebRestApi/rest/customers/transactions

Example Response:

{
    "customerTransactionList": [
        {
            "customerNumber": "1",
            "applicationId": "POS",
            "transactionId": "00010001000062008281556502",
            "transactionTypeId": "Sale",
            "locationId": "0001",
            "transactionDate": 1598627791000,
            "value": 12780,
            "description": "Women's Dresses",
            "loyaltyPoints": 0
        },
        {
            "customerNumber": "1",
            "applicationId": "POS",
            "transactionId": "00010001000052008281555563",
            "transactionTypeId": "Sale",
            "locationId": "0001",
            "transactionDate": 1598626606000,
            "value": 17040,
            "description": "Women's Dresses",
            "loyaltyPoints": 0
        },
        {
            "customerNumber": "1",
            "applicationId": "POS",
            "transactionId": "00010001000042008271257173",
            "transactionTypeId": "Sale",
            "locationId": "0001",
            "transactionDate": 1598529760000,
            "value": 8520,
            "description": "Women's Dresses",
            "loyaltyPoints": 0
        },
        {
            "customerNumber": "1",
            "applicationId": "POS",
            "transactionId": "00010001000032008271252408",
            "transactionTypeId": "Sale",
            "locationId": "0001",
            "transactionDate": 1598529434000,
            "value": 8520,
            "description": "Women's Dresses",
            "loyaltyPoints": 0
        }
    ]
}
Go to Top